![]() |
background color
Here is the problem. i am trying to create a website virtually all in CSS. I am having trouble with the creating a navigation area. I want the background color to be a full 145px wide and 20 px high. When I mouse over (hover) I want the background color to change but stay the same size.
Here it the CSS code: :
/* navigation class link */Here is part of the html file: :
<div class="box">Can anyone help me on this. If you need more information then please ask. ajthornton_1978 |
fist change you <div> to this -
:
<div id="box">Your css code will then change to - :
#box{}if you want all your links to be the same in the div "box" then you don't even need the class. Either way, I think your problem is that you got the word/class navigation in the wrong place. Try this - :
.navigation a:hoverand if you descide to scrap the class, you can simply use :
#box a:hoverHope that helps :) |
| All times are GMT -5. The time now is 1:10 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC