• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

<P> tag not working

http://www.necmh.org/body.cfm?lvl1=ltsnew&arc=022011#19

This above page ignores the <p> tag in the article body. I'm baffled as to why. I can copy the same raw source code for the paragraph and it displays in a blank page properly (spaced).

I thought it might have something to do with the attached CSS sheet, but I have no defined css styles regarding the paragraph tag.

Please advise. If you look at the source code of this page, you'll clearly see the <P> tags.
0
day6
Asked:
day6
2 Solutions
 
Carl TawnSystems and Integration DeveloperCommented:
According to the styles in "nec.css" there is a style for "p" elements that sets the margin to zero, which is what has removed all the line breaks between them.
0
 
c_a_n_o_nCommented:
In line 149 of nec.css file, you have

p {
 margin: 0;
}

remove the margin: 0; line or remove the whole statement, the spacing between paragraphs will return.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now