Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Layout Question for mx 2004

Status
Not open for further replies.

Blueman2

Technical User
Aug 5, 2008
27
US
I have used tables previously and want to move on to css. My version of Dreamweaver 2004mx offers the possibility of using Layers (vial the insert Bar) or inserting DIVS. Although they appear easy to place and use (and I realize they are almost the same thing), it's my understanding that most people have moved away from inserting layers. I just wanted to know:

Should I forget about layers entirely and go directly to inserting DIVS?

If I do ""Insert Layers" is there a way to convert them to true DIVS?

Please confirm my understanding that in order to have full control over DIVS, I must first create the DIV by inserting and then create a Style in the external style sheet using the name of the DIV witrh a # in front or is there another way that Dreamweaver 2004mx can recognizes the DIV I created as a style giving me a headstart as CS3 apparently does?
Thanks
 
Hey PostBlueman2
In short it is the difference between 'Div tag' and 'AP Div' in only in the DW world. AP Div is what DW used to have in older version as something you can click-insert-drag while the css properites are being generated for you. This is very good tool if you are not too comfortable with CSS and it is a quick and dirty way of getting some css code produced without questioning it or learning it.
However, its pitfall is that people can abuse the WYSIWYG and end up with mess of nested layers (divs) and later down the line struggle to get a page that is cross-browser compatible and ton of unnecessary code.

On the other hand Div tag assumes that you will handle css manually and will build it by hand...it doesn't matter if the css is external or embedded it is the same end result although I would suggest to keep the html and css seprated...it is much cleaner code and easier to update down the line.
About difference of '#somename' and '.somename' see Personally I prefer other CSS editors (TopStyle) over build it rendering that DW provides.

All the best!

:-------------------------------------:
Do the DW »|MostarNetworks|
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top