|
Posted by Neredbojias on 09/28/05 13:02
With neither quill nor qualm, nickolas80@gmail.com quothed:
> 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?
Did you check in more than 1 browser and see the same effect? Els
suggestion of setting the margins and padding to 0 is a must, but IE can
react strangely to some css.
--
Neredbojias
Contrary to popular belief, it is believable.
[Back to original message]
|