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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Difference in IE / FF, need help
Old 06-17-2009, 04:49 AM Difference in IE / FF, need help
Novice Talker

Posts: 12
Name: Monkey
Trades: 0
I have a main menu system that when an option is clicked, a submenu appears with further options.

My new menu has a small arrow on the end which is supposed to overlap the submenu that appears. However, due to the different ways that browsers interpret these kinds of things, I'm having trouble getting certain browsers to do as I say.
I've included an image of the problem below:




The page its on is:
http://www.lawsloop.com/test/

I link to the site because I think to understand the problem properly, the CSS and Javascript and the rest of it need to be taken into account.

Works in IE but not FF: <div style="display:none;position:relative;float:right; width:21px;height:9px;margin-top:-5px;" id="arrow"><img src="arrow.gif" alt="arrow" onClick="closesub();" title=""></div>

Works in FF but not IE:
<div style="display:none;position:relative;float:right; width:21px;height:9px;margin-top:-5px;" id="arrow"><img src="arrow.gif" alt="arrow" onClick="closesub();" title="" style="margin-top:-5px;"></div>

Last edited by LawsLoop; 06-17-2009 at 10:58 AM..
LawsLoop is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-19-2009, 05:43 PM Re: Difference in IE / FF, need help
Novice Talker

Posts: 14
Name: workhomeforum
Trades: 0
I think that image's float property should be set and it will work in all browsers.
workhomeforum is offline
Reply With Quote
View Public Profile
 
Old 06-19-2009, 08:58 PM Re: Difference in IE / FF, need help
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Don't think so.. the images aren't floated, it's all stuck in a table!
__________________
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
 
Old 06-20-2009, 07:43 AM Re: Difference in IE / FF, need help
Experienced Talker

Posts: 45
Trades: 0
try this and tell me if works

<div style="display:none;position:relative;float:right; width:21px;height:9px;margin-top:-5px;*margin-top:-10px;" id="arrow"><img src="arrow.gif" alt="arrow" onClick="closesub();" title="" style="margin-top:-5px;"></div>
__________________

Please login or register to view this content. Registration is FREE
dan101 is offline
Reply With Quote
View Public Profile
 
Old 06-20-2009, 01:23 PM Re: Difference in IE / FF, need help
Novice Talker

Posts: 14
Name: workhomeforum
Trades: 0
Quote:
Originally Posted by LadynRed View Post
Don't think so.. the images aren't floated, it's all stuck in a table!
Oh you would be surprised how float property matters in IE.
workhomeforum is offline
Reply With Quote
View Public Profile
 
Old 06-20-2009, 03:51 PM Re: Difference in IE / FF, need help
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
No, I would not. I've been coding websites for a very long time, and I'm well aware of all of IEs bugs - and pretty much all the solutions to fix them.
__________________
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
 
Old 06-20-2009, 04:20 PM Re: Difference in IE / FF, need help
kline11's Avatar
SearchBliss Web Tools

Posts: 1,788
Name: John
Location: USA
Trades: 0
There's a bug concerning "margin-top" in IE.
__________________

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


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


Please login or register to view this content. Registration is FREE
kline11 is offline
Reply With Quote
View Public Profile
 
Old 06-20-2009, 04:24 PM Re: Difference in IE / FF, need help
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Uhh.... not that I'm aware of... under what conditions ? Is it documented ?

Most of the problems people have with margins and padding, comes from their misunderstanding of the box model.
__________________
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
 
Old 06-20-2009, 05:35 PM Re: Difference in IE / FF, need help
Average Talker

Posts: 28
Trades: 0
Simple advice, to make it work everywhere, validate it on w3c validator with css2.0 and xhtml 1.0
__________________
Free Hosting Without Ads (Post 2 Host) with very advanced features !
Please login or register to view this content. Registration is FREE
and also subscribe in this
Please login or register to view this content. Registration is FREE
(Forums to post 2 host).
eggheadhosting is offline
Reply With Quote
View Public Profile
 
Old 06-20-2009, 06:49 PM Re: Difference in IE / FF, need help
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Validation does not cure all problems, it's a start, but that is not the cure-all.
__________________
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
 
Old 07-06-2009, 08:31 AM Re: Difference in IE / FF, need help
Novice Talker

Posts: 5
Name: gaurav
Trades: 0
My javascript application worked well until I upgraded. I use IE 6.0.29 with SP2 installed. My Firefox browser is 2.0.0.4. Prior to Firefox upgrade all worked well. Now my application in IE works and Firefox gives me error messages that read: [field name] has no properties.

The strange thing is that the screens in Firefox do transfer data between them as they are intended to do, but the windows just don't close when the window close scripts are activated. They also issue the no properties error message.

I read the FAQs on this forum for explanation of the no properties error message. All I found were cases that showed code and someone suggested code changes and the result was the error message went away.

I did not find an explanation of what the no properties message means.
Can anyone explain what it is intending to tell me?
__________________

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


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


Please login or register to view this content. Registration is FREE
gkumar is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Difference in IE / FF, need help
 

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.42017 seconds with 12 queries