• Hi I’m new to WordPress and css though have been doing html for some time. I have a page that was done in Dreamweaver as html. I would like to keep this same site page (not currently active) as my home page in a blog. Is there a simple way to do this or will I have to try and rebuild the complete page in css which I know very little about but have been trying to read up on it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • html and css do not do the same thing. You cannot rebuild an html page in css.

    html is a markup language used to specify the content of a page.

    css is a stylesheet language used to style and position that content.

    Your page made in dreamweaver almost certainly uses html and css but as you made it in a wysiwyg editor the program did all the coding for you – most likely adding a load of useless bulk code along the way.

    If you wish to have a page you made into a wordpress blog it will pretty much need rebuilding from scratch in the form of a wordpress theme. The minimum files required for a wordpress theme is an index.php file and a style.css file.

    .php files can contain html but also contains php code that is executed and used to retrieve your blog contents and output it as html.

    I suggest you first learn the basics of html and css before attempting to make a theme file. here is a good place to start.

    Then consult the codex for info on how to create your own wordpress theme

    Dreamweaver supports utilising CSS, why didn’t you tackle this problem when you were writing the code…

    Updated versions of Dreamweaver do alot of CSS as standard now, so i’m guessing you’re on a slightly older version.

    Move the styling into CSS in dreamweaver, once it’s all looking how you want (using CSS), move the code across, along with the CSS..

    If it’s not a huge page, i can proberly convert the code to a CSS friendly version for you, just post it inside a pastebin and post the link.

    http://wordpress.pastebin.com/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘HTML to CSS’ is closed to new replies.