SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2003
    Location
    Mississauga
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trying to style my submit buttons

    Hi,

    I'm trying to use CSS to style my submit buttons and getting some progress. Been reading online here and I understand there is additional control and given this will be a public site - I gather I may be restricted.

    This was what I wanted

    - Increase the size of the submit button (height and width)
    - Wanted a min width so I could easily align the buttons
    - Text center aligned in the buttons
    - Font color and background

    Probally should use a standard units convention but this is what I have so far

    input.submit {text-align: center; min-width: 75px; background-color: #E7E7CE; color: #771B17; font size: 10pt; line-height: 14pt; }

    - The text-align does not appear to work. Tested in IE6 and NS7
    - The min-width worked in NS7 but not IE6
    - The line-height worked in IE6 but not NS7

    Thanks.

  2. #2
    Non-Member
    Join Date
    Jul 2003
    Location
    California
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use font-size, not font size
    I'm not sure about min-width, use width, it'll have the effect you want ... if text is bigger that the button the button will get bigger


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •