Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 CSS Styling of <input type="file" />
Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Martin




PostPosted: Mon Nov 21, 2005 12:29 am   Post subject: CSS Styling of <input type="file" />

I've gotten it to work in IE, but in Firefox my styles have no effect. So what am I doing wrong?

Here's the css I'm using:
code:
input {
        border:1px solid #000;
    margin: 0px 0px 0px 1px;
}


Thanks in advance.
Sponsor
Sponsor
Sponsor
sponsor
rdrake




PostPosted: Mon Nov 21, 2005 4:19 pm   Post subject: (No subject)

You're doing nothing wrong, it looks like a problem with Firefox.

If you try the following CSS then you will notice that the colour does have an effect on the tag, it just doesn't seem to get rid of the 3d effect it has. Instead of being a single line border, it's a single line border around the 3d effect. Check it out to understand what I'm talking about.
code:
.thisone {
   border: 1px solid #ff0000;
   margin: 0px 0px 0px 1px;
}
Doesn't look like there's much of a solution to it.
Amailer




PostPosted: Mon Nov 21, 2005 6:31 pm   Post subject: (No subject)

try
code:

input.mybox {
   border: 1px solid #ff0000;
   margin: 0px 0px 0px 1px;
}




Wait nevermind, that doesn't work either...
His right; can't seem to get rid of it the 3dnessness.

Might want to check out "Styling an input type='file'"
Display posts from previous:   
   Index -> Graphics and Design, Web Design -> (X)HTML Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: