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
Weird @font-face issue with overlapping text. I'm stumped!
Old 06-13-2010, 12:26 PM Weird @font-face issue with overlapping text. I'm stumped!
Novice Talker

Posts: 5
Name: Christian
Trades: 0
I have used an image to best describe the problem. Though tinypic resizes so there is some quality loss you can still see the difference. It's almost as if it's bolded, but appears to actually be overlapping two sets of text. Again this issue is only with Firefox/Chrome. Is it possible some -webkit code is causing this? I use it for rounded corners and transparency on my site. I'm completely lost to what could be the problem here, so any help is much appreciated.

http://i46.tinypic.com/2uzccqq.jpg
christianbright is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-13-2010, 01:41 PM Re: Weird @font-face issue with overlapping text. I'm stumped!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Neither Firefox nor Chrome will pay any attention to -webkit code, which will only be read by webkit-based browsers.
__________________
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-13-2010, 02:46 PM Re: Weird @font-face issue with overlapping text. I'm stumped!
Novice Talker

Posts: 5
Name: Christian
Trades: 0
Ok, so then I guess its -moz code that they do read. What could possibly be giving me a problem with those two browsers, and none with all others? It's the same @font-face css...Any tools you could recommend to help me figure it out? I use firebug to debug and no errors appear in the console. I don't even really know where to start with something like this.

**EDIT**

I hadn't checked all of the error filters. Here is what has come up...

Expected color but found '#0'. Error in parsing value for 'background-color'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG] background-color: #0; stylesheet.css (line 1006)

Error in parsing value for 'width'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG]width:780x; minstyle.css (line 50)


Unknown property 'behavior'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG].ie6_png {behavior: url("iepngfix.htc") } goldmonger.net (line 16)


Unknown property 'behavior'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG].ie6_png img {behavior: url("iepngfix.htc") } goldmonger.net (line 17)


Unknown property 'behavior'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG].ie6_png input {behavior: url("iepngfix.htc") } goldmonger.net (line 18)


Error in parsing value for 'width'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG]

Error in parsing value for 'width'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG]

Expected ':' but found 'undefined'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG]

goldmonger.net : potentially vulnerable to CVE-2009-3555
Unknown property 'behavior'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG].ie6_png {behavior: url("js/iepngfix.htc") } goldmonger.net (line 2470)


Unknown property 'behavior'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG].ie6_png img {behavior: url("js/iepngfix.htc") } goldmonger.net (line 2471)


Unknown property 'behavior'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG].ie6_png input {behavior: url("js/iepngfix.htc") } goldmonger.net (line 2472)


goldmonger.net : potentially vulnerable to CVE-2009-3555
goldmonger.net : potentially vulnerable to CVE-2009-3555
goldmonger.net : potentially vulnerable to CVE-2009-3555
Unknown property '-moz-opacity'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG]#lz_chat_file_base{position:absolute;t...ransform. Microsoft.Alpha(opacity=0);} style....3280241 (line 38)


Error in parsing value for 'filter'. Declaration dropped.
[IMG]chrome://firebug/content/blank.gif[/IMG]#lz_chat_file_base{position:absolute;t...ransform. Microsoft.Alpha(opacity=0);} style....3280241 (line 38)

But none of these should have anything to do with @font-face....

Last edited by christianbright; 06-13-2010 at 02:51 PM..
christianbright is offline
Reply With Quote
View Public Profile
 
Old 06-13-2010, 08:28 PM Re: Weird @font-face issue with overlapping text. I'm stumped!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
You DO realize that @font-face is not yet fully supported.
Only firefox will understand -moz properties, chrome will not.

Quote:
background-color: #0
#0 is not a proper coding, if you want black, it needs to be #000 or #000000, the 1st being shorthand and sufficient.

Quote:
width:780x
"x" is not a proper unit, should be 780px.
__________________
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


Last edited by LadynRed; 06-14-2010 at 08:48 AM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-13-2010, 11:18 PM Re: Weird @font-face issue with overlapping text. I'm stumped!
Novice Talker

Posts: 5
Name: Christian
Trades: 0
Yes, I do realize that it's not fully supported. However it worked perfectly fine up until a few days ago in all browsers. I reverted back to an old stylesheet but it didn't resolve the problem. I haven't even changed anything dramatically so that's why I'm lost to as what happened. I have been fixing the errors, and the issue still exists unfortunately...
christianbright is offline
Reply With Quote
View Public Profile
 
Old 06-14-2010, 08:50 AM Re: Weird @font-face issue with overlapping text. I'm stumped!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Well.. no one can help you from an image. A URL to the problem page would be preferable.
__________________
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-14-2010, 11:45 AM Re: Weird @font-face issue with overlapping text. I'm stumped!
Novice Talker

Posts: 5
Name: Christian
Trades: 0
The address is goldmonger[dot]net. Note: If you hover over the navigation buttons, the font returns to normal. Also if you highlight the headings, however in the scrolling text box it does not.

Last edited by christianbright; 06-14-2010 at 11:47 AM..
christianbright is offline
Reply With Quote
View Public Profile
 
Old 06-14-2010, 02:34 PM Re: Weird @font-face issue with overlapping text. I'm stumped!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The font in Firefox looks the same to me whether I hover over the menu or not.

I think you should fix the errors first:

Quote:
line 57 column 21 - Warning: discarding unexpected </td>
line 111 column 1 - Warning: missing </ul> before </div>
line 157 column 5 - Warning: missing </span> before <div>
line 158 column 1 - Warning: inserting implicit <span>
line 158 column 1 - Warning: missing </span> before <ul>
line 159 column 1 - Warning: inserting implicit <span>
line 159 column 5 - Warning: missing </span> before <table>
line 159 column 1 - Warning: missing </span> before <table>
line 1943 column 1 - Warning: discarding unexpected </span>
line 158 column 1 - Warning: missing </ul> before </div>
line 1946 column 1 - Warning: discarding unexpected </span>
line 156 column 1 - Warning: missing </ul> before </div>
line 1953 column 1 - Warning: missing </ul> before </div>
line 1959 column 5 - Warning: missing </span> before <div>
line 1960 column 1 - Warning: inserting implicit <span>
line 1960 column 1 - Warning: missing </span> before <ul>
line 1961 column 1 - Warning: inserting implicit <span>
__________________
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


Last edited by LadynRed; 06-14-2010 at 02:36 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-14-2010, 04:36 PM Re: Weird @font-face issue with overlapping text. I'm stumped!
Novice Talker

Posts: 5
Name: Christian
Trades: 0
Where are you pulling those errors from? I'm still learning the ropes of coding, in general. I know a little CSS, PHP & HTML and that's the extent of it.
christianbright is offline
Reply With Quote
View Public Profile
 
Old 06-14-2010, 08:21 PM Re: Weird @font-face issue with overlapping text. I'm stumped!
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I have a Firefox extension called HTML Tidy that shows me all the errors. I highly recommend it along with Firebug.
__________________
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 Weird @font-face issue with overlapping text. I'm stumped!
 

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