On Sun, 3 Jun 2001, StOo wrote:
>
> the problem is Netscape seems to be adding tons of padding (or something) to
> tables, seemingly from absolutely nowhere.. check the following page for
> example:
>
> http://www.sineadandjohn.com/main.asp
>
> the page renders "correctly" or, more accurately "as i would like and expect
> it to" in IE 5.5 and Oprah.. however, NS 6 takes all my tables and adds
> *loads* of padding, which makes it look very bloated and strange..

That's because the paragraph in the table is being given margins. Add the
folowing to your stylesheet to fix it:

   td p { margin: 0; }


> also, more specifically.. on that page i linked to above there's a box for
> logging into a web-based e-mail service.. in IE it's centred but in NS and
> Oprah it's left-aligned.. i'm assuming this is my mistake so can anyone tell
> me why this is the case and what i can do to fix it without breaking
> standards?

"text-align: center" means "align text to the center". What you want to do
is tell it to align the _block_ to the center. Replace the "text-align:
center" part of your rule for ".center" and replace it with "margin: 0
auto". That should center it in any standard compliant browser.

HTH,
-- 
Ian Hickson                                     )\     _. - ._.)       fL
Netscape, Standards Compliance QA              /. `- '  (  `--'
+1 650 937 6593                                `- , ) -  > ) \
irc.mozilla.org:Hixie _________________________  (.' \) (.' -' __________

Reply via email to