Log In · Register

 
Profile Is Covered with Image (Help with CSS/DIV... I think!), Profile Elements Are All Covered Over With Images
webgyrl
post Jan 24 2007, 06:50 AM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Jan 2007
Member No: 497,895



Hi,

I am helping a musician friend of mine with his profile and I found a cool layout on Nas' MySpace page.

I changed some things and re-did the graphics and I basically popped my Image URLS where the ones were in Nas' profile code.

Something strange is happening tho. When I try to preview the layout, the entire profile is all covered up. My images show, but all the other elements have disappeared.

I am not sure where in the CSS I put in this is being caused.


In fact I tried copying all of Nas' code into my friends profile (it goes in the Biography section) and the same thing happened. All the images cover over the profile stuff (except the main MySpace header and navigation)

How did they make the things like the contact table, friends, profile image, comments, music player etc. all show in Nas' profile? I am totally stumped!
Here is the link to Nas' profile
http://www.myspace.com/nas

I can't even save the changes to my friends profile to show you because all the links are covered up and I can't submit the changes.

Here is the code I used:
CODE
<style type="text/css">
body {margin-top: 0;}
div.header {position: absolute;top: 210px;left: 50%; margin-left: -422px; width: px; height: 0px;}
</style>

<div class="header"><center>
  <a href="http://www.davesereny.com"><img src="http://img207.imageshack.us/img207/3153/header6ht.jpg" alt="Dave Sereny" width="846" height="318" border="0"></a></center></div>
  
<style type="text/css">
td, table, tr, span, li, p, div, textarea, DIV {color:ffffff;}
body {font-size: 1px; line-height: 1px;background-color:000000; font-family: Verdana, Arial, sans-serif; background-repeat: repeat-y; background-position: top center; background-image: url(http://img208.imageshack.us/img208/4802/bg9mn.jpg);}

p {margin: 0px 0px 1em 0px; font-family: Verdana, sans-serif !important}

a, a:link, a:visited {color:c0c0c0; text-decoration: none;}

a:hover {color:ffffff; text-decoration: none}

img {border: none}

br {line-height: 20px;}

form {border-width:0px;background-color:none;}

input {background-color:transparent !important}

body>div {margin-left: 10px;}

table, tr, td, table table, table table td {border-width:0px; background-color: transparent;}

table table table td {background-color:transparent;margin:0px;padding: 0 26px 15px 26px}

table table table table {border-width:0px;background-color:transparent;padding:0px;margin:0px; background-image: none;}

table table table table td {padding:0px;margin:0px;}

table table table {margin:0px; background-color:000000; width: 100% !important; border-width: 3px; border-style: double; border-color: 000000;}

.masthead {width: 870px; height: 18px; position: absolute; margin-left: -434px; left: 50%; top: 519px; background-image: url(http://www.mbstia.com/myspace/bullet.gif);}

body table {margin-top:330px;}

body td table, body div table {margin-top: 0;}

font {color:ffffff;font-size:10px}

a font:hover {color:c0c0c0}

a.navbar:link, a.navbar:visited {color:c0c0c0}

a.navbar:hover {color:ffffff}

table tr td table tr td font {display: inline;}

table tr td table a.navbar {font-size: 10px;}

.text {color:ffffff;font-size:11px}

a.text:link, a.text:visited {color:c0c0c0}

a.text:hover {color:ffffff}

.nametext {background-image: url(http://img208.imageshack.us/img208/5936/nametext4jt.jpg); background-position: bottom center; background-repeat: no-repeat; overflow: hidden; height: 161px; width: 195px; font-size: 1px; text-align: left; color: 000000; padding: 0px 0px 3px 0px; display: block; margin: 14px 0px 8px 0px; border-width: 0px 0px 3px 0px; border-style: double; border-color: 000000;}

.contactTable {width: 328px !important;}

.contactTable td {padding: 0px; margin: 0px; text-align: center;}

.contactTable span.whitetext12 {position: relative; left: 10px;}

.contactTable td table {background-color: transparent; background-image: url(http://www.mbstia.com/myspace/menu.gif); background-position: center; background-repeat: no-repeat;}

.contactTable a {padding: 0px; margin: 0px 0px 1px 5px; display: block; height: 30px; width: 136px; background-color: transparent;}

.contactTable a img, .contactTable img {border: 0px; display: none; visibility: hidden;}

table tr td table tr td table tr td div strong {display: block; width: 270px;}

.whitetext12 {color:797471; font-size: 12px; margin: 0px 0px 4px 0px; padding: 0px 0px 3px 0px; text-align: center; display: block; font-family: Arial, Helvetica, Arial, sans-serif; font-weight: normal; border-width: 0px 0px 3px 0px; border-style: double; border-color: 000000; width: 270px}

.blacktext12 {color:797471;font-size:18px; font-family: Arial, Helvetica, Arial, sans-serif; font-weight: normal; display: block; margin-top: 14px}

.blacktext12:before {content: "WOW! ";}

.btext {color:797471 font-size: 12px; margin: 14px 0px 4px 0px; padding: 0px 0px 3px 0px; display: block; font-family: Arial, Helvetica, Arial, sans-serif; font-weight: normal; text-align: center; border-width: 0px 0px 3px 0px; border-style: double; border-color: 000000}

.orangetext15 {color:797471; font-size: 18px; margin: 14px 0px 4px 0px; padding: 0px 0px 3px 0px; text-align: center; display: block; font-family: Arial, Helvetica, Arial, sans-serif; font-weight: normal; border-width: 0px 0px 3px 0px; border-style: double; border-color: 000000; width: 372px}

.lightbluetext8 {color:797471}

.redtext,.redbtext {color:797471; font-family: Georgia, Helvetica, Arial, sans-serif; font-size: 12px; font-weight: bold}

.redbtext:after {content: "billion";}

a.redlink:link {color:797471; display: block; text-align: center; border-width: 3px 0px 0px 0px; border-style: double; border-color: 000000; padding-top: 3px;}

a.redlink:visited {color:ffffff}

a.redlink:hover {color:797471}

u {text-decoration: none; font-size: 10px;}

</style>

<![if !IE]>

<style type="text/css">

.whitetext12 {width: auto}

.contactTable {width: auto !important;}

.contactTable span.whitetext12 {left: 0;}

.orangetext15 {width: auto;}

table table table td {padding: 0;}

table table table {padding: 0 14px 14px 14px; border-color: 000000;}

table table table {max-width: 423px;}

.nametext {height: 35px; width: auto;}

</style>
<![endif]>


I really need to fix this in the next couple of days. If you can help please PM me here or post here. Thanks!
 

Posts in this topic


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