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.

Image replacement for links

Featured Replies

Hi guys, was wondering if anyone knows an image replacement technique that works on links? This is the code I've been using until now but it only works on headings ...

 

{height: 0px !important;

height /**/: 40px;

padding-top: 40px;

background-image: url('example.gif');

background-repeat: no-repeat;

overflow: hidden;}

 

I've tried using buttons sometimes, but I don't know if that's not bad SEO, and I've tried using pictures in the HTML, but this time I need there to be rollovers so don't think I can do that ('cept with javascript and then it won't validate ...).

 

Does anyone have any bright ideas? This has been bugging me for weeks now <_<

 

Many thanks,

 

Kirsty

Hi, if you have a look at this, it should help you out. It's actually about stopping background-image flicker but the technique will work for you too.

PS excuse the site, I clearly haven't done anything with it yet.... one of these days :rolleyes:

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.