Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Linking in CSS?

  1. #1
    Regular Coder
    Join Date
    Dec 2007
    Posts
    145
    Thanks
    5
    Thanked 5 Times in 5 Posts

    Linking in CSS?

    Code:
    <style />
    #userinfo .contentModuleContent{background-image:url('YOUR URL HERE'); background-repeat:no-repeat; background-position:top right;}
    #userinfo .medText img {visibility:hidden;}
    #userinfo .medText table table img {visibility:visible;}
    </style />
    Is it possible to make .medText linkable??

    I do not have access to the HTML, but CSS.
    I don't want to style the links, but make a link.

    This probably isn't possible...

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    No its not possible for every browser. CSS is for styling not for creating content even though it can but its not supported in every browser.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Regular Coder
    Join Date
    Dec 2007
    Posts
    145
    Thanks
    5
    Thanked 5 Times in 5 Posts
    Thank you, I know its for styling.

    Just wanted to know if it was possible, and if so supported by the majority of browsers.


  •  

    Posting Permissions

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