Log In · Register

 
 
Closed TopicStart new topic
HELP!
speakerboxx123
post Jun 1 2007, 06:59 PM
Post #1


im with the marching band
*****

Group: Member
Posts: 740
Joined: Dec 2006
Member No: 491,167



i have this on my website:

CODE
<title>JetSet.</title>

<style type="html/css">
#background {position: absolute; top: 0%; left: 50%;}
#content {postion: absolute; top: 0%; left: 50%;}
</style>

<style type="html/css">
body {background-color: #FFFFFF; color: #FFFFFF; font-family: arial; font-size: 10px; }
</style>

<style>
body {background-image:url(http://jetset.biz.ly/images/stripesblue.png); }
</style>

<div id="background">
<img src=http://jetset.biz.ly/images/background.PNG>
</div>


but the white part[my "background"] doesnt want to move!!! i tried changing whats in bold...

{postion: absolute; top: 0%; left: 50%;}

and it wont move mad.gif

its driving me crazy !! wacko.gif
 
*digitalfragrance*
post Jun 1 2007, 08:12 PM
Post #2





Guest






Try it this way instead:
CODE
<title>JetSet.</title>

<style type="html/css">
#content {postion: absolute; top: 0%; left: 50%;}
</style>

<style type="html/css">
body {background-color: #FFFFFF; color: #FFFFFF; font-family: arial; font-size: 10px; }
</style>

<style>
body {background-image:url(http://jetset.biz.ly/images/stripesblue.png); }
</style>

<div style="left: ##px; top: ##px; position: absolute; overflow: auto;">
<img src=http://jetset.biz.ly/images/background.PNG>
</div>


And edit the left and top ##s in your last div layer.
If that doesn't work, insert "margin-" in front of those words - EX: "margin-left" and "margin-top" instead of "left" and "top".
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: