CSS for select field

liunx

Guest
hi,
how can i set css for select specially size
<select size="1"> or <select>
<option>asd</option>
</select>
is it possible to make the look of this combo and the size of fonto similar no matter u change the resolution of ur system.

as i have seen the diff. initially i had resolution of 1152*864 pixel this combo look change when i made my system resolution to 1280*1024 pixel.color as true color(24bit)then i made script size as big letter,then i have noticed asd value becomes bold

is it possible that if i write something in css for combo it looks similar no matter i change the resolution,
is it also possible to reduce width of combo and the font size should also be small similar like this link
<!-- m --><a class="postlink" href="http://www.jobboerse.de/cgi-bin/jobs/classifieds.cgi?website=&language=&session_key=&place_front_page=on">http://www.jobboerse.de/cgi-bin/jobs/cl ... nt_page=on</a><!-- m -->


hope its clear exactly i just want the combo size and font size in above link

thanksIf you want exactly what they have here it is:

SELECT{
BACKGROUND-COLOR : #eeeeee;
BORDER-BOTTOM-COLOR : #3c3c3c;
BORDER-BOTTOM-WIDTH : 1px;
BORDER-LEFT-COLOR : #3c3c3c;
BORDER-LEFT-WIDTH : 1px;
BORDER-RIGHT-COLOR : #3c3c3c;
BORDER-RIGHT-WIDTH : 1px;
BORDER-TOP-COLOR : #3c3c3c;
BORDER-TOP-WIDTH : 1px;
COLOR : #3c3c3c;
FONT-FAMILY : Arial, Helvetica, sans-serif;
FONT-SIZE : 11px;
}Thanks alot its incredibly awesome do you have any css forarding button as now ,in my form button looks different with combo in same table,it looks awkward imean to say the alignment is not proper when compared von combo with city combo,the look for von is ok but the city is sligtly down when comes to alignment.also how i can reduce size of button

please copy the below code then u can see the difference
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1 >
<tr bgcolor="#cccccc">
<th nowrap>Von</th>
<th nowrap>City</th>

</tr>
<tr>
<td nowrap>
<select name="von">
<option>sdsa</option>
</select>
</td>
<td nowrap>
<select name="city">
<option>usa</option>
</select>
<input type="button" class="button" name="now" size="1" value=">" >
</td>
</tr>
</table>
i used css for button
input.button{
font-family: Arial, Helvetica, Sans-Serif;
font-size: 10pt;
font-style: normal;
font-weight: 400;
background-color: #CC6600;
color: rgb(0, 0, 0);
}


thanks in advanceI think you can specify a width in the select tag

<select style="width:100px;"...>

But i'm not sure. There's a thread somewhere discussing it.yaa ur right still its not working and i checked the thread but unfortunatley i couldnt seen if i use style="width:100px;" then width of combo increases that i dotn want,only alignment problem in table may be u wont see clearly in two fields but if u take more than 10 cols.then u will see the alignment is nt proper

thanks
 
Back
Top