Results 1 to 3 of 3

Thread: CSS: Set style For <a>

  1. #1

    Thread Starter
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099

    CSS: Set style For <a>

    Ok im trying to create a style rule for a <a> tag within a <h2> tag? I have a different rule for all <a> tags but when i place one in a <h2> tag the font size stays the same when it needs to be bigger.

    Anyone know how to do this?

    Hope that made sense


    Thanks

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    AFTER your CSS def for the regular <a> tags,.....
    Code:
    h2 a:link, h2 a:visited, h2 a:hover, h2 a:active {set your CSS here}
    TG
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    Thanks, don't know why i didnt think of doing something like that

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