Content Management solutions using Drupal, Wordpress, and Magento
Zack Design Zack Design

Forum

Current User: Guest
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

spacing issue in ff, yet works in IE7

Add a New Topic Reply to Post
UserPost

6:46 am
February 5, 2009


Rob

Guest

This is a great, fast plugin – well done. I'm having a biggling issue with a gap of about 8 pixels showing to the left of the menu in Firefox & Opera. It works perfectly in IE7 (not able to test in other versions).
Have checked it out with firebug – but cannot track it down.

If anyone could help it would be much appreciated.

The site is one for my photos which I'm developing in my 'spare' time.

Thanks

Rob

12:58 pm
February 16, 2009


Craig

Guest

I have a CSS menu trick to fix that. I copied this from my in the process knowledge base on my site.

A typical thing that I do is pad the right side of each menu with: “padding-right: _px;” This tag is (under good practice) placed like so under this area:

/* style the links for the top level */
.menu a, .menu a:visited
{display:block;
font-size:11px; text-decoration:none; color:#fff;
width:127; height:30px;
border:1px solid White;
border-width:1px 1px 1px 1px;
background:#443b7c;
padding-left:9px;
padding-right:0px;
line-height:29px;
}

This particular example has a right side padding of 0 on the IE one because without it, the button goes past the sides of the template on the right only. When you make the fix for other browsers you need to do this

/* style the links for the top level */
.menu a, .menu a:visited
{display:block;
font-size:11px; text-decoration:none; color:#fff;
width:127; height:30px;
border:1px solid White;
border-width:1px 1px 1px 1px;
background:#443b7c;
padding-left:9px;
*padding-right:0px;
line-height:29px;
}

Note how there is a asterisk (*) where you make the fix…Internet Explorer will read that one, but most browsers won't take the second one over the first one in the case of that asterisk, without that they would read from the SECOND set of tags, (which is a good thing to keep in mind) as IE7 would if it didn't have the first one.

Reply to Post

Reply to Topic:
spacing issue in ff, yet works in IE7

Guest Name (Required):

Guest Email (Required):

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 3
   


About the Zack Design Forum

Most Users Ever Online: 89

Currently Online:
17 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 4
Forums: 10
Topics: 164
Posts: 435

Membership:

There have been 199 Guests

There are 2 Admins

Top Posters:

Administrators: admin (116 Posts), jporter (0 Posts)



Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Twitter
  • Reddit

Comments are closed.