Help - Search - Members - Calendar
Full Version: Non-Scrolling DIV Overlay box?
Forums > Resource Center > Webmasters' Corner
BABEHCAKES
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
Mike
Try this:

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

Just customize it to your liking.
elletricity
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>
Mike
Setting the position property to fixed won't work on IE6 and below though, js.
elletricity
Ah, I forgot about that -_____-;; I hardly ever use IE anymore so it didn't occur to me. Haha thanks for catching that
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.