<p> tag after horizontal line

W

Wally S

My site is a news site, and the home page is made up of teasers from the
most recent articles separated by horizontal lines. Under the horizontal
line is the title of the next article. When I drop in a new teaser with a
horizontal line, I find that sometimes the next title has a <p> before it
and a </p> after it and sometimes not.

I would like them to all be the same because the <p> tag adds a line space,
and therefore the page has uneven spacing.

Does the <p> tag serve any useful purpose here? Is it needed for older
browsers? So far I haven't gotten any complaints from my readers.

The URL is http://www.dipika.org

Thanks,

Wally S
 
S

Stefan B Rusynko

All content must be in a valid html container tag such as a <p> or <td> tag


--




| My site is a news site, and the home page is made up of teasers from the
| most recent articles separated by horizontal lines. Under the horizontal
| line is the title of the next article. When I drop in a new teaser with a
| horizontal line, I find that sometimes the next title has a <p> before it
| and a </p> after it and sometimes not.
|
| I would like them to all be the same because the <p> tag adds a line space,
| and therefore the page has uneven spacing.
|
| Does the <p> tag serve any useful purpose here? Is it needed for older
| browsers? So far I haven't gotten any complaints from my readers.
|
| The URL is http://www.dipika.org
|
| Thanks,
|
| Wally S
|
|
|
|
 
A

Andrew Murray

<p> is the standard html tag for paragraph (if you're coding by hand) or its the
equivalent of two 'taps' of the enter
key, and, as you say, it leaves a blank line. So yes, it is necessary because
it is standard html

Frontpage seems to put the </p> after an <hr> ('horizontal rule') so to give a
good clearance between the <hr> and the next line of text, or whatever follows.

You'd need to go into the code view to tidy this up if you want, because its a
bit difficult removing the extra <p> tags in design view.
 
K

Kevin Spencer

See Stefan's answer.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top