Help - Search - Members - Calendar
Full Version: Problem with coding image into table using css
Forums > Resource Center > Support Center > MySpace Support > Myspace Resolved Topics
jishdafish
hi

i have a problem with coding an image into a certain area on a band myspace page. firstly, i have created a banner which sits bellow the myspace navigation menu, and i have moved the music player up to sit on top of the banner. This has worked so far.

No i wish to place an image into the area where the music player used to be.

this is the code i have so far.

CODE
<div style="position:relative; font-size:50px; z-index:3;">

<style type="text/css">
body
{
  background-image:url(http://i514.photobucket.com/albums/t347/the_diamond_dolls/bg5.jpg?t=1218424804);
}

table, { background-color: white; background-image:url(http://i514.photobucket.com/albums/t347/the_diamond_dolls/pic1.jpg?t=1218433662);background-repeat: no-repeat;background-attachment: scroll}

object {position:relative; top:-356; left:8px;}
</style>

<i class=i>!!! Start Code To Apply Top Banner !!!!</i>
<a class="i" href="http://www.msplinks.com/MDFodHRwOi8veGlpaS51cy9tcy90b3AtYmFubmVy" title="myspace top banner">
Custom top banner code by Eileen</a>
<style>
.i, div.clearfix i i i {display:none;}
{!- cross browser centering -!}
div {position:relative; top:0px;}
div div {height:343px; background-color:transparent !important;}
div div.profileWidth, table div div, div table div {height:auto;}
div div span {position:absolute; left:50%; margin-left:-400!important;}
{!- make room in div div span for Banner -!}
div div span{height:343px; width:800px;}
{! apply banner as bkgd image !}
div div span{background-image:url(http://i514.photobucket.com/albums/t347/the_diamond_dolls/BANNERsm4.jpg?t=1218432179); background-position:center center; background-repeat:no-repeat;}
{!- reverse -!}
div.profileWidth span, table div div span{height:auto; width:auto; background-image:none; position:static !important; margin-left:0px !important}
</style>
<i class=i>!!! End Code To Apply Top Banner !!!</i>
</div>


i have tried simply making the image part of the table background, but unfortunately this means all the tables on the page have the background image. and i dont want that.

if it helps here is the myspace page link. http://www.myspace.com/diamonddollsband

if any1 could help me i would be very appreciative.
thankyou
synatribe
you shouldnt double post. Its against the community guidelines and mods can warn you.
jishdafish
sorry, i just realised i posted the first 1 in the wrong section... so i reposted this 1 and im going to delete the other 1
synatribe
well you cant delete so mods usually move it for you, since your new I guess the mods will understand and be leniant, as for your coding issue, I cant seem to locate the div class for the music player, all I see is object margins, hmm what I would do is bring up my blogs and just put stuff in the about me:]'
jishdafish
oh ok thanks for ur advice, how would i bring the blogs up?

im new to css
synatribe
sorry for the late reply:] [the olympics]
heres the code:]
just add style tags to
.latestblogentry {margin-top:-50px;}
jishdafish
thanks for that... it all seems to be in order now... hopefully when i add gig dates it wont wreck everything... thanks for ur help
schizo
Topic closed and moved to MYSPACE resolved topics.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.