SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Feb 2001
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    While making my last post, I couldn't help but to notice the nice submit buttons on this forum Can anyone tell me how to achieve this? It's so much better than the standard gray buttons.


    thanks

  2. #2
    Non-Member
    Join Date
    Mar 2001
    Location
    Chicago, Illinois
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hiyas! there's two ways to do this.

    the first way is to make the input class in your style sheet, then use standard CSS attributes to define it.

    the second is to make a new class, say ".button". then you define the attributes for this class as well, but you add the class="button" to the input tag. an example?

    <input type="submit" name="submit" value="review this!" class="blue2"> is one of my submit buttons. as you could guess, it's blue

  3. #3
    Non-Member
    Join Date
    Mar 2001
    Location
    Chicago, Illinois
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oh, and my style sheet for that page looks like this:

    a:link{
    color:#003663;
    }
    a:visited{
    color:#0072BC;
    }
    a:hover{
    color:#003399;
    }
    a:active{
    color:#CCCCCC;
    }
    body{
    scrollbar-arrow-color:White;
    scrollbar-base-color:White;
    scrollbar-shadow-color:Gray;
    scrollbar-highlight-color:White;
    scrollbar-face-color:#003663;
    scrollbar-dark-shadow-color:#A9A9A9;
    scrollbar-3d-light-color:White;
    }
    .blue{
    background:#0072BC;
    color:#FFFFFF;
    font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;
    font-size:8pt;
    border : 1px solid Black;
    }
    .blue2{
    background:#0072BC;
    color:#FFFFFF;
    font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;
    font-size:8pt;
    }

    got it? great!

  4. #4
    SitePoint Enthusiast
    Join Date
    Feb 2001
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, you're a big help !! I can't wait to put it to action


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
  •