Jump to content

[SOLVED] Select Padding


tinker

Recommended Posts

Hi, I wrote some development code using class level css, this was applied to a html 'select' element. The 'padding' attribute was accepted fine. However when moving over to my site (presumably because of w3c tag) it is ignored. What should be used instead?

.select_img
{
background-repeat: no-repeat;
padding:3;
text-align:right;
}

 

P.S. I'm putting images in the background:

...
<option class='select_img' style='background-image:url(".$base."myimg.gif);'>The Choice</option>
...

Link to comment
https://forums.phpfreaks.com/topic/89846-solved-select-padding/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.