B
Barry Morris
Hello
I have a cross browser problem that I hope somebody has seen and found a
work-around:
The problem is with an image aligned left the text does not show up on the
page in IE6. The display works properly in IE7, Opera 8.53, FireFox
1.5.0.11 and Netscape 8.1.2.
The image / text is user defined using a web content editor by people with
limited HTML knowledge, so I would like to fix this by coding 'around' the
user supplied code:
Example (Welsh news with a picture in file newyddion.txt) - this is
generated by a content editor and I do not have much control over this:
<P><STRONG><FONT color=#347938>Newyddion </FONT></STRONG></P>
<IMG height=226 alt="" src="pageimages/tracey%20launch%20032_edited1.jpg"
width=300 align=left border=0>
<P>Jane Davidson AC a Tracey Williams Cyfarwyddwraig Safle Swyddi yn parti
lansiad ar Fawrth y 1af</P>
php snippet:
include("Mainheader.tpl");
include("MainMenu.tpl");
if ($LANG == 'w') {
include("newyddion.txt");
} else {
include("news.txt");
} ?>
The code as shown does not display the text (including the word Newyddion -
Welsh for News), however, it is there on the screen and using the mouse to
select the text / image causes the text to appear properly, as too does
resizing the screen ever so slightly. The text is there as white on white!
If I add paragraphs after the text by changing the above php / html to:
include("Mainheader.tpl");
include("MainMenu.tpl");
if ($LANG == 'w') {
include("newyddion.txt");
} else {
include("news.txt");
} ?>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
The page displays properly, i.e. the 'space paragraphs' must go beyond the
image height. Using a single style="clear:both" does not work
As I said I hope somebody has seen this problem before, if not I will try
and create a 'minimal' html + css web page which demonstrated this IE6
problem.
TIA
Cheers
Barry
I have a cross browser problem that I hope somebody has seen and found a
work-around:
The problem is with an image aligned left the text does not show up on the
page in IE6. The display works properly in IE7, Opera 8.53, FireFox
1.5.0.11 and Netscape 8.1.2.
The image / text is user defined using a web content editor by people with
limited HTML knowledge, so I would like to fix this by coding 'around' the
user supplied code:
Example (Welsh news with a picture in file newyddion.txt) - this is
generated by a content editor and I do not have much control over this:
<P><STRONG><FONT color=#347938>Newyddion </FONT></STRONG></P>
<IMG height=226 alt="" src="pageimages/tracey%20launch%20032_edited1.jpg"
width=300 align=left border=0>
<P>Jane Davidson AC a Tracey Williams Cyfarwyddwraig Safle Swyddi yn parti
lansiad ar Fawrth y 1af</P>
php snippet:
include("Mainheader.tpl");
include("MainMenu.tpl");
if ($LANG == 'w') {
include("newyddion.txt");
} else {
include("news.txt");
} ?>
The code as shown does not display the text (including the word Newyddion -
Welsh for News), however, it is there on the screen and using the mouse to
select the text / image causes the text to appear properly, as too does
resizing the screen ever so slightly. The text is there as white on white!
If I add paragraphs after the text by changing the above php / html to:
include("Mainheader.tpl");
include("MainMenu.tpl");
if ($LANG == 'w') {
include("newyddion.txt");
} else {
include("news.txt");
} ?>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
The page displays properly, i.e. the 'space paragraphs' must go beyond the
image height. Using a single style="clear:both" does not work
As I said I hope somebody has seen this problem before, if not I will try
and create a 'minimal' html + css web page which demonstrated this IE6
problem.
TIA
Cheers
Barry