On Feb 18, 2007, at 4:54 PM, Vinayakam Murugan wrote:

> We are developing web applications for a kiosk type environment.  
> The browser
> used is Firefox 1.5. Due to various system constraints, images take  
> some
> time to load up on the screen. We have noticed that the image area  
> has a
> border around even though border has been specified as none. Similar
> behaviour can be seen when an invalid image source is displayed  
> like below.
>
> <img style="height:100;width:200;border:none" src="non- 
> existent.gif" alt="
> ">
>

Your html documents are in QuirksMode I presume?
That 'border' is a hard-coded image place-holder and can't be removed  
in QuirksMode afaik.
Try using a DocType that triggers StrictMode (Standard Compliance  
Mode) in Gecko.
At the minimum, start your pages with:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
or even
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

BTW, in Standard Compliance Mode your code snipped would be invalid,  
you'll need to specify an unit for width and height, like so:
img style="height:100px;width:200px;border:none"

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to