I have CS5.5 installed and as I'm building my website using Dreamweaver and I'm in "Design View" the main content area drops below the sidebar. However, when I launch it into ANY browser it appears as it should... Is this a problem on my part? Or just how Dreamweaver handles displaying the page in "Design View"? Maybe, I have an extra pixel on a border or padding somewhere?!?!
Just thinking... Would placing the "paragraph content" or "text" into it's own separate <div> work? The image should be fine I would think since it's smaller than the main content area. But the <p>aragraph text might not be wrapping properly. If I take the "padding-left" and set it to 0; The page displays perfectly in Dreamweaver. But If I try to put a little bit of separation between the sidebar and the content it drops the content below the sidebar. Although, it displays in all the browsers I've tested so far completely fine... Dreamweaver doesn't display it properly and since I'm on a Mac I haven't yet tried to view it in IE (any version).
Just a thought maybe I'll try it.
You should not have a style element in your page. I should go in the head of the page between the <head> </head> tags
<style>
/* refresh The p class display */
p {
padding-top: 10px;
padding-right: 12px;
padding-left: 12px;
color: #000;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}
</style>
And the opening tag should be <style type="text/css">
And I wonder if you really need to float the <h1> element in the content?
Martin
Thanks for the information but I was able to fix it by creating an additional <div> for the text content within the "content" <div>. It now displays both in dreamweaver and the browsers correctly.
Thanks much for validator link and the renderer link too. They can certainly help... I gave you a few points for your assistance.
Thanks!
North America
Europe, Middle East and Africa
Asia Pacific