On 12/22/05, Scott Haneda <[EMAIL PROTECTED]> wrote:
> Ok, I have been wondering this for some time, and as much as I dislike the
> myspace generation, I need to know some technical aspects.
>
> I have seen maybe 2 pages where someone has done a really nice job laying
> out the page.  In the code, I see this:
> table table table table { css here };
>
> Can someone tell me what this is all about, or point me to a link, I do not
> get that one bit.
>

Myspace = nested table madness. So:

table table table table { css here }

is styling the actual myspace content, which is the great-grandchild
table of the main, outside table.

> Second, seems you have to shove all css into the body of the page, meaning
> to me, procedurally, the css, loads after the body and html tags, so you
> would think it should not even work.  Is this even valid, or just am area
> the browsers decide to patch up for the user.  ie:
> <body>
> Mess of old html code
> body {
>     foo: foo;
> }

This is becase myspace does not use standards compliant html. There's
no doctype, and even if there was it would be html, not xhtml. in this
tag-soup html, you can put stuff anywhere in the page and browsers
will do a whole lot of error-prevention while parsing this tag soup
and just make everything work. It's a mess but it works... you can put
css in the body and it works just fine. I think myspace doesn't allow
css styling in the head so it's the only way.

I think even with an html 4 doctype this would still be possible, but
I'm not sure.

--
--
Christian Montoya
christianmontoya.com ... rdpdesign.com ... cssliquid.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to