CrystalPC
10-23-2003, 04:15 PM
I set up a CSS with body borders, when I put in the css/text link hover, the color of the scrollbars do not show. Is there a way to set up Body style, and .hover text together in the same sheet and make them work?
|
Click to See Complete Forum and Search --> : Problem getting body and Font style working on CSS CrystalPC 10-23-2003, 04:15 PM I set up a CSS with body borders, when I put in the css/text link hover, the color of the scrollbars do not show. Is there a way to set up Body style, and .hover text together in the same sheet and make them work? MotherNatrsSon 10-23-2003, 08:04 PM I am thoroughly confused by your question as it seems you sre. How does the hover for links have anything to do with scroll bars? Got a link? MNS havik 10-24-2003, 12:08 PM I don't understand the problem fully. The body tag would be editted like so: body { attributes here } and :hover is associated with "a" (link tags): a:hover { attributes here } Please clarify your problem. EDIT: I put a.hover instead of a:hover, thanks nkaisare nkaisare 10-24-2003, 01:38 PM You probably mean a:hover a.hover will refer to any link with class "hover" (<a class="hover" ...>) a:hover will refer to hover-state of a link; i.e. when you bring your pointing device (usually a mouse) on top of the link. CrystalPC One of the possible reasons might be that you have made an error in your hover style such as not closing the right brace or leaving a comment open. As a result, the remaining styles are not read by the browser. Changing scrollbar colors is not a valid CSS; its proprietary IE style. Also, these differently styled scrollbars may look nice in Win2K, but suck in WinXP, for the default WinXP scrollbars are way cooler. keichan 10-25-2003, 02:00 AM Originally posted by nkaisare Changing scrollbar colors is not a valid CSS; its proprietary IE style. Also, these differently styled scrollbars may look nice in Win2K, but suck in WinXP, for the default WinXP scrollbars are way cooler. I couldn't agree more, and add to that the lack of cross-browser compatability when trying to use customized scrollbars with CSS--they may look fine in IE, but likely not in Mozilla, Opera, Safari... webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |