Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 06-29-2007, 08:10 PM   #1 (permalink)
Junior Member
 
Australia Banners's Avatar
 
Join Date: 06-02-07
Location: Australia Sydney Brisbane Melbourne
Posts: 10
iTrader: 0 / 0%
Australia Banners is liked by many
CSS to exclude image effects

Hi guys,

Can a css class be used to exclude two pictures from a highlight effect.

The images not wanted to be highlighted are checkout.gif and buy.gif

Page in question
http://www.australiabanners.com.au/q...ducts.php?pg=9

This is the #content class that applies a hover highlight to all images.

#content a img {border-bottom: 2px solid #FFFFFF;padding-bottom: 3px;}
#content a:hover img {border-bottom: 2px solid #48C04F;padding-bottom: 3px;}

Dont want it for two images, any ideas ?
Australia Banners is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-29-2007, 11:03 PM   #2 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 18,519
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
Code:
#content a img {border-bottom: 2px solid #FFFFFF;padding-bottom: 3px;} #content a:hover img {border-bottom: 2px solid #48C04F;padding-bottom: 3px;} .except a img {border-bottom: 0; padding-bottom: 0px;} .except a:hover img {border-bottom: 0px;padding-bottom: 0px;}
(or whatever your default, non-highlighted style would be)


Code:
<div id="content"> <img src="http://www.v7n.com/forums/images/buy.gif" class="except"> </div>
__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
Always assume the presence of a belly button!
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-30-2007, 02:08 AM   #3 (permalink)
Junior Member
 
Australia Banners's Avatar
 
Join Date: 06-02-07
Location: Australia Sydney Brisbane Melbourne
Posts: 10
iTrader: 0 / 0%
Australia Banners is liked by many
Thanks
Australia Banners is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-30-2007, 09:52 AM   #4 (permalink)
Empress™
 
chicgeek's Avatar
 
Join Date: 08-19-04
Location: York, UK
Posts: 18,519
iTrader: 0 / 0%
Latest Blog:
My Favourite Poem

chicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest orderchicgeek is a web professional of the highest order
No problem. Good luck!
__________________
laura / chicgeek
soprano & web designer
laurakishimoto.ca
Always assume the presence of a belly button!
chicgeek is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google exclude doesn't? digiweb Google Forum 5 10-04-2007 03:32 PM
What would be the effects on URL rewriting? lloyd.velarde@gmail. SEO Forum 3 08-03-2007 02:09 PM
Color Effects TanyaMartin Graphic Design Forum 16 02-25-2004 09:57 PM


Sponsor Links
Webmaster Forum Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:10 AM.
© Copyright 2008 V7 Inc