Jump to content

Cre8asiteforums Internet Marketing
and Conversion Web Design


Photo

<ol> To Wrap Around A Div That Is Floated


  • Please log in to reply
2 replies to this topic

#1 coqui

coqui

    Whirl Wind Member

  • Members
  • 59 posts

Posted 15 May 2008 - 08:27 AM

Can anyone tell me how I can fix the following to work in FF

Trying to get the text within and <ol> to wrap around a div that is floated
right.

Works as I want it in IE6

If I take the text out of the <ol> then it wraps OK in FF

http://www.visit-the...6/design_2.html

CSS http://www.visit-the..._6/design_2.css

#2 fisicx

fisicx

    Sonic Boom Member

  • Hall Of Fame
  • 1878 posts

Posted 15 May 2008 - 09:02 AM

If you put a border round the <ol> you will see that FF has got it right. the <ol> fills the available space until it hits the right floated news and will go no further.

Try putting the news div inside the <ol> tag and see what happens.

Or you could just remove the OL and number the paragraphs so that the font style matches the paragraph headers.

This is why it's always better to test in FF and hack for IE.

#3 coqui

coqui

    Whirl Wind Member

  • Members
  • 59 posts

Posted 15 May 2008 - 01:01 PM

@fisicx

Thanks for the reply

I know that FF is displaying it correctly, but was not sure if I was just missing something to make it wrap.

Thanks again



RSS Feed

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users