Reply to How to use margin-left with <hr> and <a>

Your name:

Reply:


Posted by Stefan Mueller on 12/09/05 00:00

Because of by background picture I have to use
<body background = "background.jpg" leftMargin = "0" topMargin = "0"
marginWidth = "0" marginHeight = "0">

Therefore I have no margin from the border of the windows. But I'd like to
have a margin.

For a normal text I can do
<div class = "style_text">Bla bla bla</div>

div.style_text {
font-family: verdana, tahoma, arial, helvetica, sans-serif;
font-size: 8pt;
font-weight: normal;
color: #cccccc;
margin-left: 10px;
margin-right: 10px;
margin-top: 10px;
margin-bottom: 10px;
}

But how can I add a margin to
<hr color = "#cccccc">

And how to add a margin to
<a href = "http://www.server.com" class =
"style_link">http://www.server.com</a>

a.style_link {
font-family: verdana, tahoma, arial, helvetica, sans-serif;
font-size: 8pt;
font-weight: normal;
text-decoration: none;
color: #cccccc;
}

Stefan

[Back to original 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

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