New Posts
Live Radio
Welcome guest, is this your first visit?
  • Login:
LuvinPoker.com Affiliate Program
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Senior Member
    www.theaffiliatelife.com
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    England
    Posts
    1,496
    Blog Entries
    6
    Feedback Score
    31 (100%)

    Default What I'm sure will be a simple question about CSS

    So in my CSS file I've got a class for the <p> tag.

    The wierd thing is, I can't seem to use the <li> tag in any of the paragraphs that are assigned that particular class.

    Is there any reason for this? Do I specifically have to designate an <li> attribute for that p class in order for lists to display properly?

    Does that make any sense?!
    The Affiliate Life <<-- My Affiliate Blog. Feel free to drop by - would welcome your thoughts/comments
    Latest Post: How to set up a Branded YouTube channel & your thoughts on my videos

  2. #2
    Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    75
    Feedback Score
    1 (100%)

    Default

    You mean like this:

    PHP Code:
    <class="yourclass">
       <
    ul>
          <
    li>list item 1...</li>
       </
    ul>
    </
    p
    Depending on exactly what "yourclass" is doing you *may* need to re-specify the behavior you want the list to use, but generally not. You could do this by:

    .yourclass ul li {
    list attributes here
    }

    It sounds more like an html problem though. You are wrapping your <li> tags with <ul> or <ol> right?

  3. #3
    Senior Member
    www.theaffiliatelife.com
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    England
    Posts
    1,496
    Blog Entries
    6
    Feedback Score
    31 (100%)

    Default

    Quote Originally Posted by MewsicLovr View Post

    It sounds more like an html problem though. You are wrapping your <li> tags with <ul> or <ol> right?
    Yeah, I've been doing that.

    Thanks for the code though, I'll give it a shot and see what happens!
    The Affiliate Life <<-- My Affiliate Blog. Feel free to drop by - would welcome your thoughts/comments
    Latest Post: How to set up a Branded YouTube channel & your thoughts on my videos

  4. #4
    Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    75
    Feedback Score
    1 (100%)

    Default

    Is it not creating the list elements at all, or do they not have bullet points?

    List bullet points are controlled using the list-type attribute I think.

  5. #5
    #!/usr/bin/mikebrad
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    697
    Feedback Score
    8 (100%)

    Default

    What, exactly, are you trying to do that would require you to put an <li> tag inside of a <p>? I'm not 100% sure that it will validate to begin with, much less render correctly in every browser, is why I'm asking. Maybe there is another tag that you should be using instead (<dl>, for instance).


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Need a simple logo for a link
    By gerrypolt in forum Advertising
    Replies: 1
    Last Post: 02-09-2010, 11:24 PM
  2. URL Shortner and a simple translator
    By pomp in forum General Poker Affiliate Forum
    Replies: 5
    Last Post: 01-25-2010, 01:58 PM
  3. Simple bonus question
    By Marcelo in forum General Poker Affiliate Forum
    Replies: 19
    Last Post: 10-28-2009, 06:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBulletin® Version 4.1.5
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.0
Affiliate Program Consultant