SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2003
    Location
    scarborough
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Form Submit Buttons

    I have made the following page

    http://unclesirbobby.110mb.com/helen...p?id=goths%207

    I want to make the form submit buttons on theb right hand side exactly the same size as each other

    Is that possible

  2. #2
    SitePoint Wizard bronze trophy DaveWoods's Avatar
    Join Date
    Dec 2004
    Location
    Derbyshire - UK
    Posts
    2,651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    .bodi input {
     width: 100%;
    }
    Something like that will make the buttons fill their container. You could also apply a width in 'em' so that they're a fix width but this would also allow the button to grow if the text is enlarged... you'd obviously need to make the button wide enough to cater for the text though.

    Hope that helps.

  3. #3
    SitePoint Zealot
    Join Date
    Mar 2003
    Location
    scarborough
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks. much appreciated



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
  •