Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / IE is giving me a strange box

IE is giving me a strange box

Locked

Views: 703

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
25 Feb 2007, 8:20 AM
#1
nick04263 avatar

nick04263

New Zenner

Join Date:
Feb 2007
Posts:
45
Plugin Contributions:
0

IE is giving me a strange box

Please bare with me. This is my first post here and may have missed my question in a previous post. Strangely when I do searches on this forum I get everything except what I am looking for. I am sure it is my search terms.

ANYWAY, when I open my site https://www.vytle.com with Internet Explorer 6 or 7, I get this strange missing image box at the top. Can someone tell me how to get rid of it. Also, my google search bar in my header likes to align off the page a little. Firefox and Opera do not have these issues. Any suggestions about an IE code string fix would be lovely.

While I am posting my issues, I want to manually insert tab images aligned along the bottom of my header (the top banner image itself) and assign titles and links for their respective pages. Nothing too fancy but practical. How can I add these images to the bottom of the header image and where would the code for their text and links go?

Thank you for any and all assistance.
Nick

25 Feb 2007, 10:02 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: IE is giving me a strange box

The "strange box" is IE's way of telling you that it is expecting an image (your logo file) but can't find it. FF would normally display the alt text instead, but I suspect that you have deleted both the image name and alt text from your header.php file which is why it shows nothing.

Although you have deleted references to the logo file, Zen Cart is still building a path to where it would normally be. To suppress the results, you can either remove the code from your tpl_header.php file, or simply insert the following into your stylesheet> #logo {display:none}
The styling that lays out the table with your Google search in is a bit of a mess and is being interfered with by other styles in this template that are nothing to do with it. FF and IE give you different results because the styling strays into areas which Personally I'd avoid the use of a table here, but the quickest way to bring it back inside the layout in IE would be to add the following to your stylesheet> #tagline table {margin-right:16px; padding:0}

If you wanted to insert your links directly you would do so in your tpl_header.php file. However I wouldn't recommend this. Instead I'd recommend creating the tabs via EZ-Pages and then using CSS to style them as tabs. There's a growing section on using EZ-Pages in the FAQ.

A general piece of advice about posting questions - better to post questions separately, otherwise you have to wait for somebody who can (and is willing to) answer them all to come along. Post them separately and you'll usually see answers more quickly because the pool of people able to answer each of them will be bigger.

25 Feb 2007, 7:44 PM
#3
nick04263 avatar

nick04263

New Zenner

Join Date:
Feb 2007
Posts:
45
Plugin Contributions:
0

Re: IE is giving me a strange box

kuroi,
Thank you very much for your reply. I have fixed the "strange box" and the google search bar. All that was needed for the search bar was the margin-right:16px string. The extra "padding:0" aligned the bar to the top where I have a template bar.

I hear what you are saying about posting one question at a time and I will do so from now on. I actually meant to post one question but just kept going. I honestly wasn't expecting anyone to post an answer to all 3 questions but I really appreciate it.

Thanks,
Nick