Log In · Register

 
 
Closed TopicStart new topic
Non-Scrolling DIV Overlay box?
BABEHCAKES
post Jul 17 2009, 05:47 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Jun 2009
Member No: 732,284



I've searched on here, it's not to be found. So if you find it. Yay. Please share.
:]

I'm using these on my IMVU. So I need HTML.
<3
 
Mickey
post Jul 17 2009, 06:08 PM
Post #2


Treasure Pleasure
********

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



Try this:

CODE
<div style="height:250px; width:250px; overflow:hidden;">
Insert content here.
</div>

Just customize it to your liking.
 
jiyong
post Jul 17 2009, 06:15 PM
Post #3


사랑해 ~ 我愛你 ♥
*****

Group: Design Staff
Posts: 825
Joined: Jan 2007
Member No: 492,587



I'm not completely sure what you mean. If you mean that the content doesn't scroll WITHIN the div, you could always try this:

CODE
<div style="overflow:hidden;">Text here</div>


That would hide any text that went beyond the limits of the div, however.

If you wanted a div that wouldn't scroll with the rest of your page, you can try this one:

CODE
<div style="position:fixed;">Text here</div>
 
jiyong
post Jul 17 2009, 06:31 PM
Post #4


사랑해 ~ 我愛你 ♥
*****

Group: Design Staff
Posts: 825
Joined: Jan 2007
Member No: 492,587



Ah, I forgot about that -_____-;; I hardly ever use IE anymore so it didn't occur to me. Haha thanks for catching that
 

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