Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Everything is centered

by qslack (Scribe)
on Aug 19, 2001 at 02:57 UTC ( [id://105959]=monkdiscuss: print w/replies, xml ) Need Help??

Hi,
I'm a new member (I created my account a while ago but only lurked here until today) so when I logged in finally and changed my settings, I noticed that everything in the left table cell (the content) is <center>ed. Ugh. This makes reading the writeups and the code very hard. But on my laptop where I am logged in as well it doesn't happen.

I can see a CENTER tag in the HTML source on this computer but not my laptop, so it must be some weird quirk/undocumented feature, or maybe I am just really out of it. So...just wondering how I could get everything uncentered.

Quinn Slack

Replies are listed 'Best First'.
Re: Everything is centered
by myocom (Deacon) on Aug 19, 2001 at 03:58 UTC

    I have noticed this behavior with IE6. It appears that in IE6, nested tables inherit the justification of the table above it (the old behavior was to assume left justification). Unfortunately, there's no way to "fix" that on the client side. It appears that this is Yet Another item that our Fearless Leader will have to address if he so chooses.

    "One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks." - Frank Willison
      I have noticed that as well, with IE6 (I think IE should stop being produced though, cause of all the bugs it contains unfortunately,) so I just use Opera now more often instead, and thus don't have to worry about that problem. Perhaps you could use something other than IE? Just another idea.

      Andy Summers

        I don't think that IE's behavior is a bug, in fact. IIRC, the W3 spec does not specify the behavior of nested tables. To be honest, I think IE6's behavior makes more sense: tables (and likely other elements, though I have not verified that) inherit attributes from their parents unless otherwise specified.

        Also, I doubt it is a bug since the XHTML 1.0 spec was written by members of the W3C HTML working group, which includes at least two people from Microsoft.

        "One word of warning: if you meet a bunch of Perl programmers on the bus or something, don't look them in the eye. They've been known to try to convert the young into Perl monks." - Frank Willison

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://105959]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found