Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Feb 2005
    Location
    Portland, Oregon
    Posts
    93
    Member #
    8959
    I am trying to add pseudo-class as an external link in my HTML file.

    Code:
    a.emphasis:link {color: #999999; text-decoration: underline; }
    a.emphasis:visited {color: #999999; text-decoration: underline; }
    a.emphasis:active {color: #733522; text-decoration: underline; }
    a.emphasis:hover {color: #733522; text-decoration: underline; }
    Reading <div class="edgetopw"> works with reading the #edgetopw from an external css file. however, wheen doing pseudo-classes, i wonder how that can work, as in to link?

    In HTML, I have it as:

    Code:
    {if $Special.Emphasis == "Y"}
         <div class="edgetopw"> *******pseudo-classes to be inserted here*****
    {else}
          <div class="edgew">
    {/if}
    Help?!? Thanks!

  2.  

  3. #2
    Senior Member Shani's Avatar
    Join Date
    Nov 2004
    Posts
    1,140
    Member #
    8171
    1- I don't understand your question.
    2- Pseudo-classes are part of your CSS so no additional linking is required.
    Shani

    I have an eye for detail like you'd never believe.

  4. #3
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    I'm lost as well ... could you re-explain!?
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,720
    Member #
    5580
    Liked
    718 times
    ... maybe they're thinking that when they have their .css file, they don't know
    that they can still change CSS properties within an HTML tag ... which over-rides the <div>.

    Example:
    <img src='myphoto.jpg' border='0' alt='test' style='float: left;' />

    Maybe you want that photo to float left, even though it was not specified in the <div>.



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 03:38 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com