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 09-26-2010, 04:02 AM   PM User | #1
CSSQuest
Regular Coder

 
Join Date: Mar 2009
Posts: 108
Thanks: 13
Thanked 0 Times in 0 Posts
CSSQuest is an unknown quantity at this point
Cufon Text Dissappears in IE

The site: http://homemastergroup.com

You'll notice the drop-down navigation text doesn't appear in Internet Explorer.

Any ideas why? Thanks!
CSSQuest is offline   Reply With Quote
Old 09-26-2010, 04:36 PM   PM User | #2
Apostropartheid
The Apostate


 
Apostropartheid's Avatar
 
Join Date: Oct 2007
Posts: 3,215
Thanks: 16
Thanked 265 Times in 263 Posts
Apostropartheid is on a distinguished road
That's odd.
Have you considered using proper CSS 3 web-fonts? They'd work well in IE and any modern browser.
__________________
Blog | Twitter
Useful links: W3C HTML Validator | W3C CSS Validator | HTML 5 Guide
CF: HTML & CSS Resources/Tutorials Thread | HTML & CSS Posting Rules and Guidelines
Remember: no link, no code, no help!
Apostropartheid is offline   Reply With Quote
Old 09-30-2010, 02:04 PM   PM User | #3
CSSQuest
Regular Coder

 
Join Date: Mar 2009
Posts: 108
Thanks: 13
Thanked 0 Times in 0 Posts
CSSQuest is an unknown quantity at this point
I've started thinking about those. I've been nervous about using them because I'm not always 100% of how loading a full font file online would work copyright-wise.

I started using the font-kits from places like Font Squirrel - but the @font-face attribute still looks so different from browser to browser. Top that off with the fact Macs always seem to thicken the font / Windows always seems to make the font really thin.

Cufon seems to be the only solution that won't risk using fonts inappropriately and won't display so differently cross browser/platform.

Thanks for the tip though!
CSSQuest is offline   Reply With Quote
Old 09-30-2010, 02:12 PM   PM User | #4
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Where is your call to Cufon.now()? It has been recommended that IE needs this for Cufon to work properly.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 09-30-2010, 08:59 PM   PM User | #5
CSSQuest
Regular Coder

 
Join Date: Mar 2009
Posts: 108
Thanks: 13
Thanked 0 Times in 0 Posts
CSSQuest is an unknown quantity at this point
Thanks Aerospace_Eng - I added the Cufon.now() function at the footer of my page.

Unfortunately still no luck. Any other ideas?

Thanks!
CSSQuest is offline   Reply With Quote
Old 10-01-2010, 01:13 AM   PM User | #6
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Do your links show up in IE if you disable Cufon?
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 10-01-2010, 08:17 AM   PM User | #7
SB65
Senior Coder

 
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,812
Thanks: 9
Thanked 681 Times in 675 Posts
SB65 will become famous soon enoughSB65 will become famous soon enough
There was a similar thread here a few months ago. You'll see that a user fixed a similar problem by changing the way the menus are hidden - looks like IE8 doesn't play nice when the menu is hidden via visibility:none - as here. So you could try changing your show/hide from visibility:hidden/visible to display:none/block or via a left margin.

Alternately, if this doesn't work, the links are OK in IE7 so you could as a fallback apply compatibility mode to the page via

Code:
<meta http-equiv="X-UA-Compatible" content="IE=7">
EDIT: Ah. From the Cufon css page:

Quote:
You can’t use visibility: hidden with elements containing Cufónized text in Internet Explorer 8 unless you set it after calling Cufon.replace(). In other words, visibility must not be hidden when Cufon.replace() is called. Other than that it is fine. There are no problems with display: none.

Last edited by SB65; 10-01-2010 at 08:33 AM..
SB65 is offline   Reply With Quote
Users who have thanked SB65 for this post:
CSSQuest (10-01-2010)
Old 10-01-2010, 02:04 PM   PM User | #8
CSSQuest
Regular Coder

 
Join Date: Mar 2009
Posts: 108
Thanks: 13
Thanked 0 Times in 0 Posts
CSSQuest is an unknown quantity at this point
SB65,

Thanks for your help! I'll give these solutions a shot - it makes sense. It looks like the easiest is to change from visibility to display and hide it that way.
CSSQuest is offline   Reply With Quote
Old 10-01-2010, 02:24 PM   PM User | #9
CSSQuest
Regular Coder

 
Join Date: Mar 2009
Posts: 108
Thanks: 13
Thanked 0 Times in 0 Posts
CSSQuest is an unknown quantity at this point
Just changed the drop downs from visibility to display:none and everything works flawlessly.

That would have taken me forever to figure out.

Thanks so much!
CSSQuest is offline   Reply With Quote
Reply

Bookmarks

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 07:24 AM.


Advertisement
Log in to turn off these ads.