Non-ScrollBox Comments in DIV Overlay?, Anyone know how? |
Non-ScrollBox Comments in DIV Overlay?, Anyone know how? |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Dec 2006 Member No: 484,711 ![]() |
Hi,
I'm trying to figure out how to create a non-scrollbox comment box in a DIV Overlay. Currently, I have this code: CODE .comt { visibility:visible; position:absolute; left:50%; top:880px; overflow:auto; width:1030px; height:400px; border:4px ridge; border-color:006666; margin-top:800px; margin-left:-500px; background-color:transparent; z-index:5; } .comt span, .comt b {color:ffffff; visibility:visible !important; display:block; } .comt table { width:700px; } .comt table table { width:0px; } .blacktext10 { width:800px; display:inline; } .comt a, .comt font, .comt span { visibility:visible; } For the Top Friends/Comments, but when it gets to a certain length it keeps that length and transforms into a scrollbar. Anyone know how to edit the above code to take off the scrollbar? Thanks |
|
|
![]() |
![]()
Post
#2
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Dec 2006 Member No: 484,711 ![]() |
Thanks for the reply.
That did indeed take off the scroll bar, but it doesn't expand in height when a new comment is made (so it cuts them off). Any other ideas? EDIT::: I might of figured it out (although i'm not sure if it's the best way to do it. On this line: overflow:auto; width:1030px; height:400px; I changed it to this: overflow:hidden; width:1030px; height:800px; Basically changing the height shows the rest. But would this take up a lot of bandwidth.. I would probably need to make the height like 5,000 for it to fit a normal sized full comment list. Would I just be better off with the scroll box, is there some other way or is this a decent way to do this? thanks |
|
|
![]() ![]() |