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.

Border for image with link

Featured Replies

I am trying to give images that have a hyperlink a border but for some reason am stuck!

 

In my css I have:

 

img {border:1px; color:#52432C;}

 

 

I have also tried giving it a class of it's own with and without "a" but that didn't do it either!

 

You can see it at: ladiesbags org uk /bags/searchbags/Handbag/

 

No hyperlink as not yet launched.

All the pictures of bags are assigned a class "imgborder", which isn't what you have shown above.

 

Use something like this in your CSS...

 

img.imgborder {border: 1px solid #52432C;}

  • Author
All the pictures of bags are assigned a class "imgborder", which isn't what you have shown above.

 

You'll have to excuse me, life is not in my faour - I am female and blonde!

The imgborder is a class I had tried and I had forgotten to reupload the file when I removed it!

 

Use something like this in your CSS...

 

img.imgborder {border: 1px solid #52432C;}

 

Did this and works beautifully! Thanks. Guess it was the img. that forced it :D

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.