?

Log in

No account? Create an account

Previous Entry | Next Entry

Rant:  What were they thinking!?

  • Oct. 31st, 2005 at 5:17 PM
Over Stand
XHTML 1.1 as defined by the w3c is a serious pita!

Initially, all you had to do to center everything on an HTML page was to use the <center> tag.

eg:
<html>
<head>
        <title>some title</title>
</head>
<body>
        <center>
                blah blah!
        </center>
</body>
</html>


With XHTML 1.1, the <center> tag has gone completely!  so you'd have to use the <div> tag or a table or something else to center your content!

eg:
<html>
<head>
        <title>some title</title>
<style type="text/css">
<!--
.container
{
        width:100%;
}
-->
</style>
</head>

<body>
        <div class="container" align="center">
                blah blah!
        </div>
</body>
</html>


At the end of the day, both pages show up looking almost exactly the same.  Whoever decided that the <center> tag should be eliminated as a redundancy was mentally deranged!  What's the point in making a whole container div when you can make do with so much less!  Uggh!

Apparently, the <b> tag is illegal too, and if you wanna use <br>, you gotta close the tag like so <br/>!!  we're moving backward in time or trying to make some headway in a positive direction?  Duh!

//end of rant (for the time being NEway.  :o)
//update: I've found that javascript is able to alter style tag properties for div backgrounds in firefox, while the style 'background' attribute for div's does'nt work! Strange!!

Comments

angiasaa wrote:
Nov. 1st, 2005 09:53 am (UTC)
/s/infection/affection. :oP
ex_ga_woo wrote:
Nov. 1st, 2005 01:59 pm (UTC)
And I thought you were being funny. If I were you, I would have just left the 'infection' in :)

And dude, it was breaking my heart to see a web-site being moved to IE-only. That's why I asked. But then I can't run around fixing all the web pages out there, can I? And having to be evaluated is not worth it I think :D
angiasaa wrote:
Nov. 1st, 2005 07:33 pm (UTC)
Checked the page out recently?

It's about forty times more mozilla-friendly. :o)

It still needs loads of work to match up with it's display on IE, but heck, Mozilla does'nt know how to display embedded div capsules. :P

bah! I still love mozilla! :o)