| View previous topic :: View next topic |
| Author |
Message |
TPhalen
Joined: 24 Feb 2005
Posts: 7
|
| Posted: Thu Feb 24, 2005 9:07 am |
|
|
Another quick MySpace coding question....
I have a background image. It's tiled across the screen. On my individual 'about me' boxes, I want to set it up so the background color in those boxes is black. I set up a table in each individual 'about me' area, but when I put the background color to black or 000000, it is still transparent....I can see the background image. I have them in tables so I can define the border color of the table.
Now, I tracked it down to a background-color: transparent code in the PimpMyMySpace code and, well, yeah. When removed, it kind of screws up the page.
SO! I just need to know if there is some coding that will allow you to make the background of the table black....not interferring with the background image.
Thanks. |
|
|
chrisxkelley
Joined: 07 Dec 2004
Posts: 246
|
| Posted: Thu Feb 24, 2005 10:08 pm |
|
|
the css style for the main tables is "table table" on myspace.
so if you stick in a:
Code:
<style type="text/css">
table table{
background-color:#000000;
}
</style>
that should do the trick.
haha. i hate myspace. but i love it. you could say i'm a myspace addict |
|
|
TPhalen
Joined: 24 Feb 2005
Posts: 7
|
| Posted: Fri Feb 25, 2005 3:28 pm |
|
|
Thanks chrisxkelly.
So, HOPEFULLY one last question. Let me just post a few lines of the PimpMyMySpace code:
<STYLE>a, a.man, a:link, a:visited{font-family:verdana, arial, times new roman;color:8B99FF; font-size:8pt; font-weight:normal; text-decoration:none; font-style:normal} a:active, a:hover{font-family:verdana, arial, times new roman;color:8B99FF;.........
.......font-weight:none;}.tmz_imp{font-family:arial;color:FF0000;font-weight:bold}a img{}a:hover img{}body{scrollbar-arrow-color:cccccc;scrollbar-Track-Color:8B99FF;scrollbar-Highlight-Color:4561df;scrollbar-base-color:4561df;scrollbar-Face-Color:000000;scrollbar-Shadow-Color:4561df;scrollbar-DarkShadow-Color:4561df</STYLE>
Ok. How would I incorporate it into this text??? I tried at the beginning with the following:
<STYLE type="text/css">a, a.man, a:link,........
or
<STYLE type="text/css"> table table{background-color:#000000;} a, a.man, a:link,........
Both to no avail. Here is the MySpace page: http://www.myspace.com/index.cfm?fuseaction=user.viewProfile&friendID=1060776&Mytoken=20050226152606
See the 'tables' that contain type??? I want THESE to have a black background. When I added the above code and got it to work, the ENTIRE MAIN table turned black. A start, but not quite what I wanted.
Anyway, I'm not sure if this is even possible. Either way, thanks VERY much in advance for your help. |
|
|
chrisxkelley
Joined: 07 Dec 2004
Posts: 246
|
| Posted: Fri Feb 25, 2005 4:02 pm |
|
|
hmm... here... try this. theres a line in your code that looks exactly like this:
Code:
td, li, p, div, textarea {font-family:verdana, arial, times new roman;border-color:7a92ff}
(i did a little bit of snooping around your myspace source code. :D
replace it with this:
Code:
td, li, p, div, textarea {font-family:verdana, arial, times new roman;border-color:7a92ff;background-color:#000000;}
that might do it... if youre lucky :P
Cheers,
Chris |
|
|
Iceman
Joined: 24 Nov 2005
Posts: 30
|
| Posted: Sat Nov 26, 2005 12:57 pm How .. .. |
|
|
| sry to interupt this ( if it is interupting) but i dont know now to even put a table around my words .. .. its bugging me because my pictue is making the words hard to read .. .. can you please tell me the code to make a table? |
|
|
Switch0
Joined: 26 Feb 2006
Posts: 1
|
| Posted: Sun Feb 26, 2006 5:47 pm yep |
|
|
yep Im having the same problem, i have to make <style type="text/css">
table table{
background-color=transparant;
}
</style>
but i cannot figure out how to change the table backgrounds themselves... |
|
|
|
Corey Bryant
Joined: 15 May 2004
Posts: 8749
Location: Castle Pines North, CO USA
|
| Posted: Mon Feb 27, 2006 4:10 am |
|
|
Transparent is misspelled and you need to use a colon after background-color, not an equal sign.
_________________
Corey
Loud Commerce | Loud Worx | Toll Free Solutions |
|
|
toasty232
Joined: 26 Mar 2006
Posts: 1
|
| Posted: Sun Mar 26, 2006 10:10 am |
|
|
This site has the exact answer to your question. I know because I was looking for the same thing. The code towards the bottom of the page shows how to make the tables transparent and allow the background to show through.
http://www.kerryonworld.com/node/252 |
|
|
akaratel
Joined: 30 Jan 2007
Posts: 1
|
| Posted: Tue Jan 30, 2007 12:56 pm I cannot read my words after putting a background image on. |
|
|
| I want to keep my background image. But when i used pimpmyspace, it made the text boxes transparent and I can barely read them. Do you have a code so that I can make the boxes behind my words black? |
|
|
| |
|
|
|