|
|
 |
Re: FN-FORUM: css question
date posted 20th March 2006 22:30
where did clear:both; come from ?
[EMAIL REMOVED] wrote:
>This fixes it for IE but not Firefox - any idea why it doesn't for Firefox?
>Give me tables any day even though I agree that you shouldn't use them - Pam
>
>
>
>#main {
> width:580px;
> background-color: #FFFFFF;
> border: 1px solid #6A5EB8;
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 100%;
> color: #322B60;
> text-align: left;
> float: left;
> clear: both;
>}
>#navigation {
> position: relative
> width: 180px;
> right: 580px;
> background-color: #FFFFFF;
> border: 1px solid #6A5EB8;
> font-family: Verdana, Arial, Helvetica, sans-serif;
> font-size: 100%;
> color: #322B60;
> float: right;
> clear: both;
>}
>----- Original Message -----
>From: "Adam Robertson" [EMAIL REMOVED]
>To: [EMAIL REMOVED]
>Sent: Monday, March 20, 2006 10:16 PM
>Subject: Re: FN-FORUM: css question
>
>
>
>
>>
>>
>>>#main {
>>>width:580px;
>>>background-color: #FFFFFF;
>>>border: 1px solid #6A5EB8;
>>>font-family: Verdana, Arial, Helvetica, sans-serif;
>>>font-size: 100%;
>>>color: #322B60;
>>>text-align: left;
>>>}
>>>#navigation {
>>>position: relative
>>>width: 180px;
>>>right: 580px
>>>background-color: #FFFFFF;
>>>border: 1px solid #6A5EB8;
>>>font-family: Verdana, Arial, Helvetica, sans-serif;
>>>font-size: 100%;
>>>color: #322B60;
>>>}
>>>
>>>
>>>
>>Add this to both of the above
>>
>>float:left;
>>
>>
>>remember to use
>>
>>clear:left;
>>
>>if you add another div that sits below these...
>>
>>that should fix it
>>
>>--
>>
>>
>
>
>
>
|
 |
|