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 July 3rd, 2001, 08:08 AM
reptile reptile is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Switzerland
Posts: 64 reptile User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 8
Form CSS (black border)

I want to get rid of the 3d look of form elements, and I fancy those simple black-border inputs/buttons.

Here are the CSS definitions I use:

.textfield{border:1px #000000 solid; color:#000000; background:#FFFFFF; padding:1px}
.button{border:1px #000000 solid; color:#000000; background:#FFFFFF}

This makes the <input class="textfield" etc> tags look the way I want them to - in IE.
In Netscape 4.6, it results in a square with black border BELOW the form element. Is there a way to get this to work with Netscape?

Reply With Quote
  #2  
Old July 13th, 2001, 05:57 AM
Piper Piper is offline
To understand recursion, you have to understand recursion first!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Germany
Posts: 174 Piper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
You should get used

to the fact that NETSCAPE below ver. 6 just partially (and often in a wrong manner) supports the CSS1 (in words ONE) -standard.

As long as you're just playing with fonts, everything should be fine.
But "difficult" things such as your Form-Elements will make problems in most cases.

Its a pitty but thats the way it is right now ...


BP

Reply With Quote
  #3  
Old July 13th, 2001, 10:17 AM
reptile reptile is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Location: Switzerland
Posts: 64 reptile User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m
Reputation Power: 8
I know..

But what I found rather confusing is that on the page where I copied the CSS from, the inputs just don't have the black border, where on my page they have that ugly square below. The other page has no browser detection or anything like that.

Maybe I'll experiment a little more and then post a more specific question. I just think that in NN things sometimes have not-so-obvious dependencies when it comes to the formatting.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Form CSS (black border)


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