You are here: Re: Problems with Borders using CSS « HTML « IT news, forums, messages
Re: Problems with Borders using CSS

Posted by David Berry on 03/28/07 13:45

BACKGROUND-IMAGE is for the BODY Tag. You can't use it for the IMG tag.
See my other reply to you.

--
David Berry
FrontPage Support: http://www.frontpagemvps.com/



<simonbrentford@googlemail.com> wrote in message
news:1175089009.784276.172070@l77g2000hsb.googlegroups.com...
> Inside the CSS file you will find the image. I did another experiment
> and created an almost blank page with just 2 examples with CSS and
> without. The problem still exists.
>
> This is the HTML:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Language" content="en-gb">
> <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
> <meta name="ProgId" content="FrontPage.Editor.Document">
> <meta http-equiv="Content-Type" content="text/html;
> charset=windows-1252">
> <title>New Page 1</title>
> <link href="styleTS.css" rel="stylesheet" type="text/css">
>
> </head>
>
> <body>
> <img class="YelArLL" alt=""><br>Cannot remove border - using CSS<p>
> <img border="0" src="Images/YellowArrowLowerLeftHeader.png" width="16"
> height="14"><br>
> Border - without CSS but not W3C compliant</p>
> </body>
>
> </html>
>
> This is the CSS:
>
> .YelArLL {
> BACKGROUND-IMAGE: url('Images/YellowArrowLowerLeftHeader.png');
> height: 14px;
> width: 16px;
> border: none;
> margin: 0;
> padding: 0;
> }
>
> Its still not working....
> Simon
>

 

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

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