Thread: DreamWeaver 8 - rendering issues
Results 1 to 7 of 7
Related
-
IE8 not rendering correct height Forum: CSS Forum
Replies: 2 -
Forms in dreamweaver 8 Forum: HTML Forum
Replies: 3 -
cgi and dreamweaver Forum: CGI Perl Forum
Replies: 2 -
Page rendering order? Forum: General Discussion
Replies: 0 -
Links and many other things rendering incorrectly Forum: CSS Forum
Replies: 0
-
04-23-2006, 02:32 PM #1
DreamWeaver 8 - rendering issues
Hey guys,
Just playing with dreamweaver 8. When i create a table 100% width and height with a background colour of pink for example it doesn't render properly on Internet explorer. You only see a single row in pink, you dont see the whole page in pink. If I add a background image, you don't see it at all.
If I remove the code on the first line, the DTD, then it works fine.
HTML Code:DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"
Thanks
-
04-23-2006, 02:50 PM #2
Re: DWeaver 8 - rendering issues
It would help if you'd post a link to your page, or else post the source code. Also, you might want to run your page through a validator with the DTD included to see what errors that might find. Fix those, then see how your page renders.
Hope this helps.Music Around The World - Collecting tips, trade
and want lists, album reviews, & more
-
04-23-2006, 06:04 PM #3
Re: DWeaver 8 - rendering issues
Ok, here is the code for a table that is 100% in width and height. When it is rendered thrugh Internet explorer, you will see what I mean.
HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style></head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#003366"> <tr> <td> </td> </tr> </table> </body> </html>
-
04-23-2006, 06:07 PM #4
Re: DWeaver 8 - rendering issues
And if I remove the DTD tags in the code (the first 3 lines) it will render the way it should be.
HTML Code:<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } --> </style></head> <body> <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#003366"> <tr> <td> </td> </tr> </table> </body> </html>
-
04-24-2006, 07:47 PM #5
Re: DWeaver 8 - rendering issues
Anyone ...... ???
-
04-25-2006, 02:52 AM #6
Re: DWeaver 8 - rendering issues
I have no idea - but as the problem disappears when you remove the DTD, then it looks like that's where the problem is.
-
04-25-2006, 07:57 AM #7
Re: DreamWeaver 8 - rendering issues
You can try removing the height attribute as it is not proper in xhtml 1 transitional, it probably will not fix the problem though. Something tells me it is the css margins but I have nothing to base it on.
You may want to check out this page and see if it is of help http://www.opera.com/docs/specs/doctype/
Dave