Activity › Forums › Web Design (WordPress, Joomla, etc.) › table alignment
-
table alignment
Posted by Sarza on September 13, 2005 at 11:13 pmHi,
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
Sarza replied 20 years, 8 months ago 2 Members · 6 Replies -
6 Replies
-
Curtis Thompson
September 13, 2005 at 11:19 pmhello…
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
-
Sarza
September 14, 2005 at 12:01 amThanks 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?
-
Curtis Thompson
September 14, 2005 at 4:22 amhello…
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
-
Sarza
September 14, 2005 at 11:38 pm -
Curtis Thompson
September 14, 2005 at 11:45 pmhello…
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
Reply to this Discussion! Login or Sign Up