...

View Full Version : Myspace CSS



Mr. Bubble
12-29-2006, 08:32 AM
Hello, I was thinking of making my own MySpace resource site that has quality CSS coding.

I got this as my base code, thinking of just changing the options to suit my needs:



<style type="text/css">
body{
background-color:000000;
background-image:url(http://i35.photobucket.com/albums/d155/que123/scarface.jpg);
background-position:Center Center;
background-attachment:fixed;
background-repeat:no-repeat;
scrollbar-track-color:000000;
scrollbar-face-color:000000;
scrollbar-highlight-color:FFFF00;
scrollbar-base-color:FFFF00;
scrollbar-darkShadow-color:FFFF00;
scrollbar-shadow-color:FFFF00;
scrollbar-arrow-color:FFFF00;
}


Table, Td{
background-color:transparent;
}


table table table{
border-style:solid; border-width:0;
}


table table table table, table table table td{
border-style:none;
}


body, div, p, strong, td, .text, .blacktext10, .blacktext12, a.searchlinkSmall, a.searchlinkSmall:link, a.searchlinkSmall:visited{
color:333333;
font-size:10pt;
font-weight:normal;
font-style:normal;
font-family:Lucida Console, verdana, arial, sans-serif;
}


.orangetext15, .lightbluetext8, .whitetext12, .nametext, .btext, .redtext, .redbtext{
color:FFFF00;
font-size:12pt;
font-weight:normal;
text-decoration:line-through;
font-style:normal;
font-family:Georgia, verdana, arial, sans-serif;
}


a, a:link, a:visited, a.navbar, a.navbar:link, a.navbar:visited, a.man, a.man:link, a.man:visited, a.redlink, a.redlink:visited{
color:000000;
font-weight:normal;
font-style:normal;
}


a:hover, a:active, a.navbar:hover, a.navbar:active, a.man:hover, a.man:active, a.searchlinkSmall:hover, a.searchlinkSmall:active, a.redlink:hover, a.redlink:hover{
color:FFFF00;
font-weight:normal;
font-style:normal;
}
</style>


I'm not NEW to CSS coding, I'm just a little... under-educated... And have never done anything to do with MySpace. I know this (I think) is a really obvious question but the

body{
background-color:000000;
background-image:url(http://i35.photobucket.com/albums/d155/que123/scarface.jpg);
background-position:Center Center;
background-attachment:fixed;
background-repeat:no-repeat;
scrollbar-track-color:000000;
scrollbar-face-color:000000;
scrollbar-highlight-color:FFFF00;
scrollbar-base-color:FFFF00;
scrollbar-darkShadow-color:FFFF00;
scrollbar-shadow-color:FFFF00;
scrollbar-arrow-color:FFFF00;
}
Scrollbar part is the thing to the right of the screen, right? ... And styling this only works for IE? ... Which means it's not neccissary to have that code in, I could just leave it out unstyled?


Just need a few problems ironed out before I make my own layouts, and thanks if you help.

A.

_Aerospace_Eng_
12-29-2006, 08:36 AM
Yes the scrollbar is the thing on the right. Styling it only works in IE. It will work in some versions of Opera only when in quirks mode.

Mr. Bubble
12-29-2006, 08:39 AM
Thanks for the quick reply :thumbsup: ... So, really, who cares if the sidebar is styled... doesnt need to look good ;) :D



Thanks again

_Aerospace_Eng_
12-29-2006, 08:41 AM
Few tips when working with a myspace CSS. It doesn't seem to allow the # sign however I've heard people say it will work if you escape it

color:\#FF0000
Though its probably better to use classes. It doesn't allow javascript either. Iframes are also out of the question.

Mr. Bubble
12-29-2006, 09:03 AM
Thanks for the hint about "/#"... Very helpful :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum