September 6th, 2012, 03:23 AM
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:
Style sheet is here (actually it uses two):
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.
Last edited by ban5150; September 6th, 2012 at 03:27 AM.
September 6th, 2012, 04:52 PM
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.
September 7th, 2012, 01:31 AM
Yeah looks like I'm gonna have to figure out why those tags are being generated. Thanks for the response.