Log In · Register

 
 
Closed TopicStart new topic
Using the div comment box for something else..
misfit
post Jul 18 2007, 04:34 AM
Post #1


Senior Member
****

Group: Member
Posts: 251
Joined: Oct 2005
Member No: 280,259



Ok at the moment I am using this layout
http://www.createblog.com/layouts/preview.php?id=19580

Where the red box is,do you think i'd be able to use it for something else instead of showing my comments??
Thanks!
 
Clashing
post Jul 18 2007, 05:25 AM
Post #2


Senior Member
*****

Group: Member
Posts: 371
Joined: Jun 2007
Member No: 530,773



Yes, you can. You would have to show me the layout code so I can find where to take that code out. Or just get a code to hide comments and if you want to put something else in there, you would need to make another div layer depending on what is in the code.
 
freeflow
post Jul 18 2007, 05:42 AM
Post #3


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Find:
CODE
.comments{
visibility: visible;
width: 500px;
height: 159px;
position:absolute;
top: 649px;
left: 135px;
overflow: auto;
background-color:transparent;
border:black 0px solid;
z-index: 2px;}

Change .comments to any name you want. (That has not already been used in the code. And it needs to have a "." before it}
Add this somewhere in the code.
CODE
.comments{display:none;}


Then :
CODE
<div class="divname">text</div>

Change divname to what you chose above.
 
misfit
post Jul 18 2007, 11:22 AM
Post #4


Senior Member
****

Group: Member
Posts: 251
Joined: Oct 2005
Member No: 280,259



^ Thanks that has worked but for some reason the "displaying of comments,view edit all" link is still there and its in a different div from the one it was generally in at first..I've tried using the code to hide the link,it worked,but it hid my bold text as well???I'm guessing its just hiding all the bold instead of just hiding that link,is there anyway I can hide it without the bold text been removed?Thanks!
 

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