Forums / Templates, Stylesheets, Page Layout / Made logo to Image map; now white space and blue border.

Made logo to Image map; now white space and blue border.

Locked

Started by heathenmagic on 22 Dec 2007, 3:28 PM · Views: 2,523

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
22 Dec 2007, 3:28 PM
#1
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Made logo to Image map; now white space and blue border.

Hello there,

I have just customized my header, and made the logo into an image map. The first problem is a blue border / outline around that image. And a whitespace appears below logo only in Internet Explorer. Can be seen here:-

http://www.thegemtree.com

I have looked on the forum and internet searches. I know the change must be made in either the stylesheet ot tpl_header, but tried many things to no avail.

Thanks for anybodys help in advance!

:smile:

23 Dec 2007, 8:06 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,892
Plugin Contributions:
20

Re: Made logo to Image map; now white space and blue border.

You've got two choices on the border.

  1. Add border=0 to the img call.
  2. add #logoWrapper img {border: 0px} to your stylesheet.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

30 Dec 2007, 5:04 PM
#3
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: Made logo to Image map; now white space and blue border.

Hello Dbltoe,

Many thanks for your reply. I tried it but it didn't work. While messing with tpl_header, merging another tpl_header from another template, the space reduced greatly. Although it is still there, but barely noticeable now.

Kind regards,

Russ

30 Dec 2007, 6:23 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Made logo to Image map; now white space and blue border.

What dbltoe advised you on, the blue border, is now gone. He didn't say anything about the space.

IE6 appears to be choking on some errors you have in the logo and logoWrapper dimensions.
The Firefox Web Developer shows outlines for both of those that don't match the displayed image size, and the #logoWrapper outline overlaps the content below.

You need to get those sorted, whether in header.php or your stylesheet or both I don't know.