Click to See Complete Forum and Search --> : gap between a table and the left border of the page
vriad-lee
05-30-2003, 11:36 AM
I need to allign a picture to the left edge of the page so that there's no gap between the picture and the page border. I can do this easily with layers (Dream Weaver), but I need to place everything, including the picture, into a table, and there's always a small gap between the table and the border of the page. Does anyone know if that can be fixed?
Thanks,
Vladdy
05-30-2003, 11:40 AM
Why do you need a picture in a table :confused:
Nevermore
05-30-2003, 11:44 AM
Set the table margin and padding to 0, and the left coordinate to 0. See if that'll do the trick.
vriad-lee
05-30-2003, 11:49 AM
Originally posted by Vladdy
Why do you need a picture in a table :confused:
Well, because I use non-trivial alignment. So I have to use tables or layers - at least so it seems to me (I might be missing smthng). But I don't want to use layers because they are not suppoted in earlier versions of browsers and because they mess up layout at lower screen resolutions
vriad-lee
05-30-2003, 11:59 AM
Originally posted by cijori
Set the table margin and padding to 0, and the left coordinate to 0. See if that'll do the trick.
How do I set the left coordinate?
Nevermore
05-30-2003, 12:17 PM
in the <table> tag and <td> tag put style="position:relative; left:0px;"
vriad-lee
05-30-2003, 01:26 PM
Can't get it working anyway. Here's the code:
<table style="position:relative; left:0px;" align=left cellpadding=0 cellspacing=0>
<tr>
<td style="position:relative; left:0px;">
<img src="grasshopper_s.jpg" width="293" height="320">
</td>
</tr>
</table>
The gap is still there :(
vriad-lee
05-30-2003, 01:30 PM
Here is the actual page http://www.grasshopper-toys.com. It has a combination of tables and layers. The idea is to turn everything into tables preventing the gap between the grasshopper picture and the page border.