Jump to content

Image link border


Guest aztechx
 Share

Recommended Posts

ah! I never read that or heard of that before. Thanks for the info SmokingMan :) ! So now you can just add this in your stylesheet:

img { border-style: none; }

And all images will have the border removed.

Link to comment
Share on other sites

ah! I never read that or heard of that before. Thanks for the info SmokingMan :) ! So now you can just add this in your stylesheet:
img { border-style: none; }

And all images will have the border removed.

Not quite that simple I think.Default border for img is none. The border comes when you have a link image, then the border is used as text-decoration on a text-link, since a simple underline on an image wouldn't show much. So to declare the style in the head section instead of with a style attribute, you would write:a img {border-style: none;}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...