By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,738 Members | 1,080 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,738 IT Pros & Developers. It's quick & easy.

Pad or move/space a select box in a css file

100+
P: 200
Hi,

I've changed an existing xslt file, i found this css file but now the css object is not aligned with the other objects - i checked the other objects they are calling templates.

I have added the code in <td align-'left'> but the objects are out by a space to the css object i added:

How do i add a space/move the select box up by a space!, not the text of the selectbox but the entire object

The CSS File
Expand|Select|Wrap|Line Numbers
  1. *{padding-left: 100px;}
  2. .dhx_combo_img{
  3.     position:absolute;
  4.     top:-1px;
  5.     right:-1px;
  6.     width:17px;
  7.     height:20px;
  8. }
  9.  
  10. .dhx_combo_option_img{
  11.     position:relative;
  12.     top:1px;
  13.     margin-left:2px;
  14.     left:0px;
  15.     width:18px; height:18px;
  16. }
  17.  
  18.  
  19. .dhx_combo_input{
  20.     color:black;
  21.     font-family: Arial;
  22.     font-size: 8pt;
  23.     border:0px;
  24.     padding:2px 2px 2px 2px;
  25.     position:absolute;
  26.     top:0px;
  27. }
  28. .dhx_combo_box{
  29.     position:relative;
  30.     text-align:left;
  31.     border:1px solid #CCCCCC;
  32.     height:20px;
  33.     _height:20px;
  34.     overflow:hidden;
  35.     background-color: white;
  36. }
  37. .dhx_combo_list{
  38.    position:absolute;
  39.    z-index:30;
  40.    overflow-y:auto;
  41.    overflow-x:hidden;
  42.    border:1px solid #CCCCCC;
  43.    height:70px;
  44.    font-family: Arial;
  45.    font-size: 8pt;
  46.    background-color: white;
  47. }
  48.  
  49. .dhx_combo_list div{
  50.     cursor:default;
  51.     padding:2px 2px 2px 2px;
  52. }
  53. .dhx_selected_option{
  54.     background-color:navy;
  55.     color:white;
  56. }
  57.  
  58.  
Jan 16 '08 #1
Share this Question
Share on Google+
1 Reply


Death Slaught
100+
P: 1,137
Please post your HTML, without it we can't see the your CSS is styling.


Have you tried

Expand|Select|Wrap|Line Numbers
  1. margin-bottom:0px;
Thanks, Death
Jan 16 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.