Solved

<P> tag not working

Posted on 2011-03-02
2
325 Views
Last Modified: 2012-05-11
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
Comment
Question by:day6
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 400 total points
ID: 35022204
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
 
LVL 10

Assisted Solution

by:c_a_n_o_n
c_a_n_o_n earned 100 total points
ID: 35022209
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question