Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Styling the input tag
Old 12-10-2007, 03:41 AM Styling the input tag
Thort's Avatar
Average Talker

Latest Blog Post:
Popular Foxglove
Posts: 19
Location: Sweden
Trades: 0
Hi!

I have a problem styling the input tag. In Firefox it looks alright, but not in Internet Explorer.

Here is the tag:

<input style="padding:0px" type="button" value="This is a testbutton" />


In Firefox the button looks like this:

This is how I want it to be. No left and right padding.


But in Internet Explorer there is this left and right padding:



How do I make the button look as in Firefox, with no padding beside the text?
__________________
Thor


Please login or register to view this content. Registration is FREE
Thort is offline
Reply With Quote
View Public Profile Visit Thort's homepage!
 
 
Register now for full access!
Old 12-10-2007, 07:28 AM Re: Styling the input tag
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
padding doesn't apply to buttons. Use width to adjust
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-11-2007, 03:43 AM Re: Styling the input tag
Thort's Avatar
Average Talker

Latest Blog Post:
Popular Foxglove
Posts: 19
Location: Sweden
Trades: 0
Thanks chrishirst!

I followed your advice and maid an individual styling for each of my 14 buttons. Now, they look as I want.

__________________
Thor


Please login or register to view this content. Registration is FREE
Thort is offline
Reply With Quote
View Public Profile Visit Thort's homepage!
 
Reply     « Reply to Styling the input tag
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.28714 seconds with 12 queries