View Full Version : [SOLVED] I need some help with CSS...

February 10th, 2008, 05:00 PM
I am currently building a website based upon this template:


The website I'm making is here:


I know enough HTML to be able to find some problems in the code if there is one, but I know almost nothing about CSS.

All I want to do is be able to insert an image without the CSS automatically adding a 1 pixel thick brown border. I like the border on most images, but for some things (like a gif of a button with rounded corners), I don't want an added border. Thanks for the help in advanced!!

February 10th, 2008, 05:03 PM
.nopx { border: 0; }

<img class="nopx" src="path/to/image.gif" />

February 10th, 2008, 05:22 PM
Excellent help! Thank you very much!

February 10th, 2008, 05:24 PM
The following style will remove any borders around images:

img {
border: 0;

February 10th, 2008, 10:11 PM
I divide my website making experience into two parts. The period before I discovered firebug & the period after I discovered firebug.