logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 10-02-2011, 11:55 PM   #1
tony09uk
 
Join Date: Oct 2010
Posts: 340
Default img in li

relevant link

PROBLEM:
image does not expand when you hover over the li text although text and image will grow when the image is hovered over.

I know i'm missing something obvious please help
tony09uk is offline   Reply With Quote
Old 10-03-2011, 02:09 PM   #2
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

The image is not here
domedia is offline   Reply With Quote
Old 10-03-2011, 03:24 PM   #3
tony09uk
 
Join Date: Oct 2010
Posts: 340
Default

that has been rectified.
tony09uk is offline   Reply With Quote
Old 10-04-2011, 04:05 AM   #4
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

Image expands fine it seems.

Can you narrow down the problem, or is it this you had rectified?
domedia is offline   Reply With Quote
Old 10-04-2011, 10:00 AM   #5
tony09uk
 
Join Date: Oct 2010
Posts: 340
Default

I would like the image to increase in size when you hover over the text - which it currently doesn't. Currently if you hover over the image the text and image will expand and if you hover over the text only the text expands. I want both to expand at the same time no matter which you hover over.
tony09uk is offline   Reply With Quote
Old 10-04-2011, 01:49 PM   #6
domedia
Administrator
domedia's Avatar
 
Join Date: Dec 2003
Posts: 9,730
Default

Hi tony,

Try changing this line:
Code:
.navigation ul.nav li img:hover {
 height: 42px;
 width: 40px;
 }
to
Code:
.navigation ul.nav li a:hover img {
 height: 42px;
 width: 40px;
 }
You want the hover effect to appear when the mouse hovers the link, not the image. Does that make sense?

.
domedia is offline   Reply With Quote
Reply


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

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

Forum Jump


All times are GMT. The time now is 05:51 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com