CSS div width 100%
CSS div width 100%
- Started
- Last post
- 6 Responses
- gabriel_pc
I'm trying to make an absolutely positioned div span the entire width of the page. When I set the width to 100% it has a gap on the right side in ie6. Any work arounds for this?
- gabriel_pc0
sorry for the dupe thread, bad net connection, please delete this one!
- versa0
try giving your 'body' a width of 100% as well
the body is also acting as a container for the divs
- mitsu0
set the body margin to 0
- gabriel_pc0
hell yeah, mistu saves the day. Once I set the margin to 0 it snapped right out. thanks!
- gabriel_pc0
mitsu even
- mcLeod0
saw the dupe first and my response was wrong. silly me