Results 1 to 6 of 6

Thread: (HTML & CSS) My class tag won't work. **Resolved**

Threaded View

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (HTML & CSS) My class tag won't work. **Resolved**

    In my style in the head of the document I have:
    Code:
    .button (background-color:#cccccc; text-decoration:none; text-align:center;}
    In the body down below I have the elements:
    Code:
    <span class="button">test</span>
    <a href="#" name="reservationfind" id="reservationfind" class="button" onClick="findRes()">Find</a>
    <a href="#" name="reservationnew" id="reservationnew" class="button" onClick="findRes()">New</a>
    <a href="#" name="reservationNavBack" id="reservationNavBack" class="button" onClick="resNav('back')"><<</a>
    <a href="#" name="reservationNavForward" id="reservationNavForward" class="button" onClick="resNav('forward')">>></a>
    they are unaffected.
    What gives?
    Michael
    Last edited by msimmons; Sep 16th, 2002 at 10:49 AM.
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

Posting Permissions

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



Click Here to Expand Forum to Full Width