472,365 Members | 1,746 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,365 software developers and data experts.

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

200 100+

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. }
  10. .dhx_combo_option_img{
  11.     position:relative;
  12.     top:1px;
  13.     margin-left:2px;
  14.     left:0px;
  15.     width:18px; height:18px;
  16. }
  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. }
  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. }
Jan 16 '08 #1
1 2221
Death Slaught
1,137 1GB
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

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

Similar topics

by: sandeep G | last post by:
I've a table which has a number & a blob column, both of which are NOT NULL type. This table is composite partitioned using range & hash on the same column. Each partition is sub partitioned into...
by: Ray Tayek | last post by:
hi, trying to convert some csv files into xsml and pulling a few hairs out :(. using the files below. a java program will parse the csv and take care of strange names and notes that line breaks in...
by: Mark Miller | last post by:
I have a scheduled job that uses different XSL templates to transform XML and save it to disk. I am having problems with the code below. The problem shows up on both my development machine (Windows...
by: Galina | last post by:
Hello I have an Access 2000 application. The form has got a tab with 3 pages. There are several text boxes and command buttons on one page. I need to move them to another page (to free form space...
by: Kevin Bartz | last post by:
-----Original Message----- From: Kevin Bartz Sent: Monday, August 09, 2004 10:37 AM To: 'mike@thegodshalls.com' Subject: RE: Out of swap space & memory Thanks for your reply, Mike!...
by: Eric | last post by:
When i run my query it transfer last 4 digits of account number from one table to another and its wrong. There are two tables one i use for parsing. Second thru query i use to move data from temp...
by: tcfin | last post by:
Hi, i have a problem to make a transtype from field XX varchar(20), example : 19 200 340,56 to field YY integer, required : 19200340
by: stefan.albert | last post by:
Hi folks, we have 3 instances where a table space (good old SMS) lives in the wrong directory. Normally I simply would create a new one and do a INSERT ... SELECT for all tables (or a load ......
by: michels287 | last post by:
Right now I have a touchscreen with a virual keyboard. I would like to create arrow keys. If the user messed up the inputted text, he can move the blinking cursor left one space at a time between...
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and credentials and received a successful connection...
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.