PDA

View Full Version : inexplicable white lines


debaser
12-26-2008, 09:18 AM
I'm using that supaclean template at my site (http://www.613photo.com/) and I thought I'd change the plain text "613photo" to an image that said the same thing but looked slightly less generic, and for reasons totally unbeknown to me it put a white line around it, which I do not like.

I'm not really very knowledgeable when it comes to this stuff. I just use this thing called "Alleycode" to look at the files and basically I just cut-and-paste things around.

If someone could tell me what to do to remove that white border or at least make it a black one that would show up, I'd be very grateful.

Thank you, and I hope you all had a very nice holiday.

dhdesign
12-26-2008, 11:04 AM
Because your logo is an image and you didn't declare border="0" in the img tag, the browser automatically adds that border.

You can add the following to your theme's stylesheet to remove the border:

#banner h1 a:link img, #banner h1 a:visited img, #banner h1 a:hover img {
border: 0 none;
}

debaser
12-26-2008, 05:29 PM
That seemed to work just fine. Oddly enough, my keyboard stopped working and it took a reboot of the machine for me to see the change, but that was just some weird coincidence and now it's working.

The words are a little close to the top of the page for my tastes but I'm not going to screw around with it anymore.

Thanks Again,
Dustin