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.

Website Design Forum


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



Freelance Jobs

Reply
Old 07-08-2006, 07:58 PM IE vs Firefox
Marvin Gabriel's Avatar
Average Talker

Posts: 27
Name: Marvin Gabriel
Location: Philippines
Trades: 0
i had a feedback about my site looking different with using IE and Firefox...people said that in firefox the link hovers just fine but in IE the whole sentence are highlighted...can you give some reason why this happens aside from browser standard non-compliance of IE? http://www.fhwc.bravehost.com
__________________
Have a Free Hosted Website? Join us to exchange links, feature your website and improve your traffic! visit
Please login or register to view this content. Registration is FREE
Marvin Gabriel is offline
Reply With Quote
View Public Profile Visit Marvin Gabriel's homepage!
 
 
Register now for full access!
Old 07-08-2006, 08:48 PM Re: IE vs Firefox
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
It's not only about non-compliance. Different browsers interpret and display things differently sometimes. I don't have IE7 installed at the moment to test what's going on, but I think I have an idea from seeing some of your code.

I came across the follwing line:

HTML Code:
<a href="http://www.phpbb88.com/fhwc/viewtopic.php?t=12&mforum=fhwc"><span onMouseOver = "this.style.color = 'blue';" onMouseOut = "this.style.color = '0000a0';"><b>- View Reviews</b></a></span>

First you've nested the tags improperly. You open the span inside of the <a> tag, but close it after closing the </a>. You're also adding the color change to the span instead of to the link itself. And there's no need to even use javascript for something like this. Just use a:hover in the css to change the color.

a:hover {color:blue}

Then you can get rid of the javascript as well as the spans. If you only want that color on some of the links when you hover give the link a class and use the class in the css.

a.blue-link:hover {color:blue}

This really isn't a compliance issue at all. When I attempted to validate one of your pages it came back with 230 errors. Can't blame that on IE7.

From the looks of things you may have overcomplicated a lot of the code. Try first running things through a the W3C Validator and clean up the errors. I think that will help a lot in getting things in line.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-09-2006, 01:04 PM Re: IE vs Firefox
Marvin Gabriel's Avatar
Average Talker

Posts: 27
Name: Marvin Gabriel
Location: Philippines
Trades: 0
thank you for your reply...i already found a solution to my problem and it is completely related about what you said...i removed all the javascripts for link hovers and put these codes at the head of my page

Quote:
<style type="text/css">
a.navi:link {text-decoration:none; font-weight:bold;}
a.navi:active {text-decoration:none; font-weight:bold;}
a.navi:visited {text-decoration:none; font-weight:bold;}
a.navi:hover {color:white; text-decoration:0; font-weight:bold;}
</style>
<style type="text/css">
a:link {text-decoration:none; font-weight:bold;}
a:active {text-decoration:none; font-weight:bold;}
a:visited {text-decoration:none; font-weight:bold;}
a:hover {color:blue; text-decoration:0; font-weight:bold;}
</style>
and i add class="navi" to all my links at my navigation

i used two styles..one for my navigation and the other for the rest of my links..is that correct?
__________________
Have a Free Hosted Website? Join us to exchange links, feature your website and improve your traffic! visit
Please login or register to view this content. Registration is FREE
Marvin Gabriel is offline
Reply With Quote
View Public Profile Visit Marvin Gabriel's homepage!
 
Old 07-09-2006, 02:26 PM Re: IE vs Firefox
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Yep, that's exactly what I was saying. I would move the css to an external file, but it will still work in the head of the document. You probably don't need the second style for the rest of the links. You can just let them use the default style you set up the <a> tag, but it will still work if you have that extra class.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to IE vs Firefox
 

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