Winterworks
02-23-2009, 10:33 PM
A part of my .css file is this...
.navigation_text {
margin-left: 43px;
width:155px;
height:48px;
text-decoration: none;
font-size: 12px;
color: #000000;
background: #F8F8FF no-repeat top left;
}
Here's the code to match it in my index.html...
<div class="navigation_text"><strong>Website Homepage:</strong><br />Click <a href="http://www.website.com/index.html">here</a> to view our<br />homepage.</div>
Right now, on the site, the <div> box has a background color of #F8F8FF, which is exactly what I want. But I want it so when you put your mouse over it, the background of the whole box changes. I want it to change to white.
Not the links, or text, but background...
Yes, I'm just learning CSS. :p
.navigation_text {
margin-left: 43px;
width:155px;
height:48px;
text-decoration: none;
font-size: 12px;
color: #000000;
background: #F8F8FF no-repeat top left;
}
Here's the code to match it in my index.html...
<div class="navigation_text"><strong>Website Homepage:</strong><br />Click <a href="http://www.website.com/index.html">here</a> to view our<br />homepage.</div>
Right now, on the site, the <div> box has a background color of #F8F8FF, which is exactly what I want. But I want it so when you put your mouse over it, the background of the whole box changes. I want it to change to white.
Not the links, or text, but background...
Yes, I'm just learning CSS. :p