Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Pubcon Platinum Sponsor 2014
Dreamweaver and Div tags. Can this be turned on/off? Hawkgirl msg:939334 2:37 pm on Jul 3, 2002 (gmt 0) I'm not a Dreamweaver user ... something about the program makes me go cross-eyed and I've never been able to get past it to actually learn the program. (Call it an IQ test and consider me a dunce.)
Anyway - my designer uses Dreamweaver to do most of his layout and coding, and then I typically fix his code by hand (old school!).
Is there a way for him to turn off the DIV tags in Dreamweaver? He can't seem to figure it out. The program puts them everywhere and I like to have our pages clean of them - they're such a nuisance.
agerhart msg:939335 2:49 pm on Jul 3, 2002 (gmt 0)
I know your pain....they are an extreme nuisance, as Dreamweaver puts them everywhere.
You can use the "clean HTML code" command in Dreamweaver, or you can do it manually. You can also have all of the DIV tags stripped from the code. Aside from these options, I am not sure of an easier way.
pageoneresults msg:939336 3:12 pm on Jul 3, 2002 (gmt 0)
If your designer is using any kind of positioning, I believe the <div> tags are necessary.
FP gives me the option to check or uncheck use <div> and <span> tags when positioning.
john316 msg:939337 3:17 pm on Jul 3, 2002 (gmt 0)
In preferences (html format) you can select "use DIV tag" or "use CENTER tag". 4eyes msg:939338 4:11 pm on Jul 3, 2002 (gmt 0)
If you mean the positioning layer div tags, you can convert them to tables (retrograde step IMO).
Alternatively, you there is an extension available that turns all your in-line positioning styles into nice CSS in the head, which can then be dumped into an external css file.
Hawkgirl msg:939339 10:12 pm on Jul 3, 2002 (gmt 0)
Great! Grand. Fabulous suggestions. Since DIV tags look wonky with some browsers I don't use them at all ... if it can't be designed without a DIV tag, for our purposes it shouldn't be designed at all.