johngordon — 2011-12-26T08:16:33-05:00 — #1
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!)
johngordon — 2011-12-26T08:51:58-05:00 — #2
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.
pvdptje — 2011-12-26T09:00:57-05:00 — #3
You could try to add :
johngordon — 2011-12-26T09:11:06-05:00 — #4
Thanks for the suggestion - unfortunately that didn't fix it though.
johngordon — 2011-12-27T08:29:50-05:00 — #5
pvdptje — 2011-12-27T08:31:52-05:00 — #6
Padding still isn't correct. It looks better tho! I guess some things just cant be fixed in a proper way with IE =(
johngordon — 2011-12-27T08:35:48-05:00 — #7
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!
johngordon — 2011-12-27T08:45:43-05:00 — #8
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.
johngordon — 2011-12-27T09:11:48-05:00 — #9
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)
system — 2014-10-07T21:41:51-04:00 — #10
This topic is now closed. New replies are no longer allowed.