You are here: Re: firefox/css - border around body « HTML « IT news, forums, messages
Re: firefox/css - border around body

Posted by Mark Parnell on 11/26/56 11:17

Previously in alt.html, Rovin <rovin@vanir.cjb.net> said:

> I am trying to create a border around a frame.

Tut, tut. Frames bad.

> So, in the CSS file I have defined:
>
> body
> {
> ...
> border: solid 1px #555555;
> }

Um, that's a border around the body, not a frame. But at least that
means you're not using frames. Whew!

> In IE this works fine,

Depends on your definition of "fine".

> but in FireFox it only works well with "height:
> 100%;" included, otherwise it just draws a border around the filled part
> of the body.

Possibly depends on whether you are triggering quirks or standards mode.
URL?

> That however produces another problem. An ugly scrollbar to
> the right which I only want if the content is too large.

As will your users.

> Any ideas for a solution?

Add more content.

--
Mark Parnell
http://www.clarkecomputers.com.au
alt.html FAQ :: http://html-faq.com/

 

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

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