When using the Two Column Fixed Width w/ Header & Footer Starter Page provided in the dreamweaver startup page I am having trouble formatting the sidebar element. Even when starting a new starter page with no other code to interfere I am having trouble getting the elements in the sidebar to align to the top. There is always about 30 or so pixels of space from the top which buffers the elements I have placed inside the sidebar div. Seemingly, I have tried to adjust any of the elemnents pertaining to aligning top but even if I set every definition on the page to align top, there is always extra spacing on the page.
How can I adjust the spacing in the sidebar element to allow elemnts to align top?
This only occurs in IE. It's caused by padding in the IE conditional comment.
<!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
You would never place IE conditional comments inside your CSS because it's not valid CSS code. IE Conditional Comments appear in the HTML document. In this case, between the <head> and </head> tags and after all other external or embedded CSS styles.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
North America
Europe, Middle East and Africa
Asia Pacific