Log In · Register

 
Friends & Comments Section on DIV Layout, I'm Lost
Cangri787
post May 7 2009, 01:35 AM
Post #1


Newbie
*

Group: Member
Posts: 5
Joined: May 2009
Member No: 727,230



So I had been trying to figure this out for the past 3 days, while on the search for my answer I found this forum, and it looks like you guys know what youre doing. So I created a DiV layout Layout Im Working On as you guys can see there's a black space at the bottom which I left there to put the friends & comments section there inside a scrolling box.

So far nothing has worked and I cant figure out what Im doing wrong. Here is my code everything is in the about me section if that helps,maybe you guys can help me with this lil problem? Any help will be really appreciated. Thanks

CODE
<style>
body {
background-color: rgb(0, 0, 0);
background-image: url(http://i40.tinypic.com/28i6osg.jpg);
background-position: center center;
background-repeat: repeat;
background-attachment: fixed;
}
table, tr, td {
background-color: transparent;
border: 0px;
}
</style> <style>
table table {
border: #px;
}
table table table table{
border:#px;
}
table table table {
border-width: #px;
border-color: rgb(#, #, #);
border-style: outset;
background-color: transparent;
}
table table table td {
background-color: rgb(#, #, #);
}
table table table table td {
filter:none;
}
</style>

<style>
body, div, span, td, p, .orangetext15, .whitetext12, .lightbluetext8, strong, b, u, .redtext, .redbtext, .btext, .text, .nametext, .blacktext10, .blacktext12 {
font-size: 10px;
color: rgb(#, #, #);
font-weight: normal;
font-style: normal;
text-decoration: none;
}
.whitetext10, .orangetext15 {
font-size: 10px;
color: rgb(#, #, #);
font-weight: bold;
font-style: normal;
text-decoration: none;
}
a.navbar:link, a.navbar:active, a.navbar:visited, a.navbar:hover, a.man:link, a.man:active, a.man:visited, a.man:hover, a, a:link, a:active, a:visited, a:hover, a.navbar:link, a.navbar:active, a.navbar:visited, a.navbar:hover, a.text:link, a.text:active, a.text:visited, a.text:hover, a.searchlinksmall:link, a.searchlinksmall:active, a.searchlinksmall:visited, a.searchlinksmall:hover, a.redlink:link, a.redlink:active, a.redlink:visited, a.redlink:hover {
color: rgb(#, #, #);
font-weight: bold;
font-style: normal;
text-decoration: none;
}
a.navbar:hover, a.man:hover, a:hover {
color: rgb(#, #, #);
font-weight: bold;
font-style: normal;
text-decoration: underline;
}
</style>

<style>
.thebanner{
background-color: transparent;
position: absolute;
left: 50%;
top: 190px;
width: 800px;
height: #px;
margin-left: -400px;
overflow:hidden;
background-position:center left;
background-repeat:no-repeat;
border-width: 0px;
border-style: solid;
}
body table table td {padding-top: #px;}
div table table td {padding-top:0px;}
body table table table td {padding-top:0px;}
</style>
<div class="thebanner">
..
..
..myspace_new..
..
..
..
..
<table id="Table_01" width="800" border="0" cellpadding="0" cellspacing="0" bgcolor="#000000">
<tr>
<td colspan="6">
<img src="http://i40.tinypic.com/2sal1tu.jpg" width="800" height="834" alt="" /></td>
</tr>
<tr>
<td>
<a href="http://www.msplinks.com/MDFodHRwOi8vZnJpZW5kcy5teXNwYWNlLmNvbS9pbmRleC5jZm0/ZnVzZWFjdGlvbj1pbnZpdGUuYWRkZnJpZW5kX3ZlcmlmeSZmcmllbmRJRD0xNzUyNTA0NTc=" target="_blank"><img src="http://i44.tinypic.com/148dus7.jpg" alt="" width="254" height="135" border="0" /></a></td>
<td colspan="4">
<a href="http://www.msplinks.com/MDFodHRwOi8vbWVzc2FnaW5nLm15c3BhY2UuY29tL2luZGV4LmNmbT9mdXNlYWN0aW9uPW1haWwubWVz
2FnZSZmcmllbmRJRD0xNzUyNTA0NTc=" target="_blank"><img src="http://i44.tinypic.com/9kqhwg.jpg" alt="" width="294" height="135" border="0" /></a></td>
<td>
<a href="http://www.msplinks.com/MDFodHRwOi8vcHJvZmlsZWVkaXQubXlzcGFjZS5jb20vaW5kZXguY2ZtP2Z1c2VhY3Rpb249dXNlci5h
GRUb0Zhdm9yaXRlJmZyaWVuZElEPSYjMDM1OyZwdWJsaWM9MTc1MjUwNDU3" target="_blank"><img src="http://i41.tinypic.com/2z8c85y.jpg" alt="" width="252" height="135" border="0" /></a></td>
</tr>
<tr>
<td colspan="6">
<img src="http://i41.tinypic.com/rh6fz7.jpg" width="800" height="20" alt="" /></td>
</tr>
<tr>
<td colspan="6">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" height="163" width="800">
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="movie" value="http://www.yagosta.com/flash/mp3player.swf" />
<param name="wmode" value="transparent" />
<param name="quality" value="high" />
<param name="bgcolor" value="#FFFFFF" />
<param name="flashvars" value="uid=2824663483&pid=9307827077" />
<embed type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" src="http://www.yagosta.com/flash/mp3player.swf" height="163" width="800" wmode="transparent" quality="high" bgcolor="#FFFFFF" flashvars="uid=2824663483&pid=9307827077" />
</object>..</td>
</tr>
<tr>
<td colspan="6">
<img src="http://i40.tinypic.com/1c1ue.jpg" width="800" height="136" alt="" /></td>
</tr>
<tr>
<td colspan="6">
<a href="http://www.msplinks.com/MDFodHRwOi8vd3d3Lm15c3BhY2UuY29t" target="_blank"><img src="http://i42.tinypic.com/zvzmgx.jpg" alt="" width="800" height="160" border="0" /></a></td>
</tr>
<tr>
<td colspan="6">
<a href="http://www.msplinks.com/MDFodHRwOi8vYmxvZ3MubXlzcGFjZS5jb20vaW5kZXguY2ZtP2Z1c2VhY3Rpb249YmxvZy52aWV3JmZy
WVuZElkPTE3NTI1MDQ1NyZibG9nSWQ9NDg2Njg0NzAy" target="_blank"><img src="http://i39.tinypic.com/2nu7v9.jpg" alt="" width="800" height="166" border="0" /></a></td>
</tr>
<tr>
<td colspan="6">
<img src="http://i39.tinypic.com/bhko3r.jpg" width="800" height="64" alt="" /></td>
</tr>
<tr>
<td colspan="6">
<img src="http://i44.tinypic.com/2ymwr9h.jpg" width="800" height="71" alt="" /></td>
</tr>
<tr>
<td colspan="2">
<a href="http://www.msplinks.com/MDFodHRwOi8vcGF5cGFsLnppcG5hZGF6aWxjaC5jb20vP3JlZmVycmFsPTM3OTEx" target="_blank"><img src="http://i39.tinypic.com/a1pmkn.jpg" alt="" width="270" height="54" border="0" /></a></td>
<td>
<a href="http://www.msplinks.com/MDFodHRwOi8vZ2lmdHMuaW5ub3Z1c25ldC5jb20/cmVmQnk9NDA3Mg==" target="_blank"><img src="http://i44.tinypic.com/vio9ww.jpg" alt="" width="266" height="54" border="0" /></a></td>
<td colspan="3">
<a href="http://www.msplinks.com/MDFodHRwOi8vNjAuZnJlZWJpZXNnaWZ0cy5jb20/cmVmPTMz" target="_blank"><img src="http://i42.tinypic.com/igx9gj.jpg" alt="" width="262" height="54" border="0" /></a></td>
</tr>
<tr>
<td colspan="2">
<a href="http://www.msplinks.com/MDFodHRwOi8vVmlkZW9HYW1lcy5HaXQtUi1GcmVlLmNvbS8/cj0zNzk2Mw==" target="_blank"><img src="http://i39.tinypic.com/33cncbs.jpg" alt="" width="270" height="55" border="0" /></a></td>
<td>
<a href="http://www.msplinks.com/MDFodHRwOi8vNjBjYXNoLmZyZWViaWVwb3AuY29tLz9yZWY9MjM4MA==" target="_blank"><img src="http://i41.tinypic.com/16kcsjc.jpg" alt="" width="266" height="55" border="0" /></a></td>
<td colspan="3">
<a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LnJvY2tldGJpbGxzLmNvbS8/cmVmZXJyYWw9NDY3Mw==" target="_blank"><img src="http://i41.tinypic.com/13znb4g.jpg" alt="" width="260" height="55" border="0" /></a></td>
</tr>
<tr>
<td colspan="2">
<a href="http://www.msplinks.com/MDFodHRwOi8vZ2FtaW5nLnByaXplc2hvcHBlci5jb20vP2ZyaWVuZD0zMjAw" target="_blank"><img src="http://i42.tinypic.com/2ivzkh1.jpg" width="270" height="55" alt="" /></a></td>
<td colspan="2">
<a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LllvdXJGcmVlaVN0dWZmLmNvbS9pbmRleC5waHA/cmVmPTQ2OTQ4ODQ=" target="_blank"><img border="0" src="http://www.yourfreeistuff.com/goods/14694884.png" width="270" height="55" /></a></td>
<td colspan="2">
<a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LllvdXJGcmVlaVBob25lLmNvbS9pbmRleC5waHA/cmVmPTQ2OTk1MzQ=" target="_blank"><img border="0" src="http://www.yourfreeiphone.com/goods/14699534.png" width="260" height="55" /></a></td>
</tr>
<tr>
<td colspan="6">
<img src="http://i44.tinypic.com/b4c5j5.jpg" width="800" height="29" alt="" /></td>
</tr>
<tr>
<td colspan="6">
<img src="http://i40.tinypic.com/dz9z4k.jpg" width="800" height="517" alt="" /><div style="position:absolute; top:1993px; left:60px; overflow:auto; height:326px; width:688px; color:Black; font-size:9pt; font-weight:bold; font-family:arial;">
<tr>
<td colspan="6">
<a href="http://www.myspace.com/210jaynizzy787" target="_blank"><img src="http://i43.tinypic.com/2ptnmo0.jpg" alt="" width="800" height="41" border="0" /></a></td>
</tr>
<tr>
<td>
<img src="http://i42.tinypic.com/33m0gmd.jpg" width="254" height="1" alt="" /></td>
<td>
<img src="http://i42.tinypic.com/33m0gmd.jpg" width="16" height="1" alt="" /></td>
<td>
<img src="http://i42.tinypic.com/33m0gmd.jpg" width="266" height="1" alt="" /></td>
<td>
<img src="http://i42.tinypic.com/33m0gmd.jpg" width="4" height="1" alt="" /></td>
<td>
<img src="http://i42.tinypic.com/33m0gmd.jpg" width="8" height="1" alt="" /></td>
<td>
<img src="http://i42.tinypic.com/33m0gmd.jpg" width="252" height="1" alt="" /></td>
</tr>
</table>
..
..
..
</div>

<style>
.extendedNetwork { display:none; }
</style>
<style>
.contactTable {display: none;}
</style>
<style>
.profileInfo{display:none;}
</style>
<style>
.latestBlogEntry {display:none;}
</style>
<style>
.interestsAndDetails{display:none;}
</style>
<style>
.userProfileDetail{display:none;}
</style>
<style>
.orangetext15{display: none;}
</style>
<style>
.friendSpace { display:none; }
</style>
<style>
.userProfileURL { display:none; }
</style>
<style>
.friendsComments {display:none;}
</style>
Reason for edit: Please use [codebox] tags instead of [code] tags when posting longer codes. - Mike
 
 
Start new topic
Replies
Mickey
post May 7 2009, 04:07 AM
Post #2


Treasure Pleasure
********

Group: Head Staff
Posts: 11,193
Joined: Oct 2005
Member No: 281,127



First of all, look for this at the bottom of your codes:

CODE
<style>.friendSpace { display:none; }</style><style>.userProfileURL { display:none; }</style><style>.friendsComments {display:none;}</style>

Replace it with this:

CODE
<style>.userProfileURL { display:none; }</style>

Then, position the Friends and Comments section using this code:

CODE
<style>
.friendSpace {position:absolute; top:#px; left:50%; margin-left:#px; width:#px; z-index:8;}
</style>

<style>
.friendsComments {position:absolute; top:#px; left:50%; margin-left:#px; width:#px; z-index:9;}
</style>

Replace the number signs on the top and margin-left properties with values according to where you want the Friends and Comments sections positioned. Then replace the pound symbol on the width property with how wide you want them to be.
 

Posts in this topic


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