#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    55
    Rep Power
    12

    Arrow Unwanted line break between text and select box


    So as I continue to fine tune some stuff, here's another little thing that I just can't figure out and has been bugging me for like a year.

    Near the top of the page there is a pulldown that says "Last Name." Above it it says "All Time Roster:". Those two things should be on the same line, but no matter what I do it seems an unwanted <P> is being put before the <option> tag of the select box which I would think is causing the line break between the two. I cannot for the life of me figure out where it is getting that, because that <p> certainly isn't in my html. Any help would be great.

    I've tried using display:inline, I've tried margin:0px, but nothing I try seems to work.

    Page is here:

    http://www.lakerstats.com/all-time-roster/

    Style sheet is here (actually it uses two):
    http://www.lakerstats.com/blog/wp-co...ique/style.css
    http://www.lakerstats.com/all-time-roster/?mystique=css

    I don't use IE here at home, so can't check but on Firefox 15.0 for Mac and Safari 5.1.7 it's wrong. I'm sure it's probably wrong on IE too, but I don't have it to check.

    Thanks!
    Last edited by ban5150; September 6th, 2012 at 03:27 AM.
  2. #2
  3. CSS & JS/DOM Adept
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jul 2004
    Location
    USA (verifiably)
    Posts
    20,124
    Rep Power
    4304
    It's likely that the CMS you're using (which seems to be Wordpress) is adding it automatically. There isn't really anything we can do to help here. You would need to give someone access to your CMS to take a look at it.

    P.S. This doesn't have much to do with CSS, so I moved your thread to the HTML forum.
    Spreading knowledge, one newbie at a time.

    Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

    Remember people spend most of their time on other people's sites (so don't violate web design conventions).
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    55
    Rep Power
    12
    Yeah looks like I'm gonna have to figure out why those tags are being generated. Thanks for the response.

IMN logo majestic logo threadwatch logo seochat tools logo