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

Posted by John Abbler on 07/13/05 18:47

Hi Roy,

Thank you for the quick response!

I am trying to implement your suggestion, but must confess I don't know how
to embed the element in my document.

I added these lines to my stylesheet:

testelement {
border-top: 3px dotted #000000;
margin-top: 5px;
}

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

But, I'm not having luck yet. Am I implementing this correctly?

Thanks, again.

"Roy Schestowitz" <newsgroups@schestowitz.com> wrote in message
news:db39q2$215e$2@godfrey.mcc.ac.uk...
> John Abbler wrote:
>
>> Does anyone know how to create a horizontal dashed line?
>>
>> I would like something similar to a <hr>, except dashed, and I want to
>> set
>> the color.
>>
>> Thanks!
>
> ELEMENT {
> border-top: 3px dotted #000000;
> margin-top: 5px;
> }
>
> Change ELEMENT to something currently unused; change colour and margin as
> it
> suits you. Then embed the element in your document where you want to
> insert
> a line.
>
> Hope it helps,
>
> Roy
>
> --
> Roy S. Schestowitz
> http://Schestowitz.com

 

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

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