CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

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 Dev Shed Forums Sponsor:
  #1  
Old September 10th, 2003, 05:37 AM
c0p0n's Avatar
c0p0n c0p0n is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Spain
Posts: 111 c0p0n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 10 sec
Reputation Power: 6
CSS on form objects problem

I do extensive CSSing on the web I am building at this moment.
I have a little problem when doing some styles on <input> form objects.
I want the input text boxes to have a certain bgcolor and 1px border. But I have a problem on this:
if I do:
PHP Code:
 input
    
{
    
font-familyVerdanaArialHelveticasans-serif;
    
font-size9px;
    
background#CFE200;
    


I got what I want, with the exception of that the border has a default size.
then, I do this:
PHP Code:
 input
    
{
    
font-familyVerdanaArialHelveticasans-serif;
    
font-size9px;
    
background#CFE200;
    
border1px;
    } 

The borders are gone. I tried with border: 10px, to get an extreme result but the input textboxes remain borderless.
But If I remove the background color tag, the border appears. An image showing this:

Reply With Quote
  #2  
Old September 10th, 2003, 07:01 AM
smc1978 smc1978 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: UK
Posts: 11 smc1978 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
That should work.

input
{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
background: #CFE200;
border-style:solid;
border-width:1px;
}

Reply With Quote
  #3  
Old September 10th, 2003, 09:07 AM
c0p0n's Avatar
c0p0n c0p0n is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Spain
Posts: 111 c0p0n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 10 sec
Reputation Power: 6
it does, thx

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS on form objects problem


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 4 hosted by Hostway