PDA

View Full Version : Dreamweaver - Margin



bigcougar
08 Feb 2011, 12:27 AM
OK, my page consists of 3 elements:
1.top menu - HTM
2. left sidebar - HTML
3. main page (content plus the above 2) - PHP

For some reason in the Dreamweaver design window I see the following situation:
http://i23.photobucket.com/albums/b383/BigCougar/PAGE_TSC.jpg

In reality the page shows up correctly on the web:
http://www.troutsalmonchar.com//Pages/ART_BS_Ribnik.php?cat=EE

Do you have any idea, why my content is pushed to the right and down below my left sidebar in Dreamweaver?

The PHP element shown on the right dotted line in fact belongs to the left sidebar and should be inside it.

resdog
08 Feb 2011, 07:58 AM
I believe it has to do with the rendering engine Dreamweaver uses. In short, you shouldn't really go by what Dreamweaver shows, as it's not always correct (you site is a great example of this). It could be because Dreamweaver didn't live code the php, and just shows the php tag, which is causing the wrap, or because your window isn't wide enough, so if in your code you give it a specific width and the window isn't big enough, it will wrap. There are many reason why the site will look broken in Dreamweaver.