My page has <p></p>
but it still does not have breaks. Any clue? links is here

- 8,473
- 4
- 39
- 42

- 79
- 1
- 2
- 10
-
Page looks great to me. Where are you having problems? – Jaxkr Aug 20 '12 at 03:36
-
It has been solved, thanks to everyone – makalele Sep 04 '12 at 02:53
3 Answers
<p>
is a paragraph not a line-break. The line break tag is <br>

- 53,191
- 11
- 86
- 129
-
-
@adatapost please read [this](https://stackoverflow.com/a/1946446/1057429) – Nir Alfasi Jun 14 '17 at 07:27
In the event you were talking about pagebreaks 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 pagebreaks, 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.

- 3,758
- 4
- 22
- 33
-
Here's a [*good read*](http://stackoverflow.com/questions/1946426/html-5-is-it-br-br-or-br) – Nir Alfasi Aug 20 '12 at 03:43
-
Oh sorry about that, I forgot to mention you should use XHTML to "guarantee" browser compatability. – awiebe Aug 20 '12 at 03:51
-
That is an interesting point, which is why garentee is in quotes, I can just say how it is supposed to work ( and it does work fine for me all the time,). If the browser manufacturers want botch the interpretation (looking at you microsoft), and the sysadmin is going to misconfigure the webserver, that's to bad. However failing to comply with the standard isn't going to mprove the situation. And users gravitate away from web browsers that don't properly dispaly pages. http://en.wikipedia.org/wiki/File:Wikimedia_browser_share_pie_chart_3.png – awiebe Aug 20 '12 at 04:10
-
My point was that `Very few people actually use XHTML` not that using it will not work with IE (which also supports using `
` over `
`). – Nir Alfasi Aug 20 '12 at 04:16 -
Just because lots of people don't doesn't mean lots of people shouldn't. Many people opted to smoke over not smoking, that didn't make it a good idea, if you are having formatting issues a strict interpreter is the best kind of medicine. – awiebe Aug 20 '12 at 04:24
-
That's like saying that people should drive 20mph cause there'll be less car accidents. The problem is that they won't be able to get anywhere... ;) – Nir Alfasi Aug 20 '12 at 04:26
-
No it's like saying driving way over the speed limit may be benificial in the short run, but a pain in the long run. But sure this cooment section is getting to long, it'd not a forum. – awiebe Aug 20 '12 at 04:36
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!

- 5,273
- 13
- 42
- 71