Hi
Seen CSS can enable interactivity quite similar to javascript and
tables I moved stuff from javascript, tables and gif to CSS. Do you
agree it's a good idea? CSS is a lot more readable than Javascript.
Specific I ask for your recommendation which color to choose for
button and hover when I have a button, yellow background, green button
with dark text and light shadow. The current style is
background-color:#ffffef;
#main li a:link, #main li a:visited {
text-decoration:none;
font-size:1.3em;
font-weight:bold;
color: #000;
background-color:#e2f3b8;
padding-left: 6px;
padding-right: 6px;
padding-top: 2px;
padding-bottom: 2px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-ms-border-radius: 4px;
text-shadow: #fff 1px 1px 1px;
}
#main li a:hover {
color:#fe0403;
background-color:#fff7aa;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-ms-border-radius: 4px;
padding-left: 6px;
padding-right: 6px;
padding-top: 2px;
padding-bottom: 2px;
text-shadow: #000 1px 1px 1px;
}
Can you recommend a less "radical" color choice? I'm thinking about
hover colors could vary only the label color the a darker green than
with no hover.
Thanks for any discussion
Niklas
--
--
You received this because you are subscribed to the "Design the Web with CSS"
at Google groups.
To post: [email protected]
To unsubscribe: [email protected]