2 replies [Last post]
OPTAdmin
Offline
Enthusiast
Dover, OH -- Soon to be Columbus, OH
Last seen: 16 years 1 week ago
Dover, OH -- Soon to be Columbus, OH
Joined: 2004-07-27
Posts: 108
Points: 0

Okay wow, this is ridiculous. I should not be having this much trouble with image links and CSS.

What I'm trying to do is make it so my images don't have the same bottom border as the rest of the links on my page.

Page: http://www.ohiopreptalk.com/invp/index.htm

CSS: http://www.ohiopreptalk.com/invp/css/default.css

Thanks for the help! The CSS is probably pretty ugly right now, just to warn you.

I am going to be attending The Ohio State University this fall as an incoming freshman, majoring in Computer Science and Engineering.

Go Bucks!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 30 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Wow, image link question

Hi there,

You would be better of rethinking the link styling as having set styles on links in general your now wishing to remove said styling, set the basics that you want on all links then target the links that you want special styling on with decendent selectors or a class rule failing that put h2 in front of the existing anchor styles then there only effecting those headings.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

OPTAdmin
Offline
Enthusiast
Dover, OH -- Soon to be Columbus, OH
Last seen: 16 years 1 week ago
Dover, OH -- Soon to be Columbus, OH
Joined: 2004-07-27
Posts: 108
Points: 0

Wow, image link question

Well, I did it the long way and gave each picture it's own id within the <a> tag. Then, within the CSS, I defined each of those id's as having no bottom-border. Fixed my problem.

I am going to be attending The Ohio State University this fall as an incoming freshman, majoring in Computer Science and Engineering.

Go Bucks!