1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Why are my line breaks & <p> tags not working???

Discussion in 'HTML & Website Design' started by WD03DKN, Jan 27, 2009.

  1. #1
    Hey Guys,

    Im using a theme called ShowcaseTheme for my wordpress installation and am having an issue with regards to linebreaks and <p> tags in my post.

    As you can see from the code below:
    <p style="text-align: left;">We are proud to present one of our most popular websites, dedicated to the music and acting career of teen sensation from Disney's hit series, Hannah Montana. Its no other than <a href="http://www.mileycyrus-online.co.uk" target="_blank"><strong>Miley Cyrus</strong></a>.</p>
    <p style="text-align: left;"></p>
    <p style="text-align: left;">Features of the site include:</p>
    <p style="text-align: left;"></p>
    
    <ul style="text-align: left;">
    	<li> Daily New &amp; Updates</li>
    	<li>Photo Galleries</li>
    	<li>Song Videos &amp; Lyrics</li>
    	<li>Polls &amp; Quiz's</li>
    </ul>
    And much more... If you like Miley Cyrus, head over and check us out at www.mileycyrus-online.co.uk
    Code (markup):
    <p> tags & <li> tags are clearly there on the page, but upon viewing the page, no linebreaks are there, and all the bullet points are gone.

    Page URL: http://iconicflair.com/?p=3

    Your advice will be very much appreciated.
    Andrew
     
    WD03DKN, Jan 27, 2009 IP
  2. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Because you have styling for the ul tag in your css file. You also forgot to close a <p> as you have a blank open <p style="text-align: left;">
     
    mjewel, Jan 27, 2009 IP
  3. WD03DKN

    WD03DKN Peon

    Messages:
    98
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks very much for that. I found the offending CSS styles and the problem has now been sorted.

    Thank you for your advice!!
     
    WD03DKN, Jan 27, 2009 IP