Jump to content

images outline


marquis
 Share

Recommended Posts

add this attribute in your img tag: border="0" . This will work but is deprecated. I recommend using the css way as jlhaslip indicated.

Link to comment
Share on other sites

yea that didnt work its real wierdits not that big of a deal it would just be nice it not have the 1 px of white seperation
Hmm, someone else was running into this problem in another post and setting the display of the image to block rather than inline solved it.
img { display: block; border-witdh: 0px; }

Of course, the image will then be a block level element rather than an inline element and you may need to play around with it to get it to display where/how you want it. But that got rid of the white space under the image.

Link to comment
Share on other sites

HTML

<img src="your_image.jpg">

img { border: 0px; }

to use img {border-style: none;} as I saw further up, is wrong, well, it might work, but I don't recommend it when you can do it simpler with using only border: 0px;

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...