0

How to erase image border in css? An image that I have automatically have border around it (only appear in IE not in Mozilla)

Edited by davy_yg

4
Contributors
7
Replies
33
Views
4 Years
Discussion Span
Last Post by armie340
0

If there is a border around an image, you can set the border to none:

 img { border:none }
0

If you were using a css reset it would reset your styles in all browsers and would help ensure a better chance that your design would look the same in all browsers. A good reset also would remove the borders on many/most elements. I never do a project with you a css reset.

The ony I use which I think is the best is http://meyerweb.com/eric/tools/css/reset/

0

I never do a project with you a css reset.

you mean without?

When I use css reset this instruction don't seem to work:

#navcontainer {position: relative; width: auto; height: auto;}

It suppose to center the navcontainer.

Edited by davy_yg

0

If you want to center it assign a width. For example...

 #navcontainer {width: 1024px; margin: 0 auto;}
0

after using css reset why the bold text disappeared? (<b> no longer bold )

0

A CSS resets the defaults on as many styles as possible that were browser specific and helps increase the chances it will look the same in other browsers. Browsers many times will add something to an element by default and others won't. We end up designing the site in a particular browser and then when we check another browser it doesn't look the same because of that extra styling on an element that was added by that browser.

Adding a reset to a site that has already been designed could possibly mess something up because it was not started with the reset. If you add the reset on an existing site that didn't have it before, go through the css and the site and make sure everything is looking okay.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.