HTML & CSS
Not sure what's going on here. I have some drop down select boxes that I'm trying to apply some right hand padding to, but its not being applied in any version of IE.
If I apply top, bottom, left and right padding, the other three are fine, which makes it all the more odd, as presumably IE is seeing the CSS correctly.
The page is here:
The main CSS is here:
And the rule is :
margin: 0px 0px 0px 0px;
font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
width : 167px; /* Resize Width */
border:1px solid #D1E4F6;
If anyone can spot what's causing this that would be much appreciated, as its been driving me nuts!
Thank you. (and Happy Christmas!)
As an example, select Argentina from the first selectbox, and the operator shown below (Personal (Telecom Argentina), Argentina) has the right padding applied in any browser other than IE, but doesn't in IE, where it runs right to the edge of the box.
You could try to add :
Thanks for the suggestion - unfortunately that didn't fix it though.
Padding still isn't correct. It looks better tho! I guess some things just cant be fixed in a proper way with IE =(
What issue are you still seeing with the padding?
I know the text runs all the way to the right hand side in IE and ideally would have a little padding there, but I think its something I can live with....
I guess I could try to fix that with a background image in the containing <DIV>, but it'll probably turn into a pain getting it to line up everywhere!
Actually - is it the drop down lists appearing shunted to the right of the initial row with the arrow? I had thought that was only in IE7, but now looks like its in all the IEs.
OK - a negative margin-left value seems to have fixed that misalignment - in IE7 and 8 at least. (IE9 on my virtual box (I'm on a Mac) has died)
This topic is now closed. New replies are no longer allowed.