Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-04-2011, 02:25 AM   PM User | #1
IanIan
New Coder

 
Join Date: Oct 2011
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
IanIan is an unknown quantity at this point
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.
IanIan is offline   Reply With Quote
Old 11-04-2011, 10:31 AM   PM User | #2
Mr.
Regular Coder

 
Join Date: Feb 2011
Posts: 112
Thanks: 8
Thanked 4 Times in 4 Posts
Mr. is an unknown quantity at this point
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.
Mr. is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:26 AM.


Advertisement
Log in to turn off these ads.