LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
LinkBack Search this Thread
Old 03-14-2008, 06:17 PM   #1
nkoplm
Member
 
Registered: May 2005
Distribution: Fedora
Posts: 92

Rep: Reputation: 15
Firefox rendering differently on Linux and Windows


edit: problem solved, thanks for the help. links no longer valid.

I am working on a web page for a client and have come across an annoying anomaly. My page renders correctly under windows, both in Firefox and IE, however in Firefox (2 and 3 beta )under linux, my menu images do not line up.

I created a quick page to exemplify the problem here:

windows screen cap (how it _should_ be displayed)
X

linux screen cap (bad. take note that the buttons drop down to a pixel below the stripe. This is not the desired behavior.)
X


The page in the flesh and blood and the relevant css file:
X
X


I realize there are other ways to implement this page that would be less problematic, however, there are a few reasons I would like to keep the code as is. I am coding standards compliant code, so It should have uniform behavior no matter in linux or windows. Am i missing something, did I make an error?

thanks.

Last edited by nkoplm; 03-15-2008 at 05:24 AM.
 
Old 03-14-2008, 06:28 PM   #2
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Rep: Reputation: 31
and the fonts are the same?
 
Old 03-14-2008, 07:06 PM   #3
nkoplm
Member
 
Registered: May 2005
Distribution: Fedora
Posts: 92

Original Poster
Rep: Reputation: 15
ah yes, that seems to be the problem. font sizes. That is odd because Im not sure how font size should even affect my code, there are no textual elements in it before the menu. I guess any href is considered text???

Oh well. now that I know the problem, i can work on fixing it. Thanks.
 
Old 03-15-2008, 12:10 PM   #4
sleekmason
Member
 
Registered: Mar 2006
Location: Arkansas
Distribution: Sidux. Others on occasion.
Posts: 312

Rep: Reputation: 31
No prob. The liberation ttf fonts have the exact same size as the microsoft fonts. It has to do with width of the characteristics of the fonts, not the size itself. but over the course of a sentence this can make a difference as well.
 
  


Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox on Linux not rendering website properly FyrFyt Linux - General 9 12-27-2007 04:04 PM
Why Firefox displays differently in Linux ismailkimyacioglu Linux - Software 3 03-10-2007 09:12 PM
Firefox locking up while rendering ciaran_skye Suse/Novell 4 12-28-2005 06:27 AM
flash rendering problem on firefox jlo_sandog Linux - Software 0 11-08-2005 02:51 PM
Firefox fonts render differently on Linux elempoimen Linux - Software 6 12-01-2004 10:01 PM


All times are GMT -5. The time now is 06:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration