Log In · Register

 
div help!, its driving me crazy
splitprsona
post Jun 24 2008, 06:40 PM
Post #1


Newbie
*

Group: Member
Posts: 9
Joined: Jun 2008
Member No: 661,375



i've NEVER had a problem i couldnt resolve on my own with a div layout, but now i feel mind boggled. i set up a div layout with the same usual coding i use from mygen.co.uk & now i have these gray lines on the side of my layout that i cannot get rid of. my guess is that its from the bottom profile links but when i generated a code to hide that it pushed my layout waaaaay down. how do i fix this before i go nuts?!

here is the layout:
http://profile.myspace.com/index.cfm?fusea...endid=341649026

my about me:
CODE
<style type="text/css">
.Main { position:absolute; left:50%; top:125px; width:800px; z-index:1; margin-left:-400px; padding:0px; border:0px; background-color:transparent;} </style>

<style type="text/css">
.friendSpace { display:none; }
</style>

<style type="text/css">
.friendsComments { display:none; }
</style>


my who'd i like to meet:
CODE
<DIV class="Main"> <table style="width:800px; height:600px; border:0px solid silver; background-color:ffffff;" cellpadding="0" cellspacing="0"> <tr> <td valign="top">

<style type="text/css" >
body {
background-image:url("http://i29.tinypic.com/10msmxi.png");
background-attachment: scroll;
background-repeat: repeat;
background-position: top left;
</style>

<img src="http://i25.tinypic.com/2ciim9h.png">


</td> </tr> </table> </DIV>



i hope someone can help me!!
 
 
Start new topic
Replies
fixtatik
post Jun 24 2008, 07:38 PM
Post #2


Senior Member
******

Group: Member
Posts: 1,237
Joined: May 2008
Member No: 648,123



CODE
tr { background:none; }
table div div { display:none; }

that should get rid of the grey bar. there's a cleaner way to hide everything for a div layout if you want that, too.
 

Posts in this topic


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