Forum Moderators: open

Message Too Old, No Replies

Quote Box Won't Float Around Image in Firefox

         

myrrh

1:30 am on Nov 11, 2008 (gmt 0)

10+ Year Member



I'm using what I call a "quote box." I'm not sure of the proper term, but it's like what this forum uses when one wants to quote part of a previous post.

This is how I'm doing it:

<p style="float:left; border:1px solid;>
textheretexthere
</p>

In IE, this does float the box to the left of the adjacent image but in FF, the box is pushed down below the image and is the full width of the container.

How do I get this box to fit to the left of the image in FF?

encyclo

1:35 am on Nov 11, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is the missing apostrophe after the border declaration above also missing in your live code?

myrrh

1:55 am on Nov 11, 2008 (gmt 0)

10+ Year Member



The apostrophe is there in the live code - it did not appear here because I stripped out what I thought was unnecessary and the apostrophe did not get put back in.

The whole thing is:

<p style="float:left; border:1px solid; background-color:#f1ecdc; padding:12px; margin:10px 10px 10px 10px">

essiw

5:34 pm on Nov 11, 2008 (gmt 0)

10+ Year Member



check your code here first: [validator.w3.org...] then fix the errors.

myrrh

10:48 pm on Nov 11, 2008 (gmt 0)

10+ Year Member



I have two errors and two warnings which I am pretty certain would have no effect on the display of the quote box. I cannot correct those errors because my host adds code that causes those errors.