Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Float Right Weirdness In Firefox...
Hi,
On my site delisimo I have an area at the bottom of my posts called #info in my CSS. Within it I have the date which I want to be on the left and the Comments link which I want to be on the right.
I’ve created a class called right with info using the following CSS
#info .right {
float: right;
}
Which works fine in Safari; the comments link floats on the right and stays within the #info box.
However in Firefox it drops down a line as it where and so half way out of the #info box.
I’m at the limits of my meagre CSS – what do I need to do to make the Comments link stay within the info box in Firefox?
Many thanks
David
David Hughes
davidhughes.org
Offline
#2 2006-01-15 23:38:53
- NyteOwl
- Member
- From: Nova Scotia, Canada
- Registered: 2005-09-24
- Posts: 539
Re: Float Right Weirdness In Firefox...
This can happen due to the way floated elements are cleared and non-floated data is flowed. Try putting the right hand span at the beginning of the div info ahead of the non-floated data.
Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;
Offline
Re: Float Right Weirdness In Firefox...
Perfect!
Thanks very much.
That’s a bit weird really but works :-)
Thanks
David
David Hughes
davidhughes.org
Offline
Pages: 1