Solved

Strange Font and Hover Behavior in Firefox 2 Mac only

Posted on 2008-06-26
8
1,107 Views
Last Modified: 2013-12-07
I have simple page (I thought!) that uses CSS to implement some basic text and navigation. The following behavior is observed in Firefox 2 on a Mac only. Everything seems fine on Safari (Mac), IE, and Firefox PC.

Again the link to my test page is:
http://www.scottelson.com/rita/test.html

There are couple of strange things I am seeing. Not sure if they are related.
1. General font appearance changes:
- The page loads and all text looks ok.
- Scroll down and all text that was off screen is bold, but text that was on screen (and is still on screen) is still "normal".
- Refresh (Command-R) and all on screen text is now bold.
- Scroll up and text that was offscreen is "normal", but text that was on screen (and is still on screen) is still "bold".
- Refresh again and all text on screen is back to "normal".

2. Font weight changes with hover.
- The page loads and all text looks ok.
- Hovering over one of the text navigation items to the left causes them to become bold (and underlined, but that is by design).
- When not hovering, the text remains bold.

Is this a Firefox issue or am I doing something bad is CSS? Seems strange that this is the only browser that has issues and only the Mac version. I am also using a CSS browser reset, but haven't had this issue in the past. Should I be implementing this a better way?

I can elaborate more if needed. Thanks for you help!
CSS
 

body {

	color: rgb(240,228,228);

	background: rgb(76,26,30);

	font-family: Arial;

	text-decoration: none;

	font-weight: normal;

	font-style: normal;

}

h1{

	font-size: 28px;

}

h2{

	font-size: 22px;

}

h3{

	font-size: 15px;

	font-style: italic;

	opacity: 0.6;

}

a{

	text-decoration: none;

	color: rgb(240,228,228);

}
 

a:link{

}

a:visited{

}

a:hover {

	text-decoration: underline;

}

a:active{

}
 

#wrapper{

	width: 950px;

	margin-top: 0px;

	margin-left: 0px;

	background: rgb(82,36,50);

	float: left;

}
 

#main{

	width: 950px;

	float: left;

}
 

/* Left Nav */

#left_nav{

	width: 177px;

	float: left;

	font-size: 13px;

}

#left_nav ul{

	line-height: 23.28px;

	padding-left: 10px;

	list-style-type: none;

	list-style-position: outside;

	list-style-image: none;

}
 

/* Main copy */

#copy{

	width: 324px;

	float: left;

	font-size: 12px;

	line-height: 15px;

}

#copy_main{

	padding-bottom: 15px;	

	border-bottom-style: dotted;

	border-bottom-width: 1px;

}

#copy_foot{

	padding-top: 10px;

}

#copy_foot ul{

	list-style-type: none;

	list-style-position: outside;

	list-style-image: none;

}

#copy_foot ul li{

	display: inline;

}

#display{

	width: 449px;

	float: left;

}

#footer{

	

}
 

.on_underline{

	text-decoration: underline;

}
 

.on_bold{

	font-weight: bold;

	font-size: 15px;

}
 
 
 

HTML
 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>rita de alencar pinto</title>
 

<STYLE TYPE="text/css">

<!--

  @import url("css/reset.css");

	@import url("css/test.css");

-->

</STYLE>
 

</head>
 
 

<body>

<div id="wrapper">

	

	<div id="main">

		

		<div id="left_nav">

			<ul>

				<li><a href="index.html">About Salons</a></li>

				<li class="on_bold">+ Current Salon</a></li>

				<li><a href="index.html">Upcoming Salons</a></li>

				<li><a href="index.html">Past Salons</a></li>

			</ul>

		</div>	

		

		<div id="copy">

			<div id="copy_main">

				<h2>Charlotte Nicholson</h2>

				<p>&nbsp;</p>

				<h3>by appointment through july 12th</h3>

				<p>&nbsp;</p>

				<p>Charlotte Nicholsons work is derived from an intuitive repetition of mark making.

					Its physical presence elicits impressions of clouds, steam, fur, a sub-atomic

					world and ambiguity. Using these gestures the artist has developed a series of

					paintings whereby the entire surface of the panel is covered in gold leaf, and

					in the course of time has developed a sensuous patina. The juxtaposition of this

					rich surface and the blue and pink palette stimulates an electric tension. The

					reflective surface draws out some of the marks more than others and leads the

					eye dancing around the pattern. Nicholson has experimented with this tension

					by adopting different size and shape panels and or covering more or less of the

					surface with the mark resulting in a gemlike quality.</p><p>&nbsp;</p> 

					<p>Nicholsons second series directly references the compositions of Jean-Honoré

					Fragonard (17321806), The Progress of Love series from the Frick collection.

					These four panels painted between 1771 and 1773, considered by many to be the

					artists masterpiece and one of the greatest decorative ensembles of the eighteenth

					century. In 1790, Fragonard painted ten additional panels (the two large-scale

					works Love Triumphant and Reverie; four Hollyhocks; and four overdoors of putti)

					to complete The Progress of Love.</p><p>&nbsp;</p>

					<p>Nicholson was inspired by the exquisite nature and rendering of this group of

					paintings and how they resonated with her own process of mark marking and color

					palette. She extrapolated the central figure pairings, foliage and sky-scapes

					and re-configured them in her own visual language. The nuance created by the

					abstract volumes derived from the accumulation of Nicholsons mark clearly re-interprets

					these paintings as her own. </p><p>&nbsp;</p>

					<p>The artists mark is the decisive relationship between these two bodies of work.

					In the abstracted landscape of her Fragonard series she has been inspired by

					the sparse application of the paint and the ability of the mark to interpret

					its own density and movement. The gold leaf series takes on these forms with

					no underlying narrative and become the central focus.</p><p>&nbsp;</p>

					<p>Graduate of Glasgow School of Art BFA in 2000 and Hunter MFA in 2004, Nicholson

					lives and works in Brooklyn.</p>

				</div>

			

		</div>

		

		<div id="display">

		</div>

	

	</div>

	<!-- End main -->
 
 
 

</div>

</body>
 

</html>

Open in new window

0
Comment
Question by:JagerM
  • 4
  • 2
  • 2
8 Comments
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 21880717
Firefox for MAC, version 2 is not well debugged.  The way to be certain of this is to download Mozilla  for Mac (now called seaMonkey -- a stupid name) -- see -- www.mozilla.org and look for SeaMonkey.

I have been trying to tell everyone that Mozilla (aka. SeaMonkey now) is the most faithful and accurate rendering of the true DOM standard that anyone has produced.  It is much faster and more accuarate than firefox, despite people's obsession with a browser-only replacement for the quirky IE.

If you take the time to install Mozilla -- SeaMonkey 1.1.7--
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7

and you find the page renders correctly in the Mozilla browser, you can be SURE 100% CERTAIN that it is rendering correctly.  I have found so many rendering inconsistencies in firefox, I no longer use it to test important pieces of code.  If it passes a Mozilla SeaMonkey test, it is CORRECT, no if ands or buts.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 21880725
and I forgot to mention the obvious, Mozilla and SeaMonkey are available for MAC.  Just get to the download link for Mozilla seamoney and you will find the choice of either windows or MAC.  Get the MAC, it works great.
0
 
LVL 42

Expert Comment

by:David S.
ID: 21881085
@JagerM

It seems fine in Firefox 2.0.0.14 on MacOS 10.5.2, 10.4.11, and 10.3.9.

@scrathcyboy

SeaMonkey and Firefox are only two of many browsers that use the Mozilla Gecko engine. The Mozilla Gecko engine does have some bugs, but then no browser is perfect.
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 21881109
you are quite wrong.  Mozilla has stuck with the original DOM, but firefox has diverged more and more with every release.  It is now to the point that Mozilla remains compliant, and FF3 has MAJOR bugs due to its divergence.  IN fact FF3 is trying to rewrite the DOM to their own specs now -- just like IE has done.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 42

Expert Comment

by:David S.
ID: 21881199
Which changes are you annoyed by anyway? And why are you against browsers implementing features that aren't in either DOM2 or DOM3?

Won't SeaMonkey get the changes when it's upgraded to Mozilla 1.9.x?
0
 

Author Comment

by:JagerM
ID: 21882360
Hmmmmm. Seeing it in Seamonkey too. One thing I just noticed is that I believe it is only happening on pages that have the "opacity" property set for some text values. A quick search finds makes me think this is the culprit. I think I may have solved my own problem....
0
 
LVL 44

Expert Comment

by:scrathcyboy
ID: 21886521
Not having a MAC right now in front of me, I can't test the actual page for debugging.  I would first remove the dark background, for testing, and then I would specify in each CSS the actual FONT you want (it doesn't appear anywhere) -- then in all CSS designations but the BOLD one, you should specify --

font-weight:normal;

NOT specifying the font, and NOT specifying the weight in each CSS could leave the font status in a bold state on the MAC display.
0
 

Accepted Solution

by:
JagerM earned 0 total points
ID: 21886587
Thanks scrathcyboy, but it seems that the opacity designation in CSS was the issue. I removed it and everything works fine. There were a couple of other pages in the design that were using this as well and once the opacity is gone, it all works as it should.

I updated the test style sheet for that link, so if anyone wants to check out the behavior of the fixed version...


Thanks to all.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now