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 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2011
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Moving links and images into CSS

    Hi there,

    I've been working on this page...

    http://www.bangface.com/archives2/bf81selector.aspx

    ...and I'm wondering if the top three image links count as style as opposed to content. So if they are style, then how would I move them into a style sheet without adding suspicious place holders into the HTML? And is it even possible to move a link into CSS?

    Cheers, Ian.

  • #2
    Mr.
    Mr. is offline
    Regular Coder
    Join Date
    Feb 2011
    Posts
    112
    Thanks
    8
    Thanked 4 Times in 4 Posts
    you can have them as links in your content and use the <img src> tag like you are using, but to style on the over state and such you would use CSS. You could also use CSS for the background image as well... as for a suspicious placeholder... I don't think a placeholder is needed if you set the height and width using CSS.


  •  

    Posting Permissions

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