• | table alignment
on Sep 13, 2005 at 11:13:46 pm |
Hi,
I have been having dramas with tables and found lots of very helpful advice on this forum.
One issue I couldn't resolve is how to align the table to the absolute top of the page. It is centered and set to 100% width, but I would like to get rid of the gap between the top of the table and the top of the page. Is this possible?
TIA
• | Re: table alignment on Sep 13, 2005 at 11:19:11 pm |
hello...
the easy css way to do it is to set the margin for your body tag to 0px - so like this:
<BODY STYLE="margin:0px;">
or you can put it in an extrernal css sheet...
sitruc
• | Re: table alignment on Sep 14, 2005 at 12:01:16 am |
Thanks Curtis. Simple!
One more question...
My page is now looking how I want it to on my computer with IE and Safari. However, I don't have Netscape and Dreamweaver is giving me a browser support error...
'The Background attribute of the TD tag is not supported. [Netscape Navigator 4.0, Netscape Navigator 6.0]'
The top row is split into two cells with an image aligned left in the left cell and aligned right in the right cell. I have set an image as background to blend the two side images.
What have I done wrong?
• | Re: table alignment on Sep 14, 2005 at 4:22:12 am |
hello...
hard to say without seeing the source, unfortunately - do you have an example?
you might also want to try our dreamweaver forum for dw-specific issues...
sitruc
• | Re: table alignment on Sep 14, 2005 at 11:38:56 pm |
Here it is...
http://users.bigpond.com/sgole/help
Thanks for your help.
• | Re: table alignment on Sep 14, 2005 at 11:45:29 pm |
hello...
your code looks fine - in general, i wouldn't worry about netscape 4 too much - it's a _Very_ old browser, and if you're still surfing with that one then you sorta get what you pay for (imho)...
in net6/osx, the left logo aligns right due to the extra unneeded div tags in there, but other than that you're ok. net6 does support bg images in tables...
sitruc
• | Re: table alignment on Sep 15, 2005 at 12:02:02 am |
That's great. I really appreciate your help.
Thanks,
Sarah