Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Is this a CSS problem?

Featured Replies

Hi

 

I have been visiting this forum for several months but this is my first post - apologies if it is in the wrong thread.

 

I have just built my first site and I am reasonably chuffed with it. However I have just realised that the links do not change colour when you hover over them, per my instructions in the stylesheet. Or rather they do in IE8 but not in any other browser (just tried FF, Opera and Chrome so far).

 

Any suggestions on what I have done wrong and how I can correct this would be much appreciated.

 

Thank you in advance.

Got a link? or some relevant css? sounds like it could be a specificity problem?

a:active needs to come after a:hover, so in your stylesheet you should change it to this

 

a:link,a:visited {
text-decoration: underline;
color:#333333;
}

a:hover {
text-decoration: underline;
color:#0082c8;
}

a:active{
text-decoration: underline;
color:#333333;
}

 

 

Also you have a stray close...

 

a:link,a:active,a:visited {

text-decoration: underline;

color:#333333;

}

 

 

} <----here

 

 

 

a:hover {

text-decoration: underline;

color:#0082c8;

}

  • Author

Thanks very much - will look at that and see if it fixes it. Cheers.

  • Author

That did it - thank you so much.

 

Oh, I am loving this forum!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.