supaman89
05-11-2008, 01:40 AM
Hi everyone, I just found these forums and I thought maybe someone could help me out on this one, how to make a table truly fit 100% the screen? cuz when you put width=100% it doesn really fill the screen completly, it looks like this (1) and I want it to look like in the second one.
http://img145.imageshack.us/img145/1227/tablefitvk5.png
:confused:
logictrap
05-11-2008, 05:06 AM
Try setting the margins and padding for <body> & <html> to 0.
Also set the doctype to xhtml transitional.
Make sure the table cell spacing is set to 0.
supaman89
05-11-2008, 06:38 PM
I tried what you told me but I might've done it wrong or something.
Could you like post the code here so I can paste it in FrontPage and see how it works? thnx
alex57
05-11-2008, 07:00 PM
Try adding this to the body tag.
<body LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
supaman89
05-11-2008, 07:12 PM
OMG thanks, you're my hero mate.
Arbitrator
05-11-2008, 09:14 PM
Try adding this to the body tag.
<body LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>It would be better practice to use CSS instead of non‐standard HTML attributes. For example, you might use an embedded style sheet like the one shown below.
<style type="text/css">
body { margin: 0; }
</style>