Results 1 to 7 of 7

Thread: CSS and Table Links

  1. #1
    Moderator Bec's Avatar
    Join Date
    Nov 2003
    Location
    Ohio
    Posts
    8,419

    CSS and Table Links

    Ok, I admit I'm tired and probably walking right past the obvious solution but here's what I'm trying to figure out. If I'm building a web page that will be used as a template in a tgp or link list program, how do I set it up so that those tables have a bigger font and a different link color from the "regular" tables on the same page? - and not have to assign a class name onto every link - since the links will be generated by the database. Basically I'm handing over a page with the table space marked out for where the script code goes and need the links to behave and look a certain way once it's active.

    I've tried giving the td a name and setting up the a. behaviors under it, and I've tried using the id= , but I'm not getting the effect without adding the class="whatever" to the link itself. What am I forgetting to try, or is what I want to happen not possible without a class name added to every link?


  2. #2
    Drag is when a man wears everything a lesbian won't. Harlan's Avatar
    Join Date
    Mar 2004
    Posts
    465
    Bec...

    You have me scratching my chin on this one too...I did fine this link in my saved file:

    http://www.westciv.com/style_master/...ext_style.html

    not sure if the magic answer is there to your particular issue but some good stuff there nonetheless.

    I also had this link saved:
    http://www.netmag.co.uk/tutorials/de...bsectionid=181

    and might have more of what you are looking for/

    If those don't give you what you need...off the top of my head...If this table with the link was a nested table off <ssi tags> or handled as an inline-frame OR as a page within a page. In theory, that would allow you to have some seperate space where you could define a nested table to a link with it's css sheet?

    Hope there was some help in there for you!

    Good Luck....I know this pain well!
    PrideBucks - the home of CircleJerkBoys, TrueTwinks, BoysGoneBad & MenOver30.com


  3. #3
    Moderator Bec's Avatar
    Join Date
    Nov 2003
    Location
    Ohio
    Posts
    8,419
    Thanks Harlan, I'll check it out ... in the meantime anyone else got some solutions?


  4. #4
    On the other hand.... You have different fingers dirtygeek's Avatar
    Join Date
    Oct 2003
    Location
    West Hollywood, Ca
    Posts
    2,490
    I use css a lot for link effect, and txt. You have to add it to each tag. If not it sometimes works and sometimes doesn't work for me.

    I always just use class="" instead of DIV. May not be the right way to do it all the time, but it works.
    Last edited by dirtygeek; 06-28-2004 at 11:10 AM.
    You'll get more with a kind word and a 2 by 4 then you'll get with just a kind word.



    Stunner Media Presents 8 great programs:
    IndieBucks | StandAhead | BoyCrushCash | Phoenixxx | <a href="http://hunkmoney.com/">Hunk Money</a> | <a href="http://nats.britishbucks.com/">British Bucks</a> | <a href="http://nats4.emoprofits.com/">Emo Profits</a> | <a href="http://latinobucks.com/">Latino Bucks</a>


  5. #5
    Dzinerbear
    Guest
    Bec,

    I'm pretty sure you need to add them to each link. Check out you PM, I'm sending you a link to the style sheet on one of my sites. It might help you figure things out.

    Cheers
    Michael


  6. #6
    Moderator Bec's Avatar
    Join Date
    Nov 2003
    Location
    Ohio
    Posts
    8,419
    Originally posted by Dzinerbear
    Bec,

    I'm pretty sure you need to add them to each link. Check out you PM, I'm sending you a link to the style sheet on one of my sites. It might help you figure things out.

    Cheers
    Michael
    Thanks Michael ... yea, I'm pretty much convinced you're right - no matter how I assign the class tag wise, it still wants each link to carry the class name ... dang it!


  7. #7
    raymor
    Guest
    You shuld be able to give your table an ID and say:
    #thetableid link {
    blah
    }


Posting Permissions

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