You are here: Re: New to CSS....simple question maybe « HTML « IT news, forums, messages
Re: New to CSS....simple question maybe

Posted by Bergamot on 12/20/07 14:07

Jonathan N. Little wrote:
>
>
> img.featurectr {
> border-width: 0px; <-- try "border: 0;"

Why? border-width:0; removes the border. Changing it to the border
shorthand property doesn't make any difference, it's just a few less
keystrokes.

> margin: 15px auto; <-- if you change images back to inline use
> padding not margin

FYI, margin works on inline images, too. The auto value won't center it,
of course, but margin:15px; will still put space between images. Using
padding instead only affects collapsing margins, at least in this case.

--
Berg

 

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

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