Div Not Filling Page?
I have a DIV which I want to completely go from one side of the page to
the other, with not whitespace or margins. I can not seem to get it to
work, it is flush on the left, but leaves about 15px of whitespace on
the right side.
Here is my CSS:
#MidBar {
position: absolute;
height: 50px;
width: 100%;
left: 0px;
top: 110px;
background-color: #0066CC;
right: 0px;
}
and my div:
<div class="MidBar" id="MidBar"></div>
any suggestions?
.
Relevant Pages
- Re: Different number of children in IE, Firefox and Opera
... var output = cell.childNodes.length; ... Isn't the cell at supposed to have 2 children only, div first ... If you remove all the whitespace in between the divs and tds ... Firefox seems to interpret the whitespace as ... (comp.lang.javascript) - Re: Unexpected whitespace following IMG tag
... There is a newline there; that whitespace becomes folded into a single space in the output. ... So, to remove the space, you need to have 0 whitespace between the img and div tags. ... (comp.infosystems.www.authoring.stylesheets) - Re: Unexpected whitespace following IMG tag
... There is a newline there; that whitespace becomes folded into a single space in the output. ... So, to remove the space, you need to have 0 whitespace between the img and div tags. ... (comp.infosystems.www.authoring.stylesheets) - Re:
... and twiddle with the whitespace around your list. ... Is there a way around this?Wrap it in a DIV and set the DIV's style to 'overflow: scroll' and then give ... (microsoft.public.dotnet.framework.aspnet) - Re: How do you hide controls and the whitespace?
... Brian Kitt wrote: ... > have the area become whitespace. ... it could even be a span or div ... Trevor L. ... (microsoft.public.scripting.jscript) |
|