You are here: Re: Image not visible in Firefox « HTML « IT news, forums, messages
Re: Image not visible in Firefox

Posted by Jukka K. Korpela on 10/18/76 11:54

kronrn@yahoo.com <kronrn@yahoo.com> scripsit:

> I wonder if anyone could help me. This html doesn't show the image
> (the background-image) in the second column in Firefox.

If you insert, for testing, <img src="url(images/bg1.jpg)" alt="Huh?">,
you'll see whether Firefox can get the image in the first place. But...

> <table border="0" cellpadding="0" cellspacing="0" style="height:
> 70px"> <tr>
> <td valign="top" colspan="2"><img id="ctl00_Header1_imgLogo"
> src="images/Logo1.jpg" style="border-width:0px;" /></td>
> <td width="100%"
> style="background-image:url(images/bg1.jpg);">&nbsp</td></tr>
> </table>

.... you should probably start from fixing the markup. Why are you using such
bulky presentational trickery if you are using CSS anyway? And invalid
markup at that. Is this logically the main heading? Use <h1> then, and style
it. Or is it just a logo bar that appears at the start of every page? Using
<div class="logo"><img alt="...." src="..." ...></div> with a little bit of
CSS should suffice then. There's hardly any need to use a layout table here.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация