Jump to content

<Div> tag layout issues in Dreamweaver


MarkAbrams
 Share

Recommended Posts

I am trying to create a tableless page layout using only div tags with relative positioning. As per http://www.csscreator.comDreamweaver's WYSIWYG editor chokes on the layout. However the final page looks great in the browser. Is there a fix for the DW editor? Is there a better way to do this ? I do not want to use absolute positioning for this application. TIAMark

Link to comment
Share on other sites

A WUSIWYG editor can never be close to relative positioning. Everything always varies afterall. I happen to have made a page that looks almost perfectly in Dreamwaver though. The reason is that it's a strict page. Therefore if it doesn't look good in dreamwaver it doesn't look good anywhere. The way I fixed it was described in http://www.quirksmode.com. Just add "overflow: hidden" and "height: 100%" to all floated DIVs.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...