Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS Problem with allignment and gap
Old 03-15-2009, 01:38 AM CSS Problem with allignment and gap
CircleOfLinks's Avatar
Extreme Talker

Posts: 243
Name: Danny
Location: Sydney
Trades: 1
Hey Guys,

Dis regard my last thread i had done, i found a new script. As i was told not to use a javascript for a drop down menu but to use css.

The problem now is that there is gaps between the boxs and also that the menu is not alligned with box above it. Please help me.

Its happeneing in most of the browsers inc, google chrome, safari, FF and IE.

You can see it by going to www.swiftproductions.com.au/site/indexTEST.html

There is a working version of the script where i got the CSS code from at sperling.com/examples/menuh/

Please if you guys have a fix for it i'll appreciate it very much.

Thanks heaps
__________________
Danny

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
 
Register now for full access!
Old 03-15-2009, 11:25 AM Re: CSS Problem with allignment and gap
Super Talker

Posts: 107
Name: Sandy
Trades: 0
I use the Web Developer tool in Mozilla and when I display the element information your a: top_parent is sitting 135px from the top of your page - that might be it but also your menuh_container has a .3em or 16px top position on it. If you want to get the menu to the top try taking out the .3em position on the menuh_container.
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
Old 03-16-2009, 08:43 AM Re: CSS Problem with allignment and gap
CircleOfLinks's Avatar
Extreme Talker

Posts: 243
Name: Danny
Location: Sydney
Trades: 1
hey Sandy,
I got it sort of worked out,, only problem is it works fine in Google Chrome, FF and Safari but not in IE 7 - the problem is the drop down menu is not aligned with the box above it.
can any one help me on this??
Thanks
__________________
Danny

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
CircleOfLinks is offline
Reply With Quote
View Public Profile Visit CircleOfLinks's homepage!
 
Old 03-17-2009, 03:30 PM Re: CSS Problem with allignment and gap
Super Talker

Posts: 107
Name: Sandy
Trades: 0
I will try to look at this tonight as I can only have IE here at work. I remember there was some padding or was it a small margin on the top? I will check
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
Old 03-17-2009, 03:39 PM Re: CSS Problem with allignment and gap
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
So, use a conditional comment to call a separate CSS file with just the fixes needed to make it work in IE7. I suspect it's because of the absolute positioning, IE has always had issues with it.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS Problem with allignment and gap
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21356 seconds with 12 queries