View Single Post
Old 12-07-2009, 12:04 AM  
potter
Confirmed User
 
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
Quote:
Originally Posted by sysk View Post
overflow:auto should do it
lol.. because the element wouldn't be set to that already right?



.
.
.
.
.

Seriously, I could fix this in two seconds with your code. that, and what browser the problem is in. specially cause you mentioned padding. they all like to handle padding differently a lot of the time.

<div problem element>
::all divs inside this element::
</div>

then the css as well

.problem_element{
}
::all divs inside this element::

*all elements as well, not just divs. i mean p's span's, anything with css styling


... Seriously, me best bet is that you have some floats somewhere which aren't being cleared.

like;

div <<-this
div
float float
div
div
div
float
div
div
float float

"this" div, won't know the end of it's content unless every one of those floats are cleared. big thing to remember is to make sure each one of your floats are cleared. guarantee that solves your problem
__________________

potter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote