You are here: Re: Creating a dashed line « HTML « IT news, forums, messages
Re: Creating a dashed line

Posted by Beauregard T. Shagnasty on 07/13/05 19:29

John Abbler wrote:
> I added these lines to my stylesheet:
>
> testelement {
> border-top: 3px dotted #000000;
> margin-top: 5px;
> }

That's incorrect CSS.

> The I tried to add this to my document:
> <testelement />

You can't make up HTML elements. :-(

Try this:

CSS:

..dashes {
border-top: 3px dashed #000000;
margin-top: 5px;
}

HTML:

<hr class='dashes'>

Alter to suit. Maybe even add a width in em or something.
width: 10em;

And please don't top-post.

--
-bts
-This space intentionally left blank.

 

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

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