You are here: Re: horizontal lines in a box « HTML « IT news, forums, messages
Re: horizontal lines in a box

Posted by Bernhard Sturm on 08/21/07 11:51

Topaz wrote:
>
> Richard - you issued the challenge, so you are hearing from me (after
> a delay, I admit).
> You forced me to examine my "definition" - it turns out that a <p
> class="...."> is not the same as
> <div class= " ">. The div gives a box which accepts an hr; the p
> does not. Right?

A div and a p element is something definitely different. The p-element
is used to structure text (A paragraph is a semantic element with
respect to content). A div can be used as a block element in order to
provide a layout container. I suggest you start to read some good books
about CSS/HTML.

I believe you are trying to incorporate something like this:

<div>
<p>Your Text here</p>
<hr />
<p>Second part of text</p>
</div>

The <hr /> would then serve as your horizontal separator between the two
paragraphs.

>
> PS What should I use instead of GG? Not OE6 surely?

I use Thunderbird as my News-reader. This is handy enough for me, maybe
others have different choices.

> MFG

does that translates into Mit Freundlichen Grüssen? :-)

bernhard


--
www.daszeichen.ch
remove nixspam to reply

 

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

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