Not working in Firefox

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
thinknirmal
Forum Newbie
Posts: 2
Joined: Sat Mar 01, 2008 10:30 am
Location: Pondicherry, IN
Contact:

Not working in Firefox

Post by thinknirmal »

Hi, I am developing an eCommerce website:

http://www.ews-store.com

The 'Login' link at the top is not working in Firefox (IE 7.0 is fine). When you view the page source, everything seems to be correct. What the problem would be? Any guess? I am breaking my head regarding this.

The PHP code for that hyperlink is:
<a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a>

Any help is appreciated :D
User avatar
Sekka
Forum Commoner
Posts: 91
Joined: Mon Feb 18, 2008 10:25 am
Location: Huddersfield, West Yorkshire, UK

Re: Not working in Firefox

Post by Sekka »

Your problem is one of HTML, not PHP.

A div with an ID of 'logoWrapper' is going above the login link, making it unclickable.
User avatar
thinknirmal
Forum Newbie
Posts: 2
Joined: Sat Mar 01, 2008 10:30 am
Location: Pondicherry, IN
Contact:

Re: Not working in Firefox

Post by thinknirmal »

Oh... Thank you Sekka, for finding that for me!
Actually I have placed the logowrapper div right after the link strip at the top. To have an aligned view, I pushed up the logo using the following CSS:

Code: Select all

#logoWrapper{
    height:75px;
    margin: 0em 0em 0em 10px;
    padding: 0em;
    position: relative;
    top: -30px;
    }
I checked removing the postioning code and the links worked. But how should I bring up the logo while making the links work? I tried setting the z-index of the logo wrapper to '1' and the links div to '2'. But that too didn't work.
Post Reply