I have an annoying problem with the site I am developing. This is how I see
the problem appear:
In a paragraph (<P>) I start with an IMG tag that has an 'align=left' OR
'align=right' (with the proper quoting of course). The validator complains
that 'align' is not a proper XHTML attribute but I have not seen a suitable
CSS alternative that works comparatively well.
Then after that paragraph there is a heading (H1/H2/H3/H4) element with
background and there is the problem:
1. On FireFox the paragraph flows nicely on the side (left or right) of the
image (<img align='xxx'/>) but then if the paragraph is not long enough the
following H* element will display as if it was behind the image rather than
AFTER the image.
2. On IE 7 the text does NOT flow nicely around the image, only the first
line is shows beside the image and the rest of the paragraph AFTER the image
but the heading (H*) are properly placed.
See http://clientes.coralys.com/Province...ousPanama.aspx and excuse
some look issues, I am not too concerned about fonts and sizes just yet.
Anybody knows what trick I might need to have this work well on both
browsers? before it used to be ok for both but not anymore.
Emilio
the problem appear:
In a paragraph (<P>) I start with an IMG tag that has an 'align=left' OR
'align=right' (with the proper quoting of course). The validator complains
that 'align' is not a proper XHTML attribute but I have not seen a suitable
CSS alternative that works comparatively well.
Then after that paragraph there is a heading (H1/H2/H3/H4) element with
background and there is the problem:
1. On FireFox the paragraph flows nicely on the side (left or right) of the
image (<img align='xxx'/>) but then if the paragraph is not long enough the
following H* element will display as if it was behind the image rather than
AFTER the image.
2. On IE 7 the text does NOT flow nicely around the image, only the first
line is shows beside the image and the rest of the paragraph AFTER the image
but the heading (H*) are properly placed.
See http://clientes.coralys.com/Province...ousPanama.aspx and excuse
some look issues, I am not too concerned about fonts and sizes just yet.
Anybody knows what trick I might need to have this work well on both
browsers? before it used to be ok for both but not anymore.
Emilio
Comment