Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-02-2012, 05:39 PM   PM User | #1
hdjourdan
New Coder

 
Join Date: Oct 2012
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
hdjourdan is an unknown quantity at this point
Firefox and IE not displaying language option correctly.

I'm just getting started using HTML and CSS and designing web pages. A friend asked me to do some corrections on her website somebody else made some time ago. Using HostGator as my server (also the one the web page uses) I accessed the original HTML file, copied all the content, created a new HTML file in the same location as the original (using a different name though), pasted everything I copied to the new file, changed a few things in the text and a few logos, and I got the exact same page with the changes I wanted –as long as I'm on Safari or Google Chrome everything works perfect. The problem is when I use Firefox or IE, no matter what version of each, the option for language doesn't display correctly –instead of having the English(ON)/Spanish(OFF) option, the spanish doesn't appear.

The link for the original page is
http://www.santelmoproductions.com/feedback2.html
And the one I edited
http://www.santelmoproductions.com/feedback2.html

Also I don't know if it has anything to do with this problem, but I added to my page
Code:
<meta http-equiv="Content-Type"
content="text/html;charset=UTF-8">
so it's always read in UTF-8 –I was getting weird characters like "â€" otherwise.

Any idea of what can I do to make the language option appear on all browsers?

Thanks in advance.
hdjourdan is offline   Reply With Quote
Old 10-02-2012, 06:20 PM   PM User | #2
tracknut
Regular Coder

 
Join Date: Aug 2006
Posts: 892
Thanks: 4
Thanked 206 Times in 205 Posts
tracknut is an unknown quantity at this point
Both links you provided are the same, and don't show me a Spanish option in either Chrome or FF... Could you possibly have a cache problem, where you're viewing an older version of the site in one browser?

Dave
tracknut is offline   Reply With Quote
Old 10-03-2012, 02:43 PM   PM User | #3
hdjourdan
New Coder

 
Join Date: Oct 2012
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
hdjourdan is an unknown quantity at this point
Sorry about that –you're right Dave, the link for the original website is
http://santelmoproductions.com/feedback.html
I don't think I'm viewing an older version when I go to
http://santelmoproductions.com/feedback2.html
as the changes I made to the text and logos are there alright.
I hope you can see what I'm talking about now. Thanks again in advance!
hdjourdan is offline   Reply With Quote
Old 10-03-2012, 03:01 PM   PM User | #4
abduraooft
Supreme Master coder!

 
abduraooft's Avatar
 
Join Date: Mar 2007
Location: N/A
Posts: 14,680
Thanks: 158
Thanked 2,182 Times in 2,169 Posts
abduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really niceabduraooft is just really nice
It looks like your CSS file not encoded in unicode.

Try changing
Code:
a.espa�olON, .espa�olOFF, .inglesON, .inglesOFF {width:52px; height:15px; margin:0px 4px; float:left; display:block;}
a.espa�olON	{background: url(../images/btnIEspanolON.png) top left no-repeat; cursor:pointer;}
to say
Code:
a.espanolON, .espanolOFF, .inglesON, .inglesOFF {width:52px; height:15px; margin:0px 4px; float:left; display:block;}
a.espanolON	{background: url(../images/btnIEspanolON.png) top left no-repeat; cursor:pointer;}
and then the class name in the HTML source.
__________________
Quote:
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)
abduraooft is offline   Reply With Quote
Old 10-03-2012, 07:14 PM   PM User | #5
hdjourdan
New Coder

 
Join Date: Oct 2012
Posts: 10
Thanks: 1
Thanked 0 Times in 0 Posts
hdjourdan is an unknown quantity at this point
Smile

Thanks so much! abduraooft, that seems to solve the problem, the page displays properly now on firefox, I'll try IE later. Thanks again!
hdjourdan is offline   Reply With Quote
Reply

Bookmarks

Tags
div, firefox, ien5, language, metatag

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 09:43 PM.


Advertisement
Log in to turn off these ads.