PDA

View Full Version : Anyone understand HTML code?


Conrad
26-02-07, 21:10
Im trying to change the HTML code below for my Myspace background

See background I want here (http://www.skize.com/myspace-layouts/preview/grunge-retro.html)

In the example layout there's a section called 'Person's Interests' and under General & Television the text next to it is in black (Myspace Layouts & All).

It's this black text I want to change to white like the rest. Anyone know which part of the code I need to change? :search:

Code:

<style type="text/css">
body
{
background-color:000000;
background-image:url("http://www.skize.com/myspace-layouts/retro2/5/background.jpg");
background-attachment:fixed;
background-position:bottom left;
background-repeat:no-repeat;
border-width:0px;
}
table, tr, td
{
background-color:transparent;
border:none;
border-width:0;
}
table table {border: 0px;}
table table table table {border:0px;}
table table table {
border-style:solid;
border-width:2px;
border-color:5CF2FF;
background-color:303030;
}
table, tr, td, li, p, div, .btext, .blacktext10, .lightbluetext8, .orangetext15, .redtext, .whitetext10, .redbtext, .text {
font-family:tahoma; color:FFFFFF; font-size:10px;
}
a:active, a:visited, a:link, a.navbar:active, a.navbar:visited, a.navbar:link, a.redlink:active, a.redlink:visited, a.redlink:link, .nametext {
font-family:tahoma; color:57DCFD; font-size:10px;
}
a:hover, a.navbar:hover, a.redlink:hover {
font-family:tahoma; color:FFFFFF; font-size:10px;
}
table table table td {vertical-align:top ! important;}
span.blacktext12 {
visibility:visible;
background-color:transparent;
background-image:url("http://www.skize.com/myspace-layouts/retro2/5/header.jpg");
background-repeat:no-repeat;
background-position:center center;
font-size:0px; letter-spacing:-0.5px;
width:430px; height:150px; display:block ; }
span.blacktext12 img {display:none;}
.contactTable
{
width:300px;
height:150px; padding:0px;
background-image:url("http://www.skize.com/myspace-layouts/retro2/5/table.jpg");
background-attachment:scroll;
background-position:center;
background-repeat:no-repeat;
background-color:transparent;
}
.contactTable table, table.contactTable td {
padding:0px; border:0px; background-color:transparent; background-image:none;}
.contactTable a img {visibility:hidden; border:0px;}
.contactTable .text {font-size:1px ;}
.contactTable .text, .contactTable a, .contactTable img {filter:none;}
.contactTable .whitetext12 {display:none;}
</style><br /><a href="http://www.skize.com/myspace-layouts/preview/grunge-retro.html">Grunge Retro Layout</a> and more <a href="http://www.skize.com">Myspace Layouts</a> at <a href="http://ww.skize.com">Skize.com</a><br /><div style="position:absolute;top:0px;left:0px;z-index:9;"><a href="http://www.skize.com" target="_blank"><img src="http://www.skize.com/support.gif" border="0" /></a></div>

edd_t
26-02-07, 21:34
have you tried changing this part

}
table, tr, td, li, p, div, .btext, .blacktext10, .lightbluetext8, .orangetext15, .redtext, .whitetext10, .redbtext, .text {
font-family:tahoma; color:FFFFFF; font-size:10px;
}

to this:

}
table, tr, td, li, p, div, .btext, .whitetext10, .lightbluetext8, .orangetext15, .redtext, .whitetext10, .redbtext, .text {
font-family:tahoma; color:FFFFFF; font-size:10px;
}

RedM
26-02-07, 21:36
What about this part in red?

a:active, a:visited, a:link, a.navbar:active, a.navbar:visited, a.navbar:link, a.redlink:active, a.redlink:visited, a.redlink:link, .nametext {
font-family:tahoma; color:57DCFD; font-size:10px;
}
a:hover, a.navbar:hover, a.redlink:hover {
font-family:tahoma; color:FFFFFF; font-size:10px;

edd_t
26-02-07, 21:36
there are a couple more places in your code with .blacktext
just play about changing them to .whitetext to see if it makes a difference.

Pixelfill
26-02-07, 21:41
What about this part in red?

a:active, a:visited, a:link, a.navbar:active, a.navbar:visited, a.navbar:link, a.redlink:active, a.redlink:visited, a.redlink:link, .nametext {
font-family:tahoma; color:57DCFD; font-size:10px;
}
a:hover, a.navbar:hover, a.redlink:hover {
font-family:tahoma; color:FFFFFF; font-size:10px;


That's white Martin

Conrad
26-02-07, 21:45
have you tried changing this part

}
table, tr, td, li, p, div, .btext, .blacktext10, .lightbluetext8, .orangetext15, .redtext, .whitetext10, .redbtext, .text {
font-family:tahoma; color:FFFFFF; font-size:10px;
}

to this:

}
table, tr, td, li, p, div, .btext, .whitetext10, .lightbluetext8, .orangetext15, .redtext, .whitetext10, .redbtext, .text {
font-family:tahoma; color:FFFFFF; font-size:10px;
}

Yeah that was the first thing I tried but it didn't do anything different.

Martin, are you just highlighting what you think should be chnged? isn't FFFFF code for white anyway? I've also tried changing anything that says blacktext but no luck.

The text that is black are actually links. If when on my profile you click on any of the black text it creates a search on Myspace for that item of text.

I've got a feeling I'll just have to change to a different background.

n00b
26-02-07, 21:46
it should be (you need a hash #)
color:#FFFFFF;

give me a ring mate if you have any probs

charlie

RedM
26-02-07, 21:47
That's white Martin

Black, white what does any of it matter anyway? :(

n00b
26-02-07, 21:47
opps sorry i thought it was mike with the prolem ... sorry

n00b
26-02-07, 21:52
can you change it to this ?
a:active, a:visited, a:link, a.navbar:active, a.navbar:visited, a.navbar:link, a.redlink:active, a.redlink:visited, a.redlink:link, .nametext {
font-family:tahoma; color:#ffffff; font-size:10px;
}


?

Charlie

Charlie

n00b
26-02-07, 21:55
a represents the a in <a href.... (for your links) so as its a link colour you want to change you need to change that line of code....


myspace is horrible why the hell are they replacing links with javascipt ... thats just crap for loads of reasons.

charlie

RedM
26-02-07, 21:55
I used the theme on my account and had no problem with invisible links.

edd_t
26-02-07, 22:01
Yeah that was the first thing I tried but it didn't do anything different.

Martin, are you just highlighting what you think should be chnged? isn't FFFFF code for white anyway? I've also tried changing anything that says blacktext but no luck.

The text that is black are actually links. If when on my profile you click on any of the black text it creates a search on Myspace for that item of text.

I've got a feeling I'll just have to change to a different background.

doesnt that mean its the hyperlink colours you wanna change. or just get rid of the built in myspace hyper links by putting a <Z> at the beggining of your HTML...

Conrad
26-02-07, 22:02
Not so much invisible links - just not very visible.

Charlie, sorry dude but which part am I changing in regards to links?

Sorry guys, I'm just being fussy I know....

RedM
26-02-07, 22:02
Anyway, isn't Myspace a bit last year?

Conrad
26-02-07, 22:08
Anyway, isn't Myspace a bit last year?

:d :d

Edd, on my profile where you fill in your interests such as: supras, cars, women, football etc etc. These words are in black and are links.

So if you were to click on say 'supras' another myspace page appears with a search on myspace for supras.

I'm not too fussed about the links just wanted to change the colour of the font.

I was kinda hoping it was straight forward...:innocent: ;)

edd_t
26-02-07, 22:17
yeh thats ok. cos it sounds like ya links are in black then. so if you remove them using the <Z> code, then hopefully they may turn white :)


have you tried this?

http://www.pimp-my-profile.com/generators/myspace.php#top

its what i used to use for myspace, before going a little bit too far! teehee...

Pixelfill
26-02-07, 22:23
the problem seems to stem from 2 files

the css file which defines the


a.searchlinkSmall{font-family:verdana,arial,sans-serif,helvetica;
font-size:8pt; text-decoration:underline; font-weight:normal;}
a.searchlinkSmall:link{color:black}
a.searchlinkSmall:active{color:red}
a.searchlinkSmall:visited{color:black}
a.searchlinkSmall:hover{color:red}


and the javascript file hilightInterests.js

which sets the class of the link to be searchlinkSmall.

I'm not familiar with the operation of CSS, but I guess you can override the a.searchlinkSmall class in your file to change the colour of the text



a.searchlinkSmall{font-family:verdana,arial,sans-serif,helvetica;
font-size:8pt; text-decoration:underline; font-weight:normal;}
a.searchlinkSmall:link{color:white}
a.searchlinkSmall:active{color:red}
a.searchlinkSmall:visited{color:white}
a.searchlinkSmall:hover{color:red}


Mike