You are here: Re: Simple question regarding the floating of <divs>... « HTML « IT news, forums, messages
Re: Simple question regarding the floating of <divs>...

Posted by Philip on 06/23/06 14:10

In article <1151067591.924024.126840@u72g2000cwu.googlegroups.com>,
joshbeall@gmail.com wrote:

> Thanks for the suggestions. Both work, but the drawbacks I see are:
>
> -If I set the margin on the ContentHeader class, then any headers that
> appear below the login box in the text will not have a bottom border
> that goes all the way to the right. Not quite what I want.
> -If I set the background color, then the border may have the appearance
> of going underneath the login box, and will "come out the other side."
> Also not what I want.
>
> But if those are simply the "way it works" I will work within those
> contraints. Just thought I'd check to see if there were other
> options...?

OK, then wrap the login box in another DIV, so you have this:

+------------------------------+
| |
| +-------------------+ |
| | | |
| | login box | |
| | | |
| | | |
| +-------------------+ |
| |
+------------------------------+


You can play with the margins on the outer box to achieve an effect you
like.

--
Philip
http://NikitaTheSpider.com/
Bulk HTML validation, link checking and more

 

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

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