You are here: Re: Div Not Filling Page? « HTML « IT news, forums, messages
Re: Div Not Filling Page?

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация