You are here: Re: Image Border Problems « HTML « IT news, forums, messages
Re: Image Border Problems

Posted by BootNic on 10/01/06 13:02

> Cerebral Believer <nospamthanks@hadenoughalready.com> wrote:
> news: _mJTg.48486$wo3.36419@newsfe7-gui.ntli.net
> Hi folks,
>
> Anyone know why I see a double border around my images (in Netscape &
> Firefox) that use the following code:


That would be the result of giving the img a border as well as its parentNode.

> <td class="valtop" width="1%">
> <a class="lisbut"
[snip]
> <img class="lisbut"
[snip]
> .lisbut {
> border: 1.5px solid #000000;
> }
>
> When I view the pages including this code and referencing the styles
> cited, the borders don't appear wrapped tight to the edge of the
> pictures, and it looks a mess. Any know how to remedy this?

Remove the class from the img parentNode.


--
BootNic Sunday, October 01, 2006 9:02 AM

I had a monumental idea this morning, but I didn't like it.
*Samuel Goldwyn*

 

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

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