Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 9th, 2003, 01:44 PM
zuzupus zuzupus is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 82 zuzupus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
css in select field

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
http://www.jobboerse.de/cgi-bin/jobs/classifieds.cgi?website=&language=&session_key=&place_front_page=on


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

thanks

Reply With Quote
  #2  
Old July 9th, 2003, 02:45 PM
mugane mugane is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Charlottesville, VA USA
Posts: 425 mugane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to mugane Send a message via Yahoo to mugane
RE: css in select field

try:

<select style="{width:200;font-family : Verdana,Arial;font-size:12;}">

Reply With Quote
  #3  
Old July 10th, 2003, 07:08 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: css in select field

thanks alot

Reply With Quote
  #4  
Old July 10th, 2003, 12:41 PM
mugane mugane is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Charlottesville, VA USA
Posts: 425 mugane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via AIM to mugane Send a message via Yahoo to mugane
RE: css in select field

Try this modified code:
Code:
<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=1 > 
<tr bgcolor="#cccccc"> 
<th nowrap>Von</th> 
<th nowrap>City</th> 
</tr> 
<tr> 
<td align=center valign=center nowrap> 
<select name="von" style="{width:100;font-family:Arial,Verdana;font-size:80%;}"> 
<option>sdsa</option> 
</select><BR>
</td> 
<td nowrap> 
<select name="city"> 
<option>usa</option> 
</select> 
<input type="button" class="button" name="now" size="1" value=">" style="{font-face:verdana;font-size:70%;height:20;width:20;}">
</td> 
</tr> 
</table>


To reduce the size of the button, you can change the height: and/or width: elements in it's style, but remember it CAN be smaller than the text (value) so adjust the font size too.

The best way to achieve consistent alignment is (in my opinion) to put every object in separate table cells.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > css in select field


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT