Reputation: 79
My page has <p></p>
but it still does not have breaks. Any clue? links is here
Upvotes: 4
Views: 23596
Reputation: 3836
In the event you were talking about line breaks that element you want is <br />
and yes the space is required, this is the best way to get a webbrowser to behave when using line breaks, because it complies to XML as well (self-contained tag).
If you mean you wanted more space around your paragraph use CSS to change the style for the 'p' element.
Upvotes: 3
Reputation: 53525
<p>
is a paragraph not a line-break. The line break tag is <br>
Upvotes: 3
Reputation: 5403
In your global.css, the first line reads:
p,caption { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; }
That is telling it not to give your paragraphs any spacing above or below.
So you need to go into http://www.iurecsports.org/pw_files/css/global.css and edit it like so:
caption { margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; }
p { margin:ENTER VALUE; padding:ENTER VALUE; border:0; outline:0; font-weight:inherit; font-style:inherit; font-size:100%; font-family:inherit; vertical-align:baseline; }
Keep in mind that if you set margin to margin:10px
and padding to padding:10px
(for example) your paragraphs will have 10px top, bottom, left, and right margins and padding.
To JUST give it top & bottom margins / padding, set to something like margin:10px 0
and padding:10px 0
.
You'll probably need to play around w/ it to get it looking just the way you want it.
Cheers!
Upvotes: 2