Quick Dreamweaver Question

Soldato
Joined
20 Jul 2008
Posts
4,583
Just moved from FrontPage to Dreamweaver.

I'm trying to reformat the entire website using the CSS Styles as Dreamweaver is completely alien to me. I don't understand why you can't just select text and change the font/align/colour etc.

Anyhow, so I've got my CSS file and it's all working fine but it's still a pain in the backside having to go through the code and removing all the old references. What I've been doing is cutting the text from a page, pasting it unformatted and applying the styles but I'm still having problems with aligning and some text coming out bold. It's infuriating!

Is there a simple command that will strip out EVERYTHING to do with formatting? So far I just replace everything in the code to <p class> as anything else causes trouble.

I'm by no means an expert at this sort of thing (hence why I used Frontpage)

Cheers
 
Thanks for the replies. Sorry for the delay in getting back been busy with Uni work.

you can just change stuff by clicking on it, however in 2011 it is regarded as bad practice. Using css means that one change to the css file will alter everything on the site that uses that css. On a multi page site, changing things by hand is so unwieldy it's untrue. Frontpage produces some bad code, however so can dreamweaver. I'd be inclined to point you towards a cms of some sort, like say Wordpress, because it will save you a considerable amount of time as you go on. On maybe something that is hosted so you can just do the changes and the platform will do the rest. If you aren't that good with html and css and other technologies you could be in for a steep learning curve!

Does this mean if I alter the font/font size etc anywhere then it will change it across the entire site.

So far I've got 3 classes: Heading, sub heading and body text in my CSS file.

If I changed the font of say, body text, on a particular page will it apply the same change to every single page which is linked to the CSS file (hopefully yes)
 
Back
Top Bottom