Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Table not filling screen
 

tshad




quote this post edit post

IP Loged report this post

Old Post  09-29-04 - 12:18 AM  
I have table that will not work in DW 2004 if I take the New file setup that
DW gives me.

Here is what the basic page looks like:

*************************************************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
*************************************************************

I take this and create a page like so:
*************************************************************
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
body {margin:0;padding:0;}
</style>
</head>
<body>
<table width="100%"  height="100%" border="1" cellspacing="0"
cellpadding="0">
<tr height="100" bgcolor="#000099">
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>
*************************************************************

This should just fill the screen with Blue.

There is more to this page than this, I am just trying to demonstrate the
problem.  I want this table to fill the screen - no matter how big the
screen is (this is why the height="100%").  This would normally be a couple
of tables with buttons on the left, logo on top and logo on bottom with
content in the middle/right.

This code is not working correctly.

But it will if I take out the "<!DOCTYPE " line.  This works fine now.

Why is this happening and why is DW adding the line anyways?

Thanks,

Tom.




Post Follow-Up to this message ]
Re: Table not filling screen
 

Peadge




quote this post edit post

IP Loged report this post

Old Post  09-30-04 - 04:15 AM  
try this in your body tag:

"tshad" <tscheiderich@ftsolutions.com> wrote in message
news:6Di6d.2425$JG2.186@newssvr14.news.prodigy.com...
> I have table that will not work in DW 2004 if I take the New file setup
that
> DW gives me.
>
> Here is what the basic page looks like:
>
> *************************************************************
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <title>Untitled Document</title>
> </head>
> <body>
> </body>
> </html>
> *************************************************************
>
> I take this and create a page like so:
> *************************************************************
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <title>Untitled Document</title>
> <style type="text/css">
> body {margin:0;padding:0;}
> </style>
> </head>
> <body>
> <table width="100%"  height="100%" border="1" cellspacing="0"
> cellpadding="0">
>  <tr height="100" bgcolor="#000099">
>   <td>&nbsp;</td>
>  </tr>
> </table>
> </body>
> </html>
> *************************************************************
>
> This should just fill the screen with Blue.
>
> There is more to this page than this, I am just trying to demonstrate the
> problem.  I want this table to fill the screen - no matter how big the
> screen is (this is why the height="100%").  This would normally be a
couple
> of tables with buttons on the left, logo on top and logo on bottom with
> content in the middle/right.
>
> This code is not working correctly.
>
> But it will if I take out the "<!DOCTYPE " line.  This works fine now.
>
> Why is this happening and why is DW adding the line anyways?
>
> Thanks,
>
> Tom.
>
>




Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 06:10 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top