You are here: Re: Solid line - need to start 15px in « HTML « IT news, forums, messages
Re: Solid line - need to start 15px in

Posted by Noozer on 06/18/58 11:16

"tshad" <tscheiderich@ftsolutions.com> wrote in message
news:pvMie.576$mK.275@newssvr13.news.prodigy.com...
> I have the following style that puts a solid line on the top of the cell.
>
> style="border-right-width: 1; border-top-width: 1; border-bottom-width: 1;
> border-top-style:solid"
>
> The text is actually 15px in from the cells left border:
>
> <p style="margin-left: 15px">
>
> Is there a way to have the line start 15px in also?
>
> It's not a big deal, it just kind of hangs over the edge and it would be
> nice to have it line up with the text.

style = "border:none; border-top: solid 1px black;margin:15px;padding 0;"

???

Of course IE and Mozilla treat padding and margins differently. Also the
above is from memory so may not work at all.

 

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

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