Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Today's Posts

Reply
Thread Tools Display Modes
Unread 01-16-2008, 02:34 PM
ISMAILC ISMAILC is offline
Member
Join Date: Dec 2007
Posts: 45
  #1  
Question Pad or move/space a select box in a css file

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
Code:
.dhx_combo_img{
	position:absolute;
	top:-1px;
	right:-1px;
	width:17px;
	height:20px;
}

.dhx_combo_option_img{
	position:relative;
	top:1px;
	margin-left:2px;
	left:0px;
	width:18px; height:18px;
}


.dhx_combo_input{
	color:black;
	font-family: Arial;
	font-size: 8pt;
	border:0px;
	padding:2px 2px 2px 2px;
	position:absolute;
	top:0px;
}
.dhx_combo_box{
	position:relative;
	text-align:left;
	border:1px solid #CCCCCC;
	height:20px;
	_height:20px;
	overflow:hidden;
    background-color: white;
}
.dhx_combo_list{
   position:absolute;
   z-index:30;
   overflow-y:auto;
   overflow-x:hidden;
   border:1px solid #CCCCCC;
   height:70px;
   font-family: Arial;
   font-size: 8pt;
   background-color: white;
}

.dhx_combo_list div{
	cursor:default;
	padding:2px 2px 2px 2px;
}
.dhx_selected_option{
	background-color:navy;
	color:white;
}
Reply With Quote
Unread 01-17-2008, 05:15 AM
Admin
Posts: n/a
  #2  
Default

Can you post the corresponding HTML?
Reply With Quote
Unread 01-17-2008, 02:51 PM
ISMAILC ISMAILC is offline
Member
Join Date: Dec 2007
Posts: 45
  #3  
Question XSLT object out by a space

Hi, Thaks for the help

I imported the css file for my dropdowns, but it does not align with the other objects in my xslt.

I checked the imported css file for dropdown & it's aligned left
but somehow I other objects are out by 2 spaces.

The imported dropdwon does not allow for any characters or objects next to it - so i can't add a space at it moves to a new line
All objects with new dropdown are aligned to left but still out - how & where can i edit the template of the other objects to move to the left!

Or add a space to the CSS border move

<td width='30%' align="left">
<xsl:call-template name="CreateObject">
<xsl:with-param name="Object" select="$nextNode" />
</xsl:call-template>
</td>

Regards
Reply With Quote
Unread 01-17-2008, 11:16 PM
Admin
Posts: n/a
  #4  
Default

Well, can you post the html output from your XSLT?

Also, what browsers are causing the problems?
Reply With Quote
Unread 01-18-2008, 08:26 AM
ISMAILC ISMAILC is offline
Member
Join Date: Dec 2007
Posts: 45
  #5  
Smile Got it going!

Thank You

My imported css file(drop down) was not aligning with other objects in my xslt.

fixed it by adding : margin-left:3px; in my css file


Regards
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:31 PM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.