You are here: How to imitate a line 1 pixel thick? « HTML « IT news, forums, messages
How to imitate a line 1 pixel thick?

Posted by marss on 07/11/07 09:37

<hr style="height:1px"/> does not fit because although a line looks
like it has 1 pixel with but there are empty spaces above and below
line. It can be seen if place two HR elements beside.
<hr style="height:1px"/>
<hr style="height:1px"/>


I tried also <div style="height:1px;font-size:1px;background-
color:black;"></div> but a line was 2 pixel thick :(

Help, if you can.
Mykola
http://marss.co.ua

 

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

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