Sent by Brian Cummiskey on 22 December 2005 06:06
Scott Haneda 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.
Hey wait, that's me :P
> 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 };
This effects the 4th table nested in. The mark-up on myspace is
pathetic at best. Frontpage could probably make cleaner code. I even
rant about it in my profile: http://www.myspace.com/pissedoffsol
and you can see my code to get my blocks to have that border:
table, td { background-color:transparent; border:none; border-width:0;}
table table table {border:3px solid; border-color:333333;
background-color:ffffff; }
table table{border:0px}
table table table table{border:0px}
the 3rd table in is the holder, and the 4th is the data/text in that block.
I spent like 20 min on my page one night when i was bored, before i got
frustrated with it. You can't do anything good with it because 90% of
the tag-soup contains font tags and so forth that end up just
over-riding your css.
Another kicker, is that you can't use #333. it will eat the # sign, and
doesn't know what to do with the 3-character short hand. so you have to
feed it background-color: 333333;
It also doesn't like taking multiple parameters, such as border: 1px
solid #333; You have to split out the color. see my code above.. it's
like that for a reason.
The only thing i regret, is that i didn't create myspace. What did it
sell for, $200 million or something like that? But, that's off topic.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/