Jump to content
wsabba01

broder around an image

Recommended Posts

I created this website https://www.readingm.../submission.php and I have menu on the right with images but in IE it shows blue border around the images. In the other browsers it does not show. Is there a CSS code I can use to get rid of the border in IE. I have this css file attached. this is the code I use the code below. Any help is appreciated.

#rightnav .image1{height:auto;width:160px;float:center;border:0px;padding-bottom:5px;padding:5px 0px 3px 6px;border-bottom:2px #B00047 dotted;margin-top: 5px;margin-right: 0px;margin-bottom: 5px;margin-left: 5px;

journalstylesheet.css

Edited by wsabba01

Share this post


Link to post
Share on other sites

Good practice is to always reset your basic elements. For example at the top of your CSS you could have something like...

html,body,img {margin: 0;border: 0;padding: 0;color: #000000; /* Or whatever font color will be dominate */font-family: arial; /* Or whatever font family will be dominate */}

Over time you will add more resets, and maybe even have different groups if elements resetted in certain ways, such as maybe removing all list formatting for uls and lis etc.What I posted in code will solve your problem FYI.

Share this post


Link to post
Share on other sites
I created this website https://www.readingm.../submission.php and I have menu on the right with images but in IE it shows blue border around the images. In the other browsers it does not show. Is there a CSS code I can use to get rid of the border in IE. I have this css file attached. this is the code I use the code below. Any help is appreciated.
#rightnav .image1{height:auto;width:160px;float:center;border:0px;padding-bottom:5px;padding:5px 0px 3px 6px;border-bottom:2px #B00047 dotted;margin-top: 5px;margin-right: 0px;margin-bottom: 5px;margin-left: 5px;

Share this post


Link to post
Share on other sites

Hello friend, You can use the code in CSS in order to remove your border appearance in browser, code is: border: none;orborder: 0Try it once you can get better result.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...