#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    24
    Rep Power
    0

    cannot add new effects to css file


    I am working on a site with a stylesheet named sciencetral.css. Now it has a bunch of text effects that show up using the <span class=""> tag. But when I try to add something like a new text effect using the EXACT same format as already in the file, the new text effects are not detected in the page. So I make
    Code:
    .warning {
    
    	font-family: Verdana, Arial, Helvetica, sans-serif;
    
    	font-size: 12px;
    
    	font-style: normal;
    
    	font-weight: bold;
    
    	text-transform: none;
    
    	color: #FE0000;
    
    }
    entry into my stylesheet but then if I try to do a <span class ="warning"> nothing happens and I get the default text. For some reason I can make changes to the existing functions and the effects take place but I cant add any new functions. Can anyone explain why this happens?
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    122
    Rep Power
    11
    Code:
    <span class='myclass'></span>
    Only problem i see is that you put a space between '=' and ''.
    Remove it...
    Helping people will increase your experience & knowledge ! Help them like they help you
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    24
    Rep Power
    0
    Thats not it. I can replace the text in side existing working <span class> tags and experience the same problem
  6. #4
  7. Retired
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Finland
    Posts
    9,143
    Rep Power
    2493
    If this is an external CSS, make sure that you have really refreshed your web-page. Your browser will use the cached version until told to do otherwise.

    HTH

    Cheers,
    Jamie

    >_ skiFFie ? | Twitter

    __________________

    Let the might of your compassion arise to bring a quick end
    to the flowing stream of the blood and tears .....
    Please hear my anguished words of truth.

    __________________
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2003
    Posts
    24
    Rep Power
    0
    Thanks it worked. ( well after a while and a few refreshes my stylesheet (external) updated, so it was becasue of what you said in your post.)

IMN logo majestic logo threadwatch logo seochat tools logo