473,382 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Italic rendering problem in Safari

Hello,

I'm having a rendering problem with italics in Safari 1.2. The
following displays correctly and is consistent with other Mac and
non-Mac browsers:

..Title { font-family: Impact; font-size: 96px; }
<div class="Title">Blahblah</div>

If I change the stylesheet into
..Title { font-family: Impact; font-size: 96px; font-style: italic }
I get complete rubbish in Safari (correctly sized, though).

Is this a known bug in Safari or is there something I can do in the
above code to fix the problem?
Thanks

geek
Jul 20 '05 #1
4 6884
ge**@f2s.com (London Geek) wrote:
I'm having a rendering problem with italics in Safari 1.2.
Sounds like you have something that could be asked better in a
stylesheet group or in a browser group.
.Title { font-family: Impact; font-size: 96px; }
<div class="Title">Blahblah</div>
ObHTML: It looks very much like you should actually use
<h1>Blahblah</h1>. If Blahblah is meant to be a 1st level heading, that
markup would be more logical - and actually easier to use.
If I change the stylesheet into
.Title { font-family: Impact; font-size: 96px; font-style: italic }
I get complete rubbish in Safari (correctly sized, though).


Before composing a question to be posted to a more suitable group, you
might try to interpolate at which size this happens. But it looks like
a browser bug - maybe the poor browser just gets confused when trying
to construct a large version of the font.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2
On 23 Feb 2004, London Geek wrote:
I'm having a rendering problem with italics in Safari 1.2.

If I change the stylesheet into
.Title { font-family: Impact; font-size: 96px; font-style: italic }
I get complete rubbish in Safari (correctly sized, though).


The font "family" Impact consists of a single font. There is no bold
and no italic font of Impact. Some platforms do not render "bold"
or "italic" when the specified typeface has only one style.
Famous example is Arial Unicode MS.

Jul 20 '05 #3
Andreas Prilop <nh******@rrzn-user.uni-hannover.de> wrote:
The font "family" Impact consists of a single font. There is no bold
and no italic font of Impact. Some platforms do not render "bold"
or "italic" when the specified typeface has only one style.
Famous example is Arial Unicode MS.


Just for clarification, or to confirm my fears:

This means that on such platforms (which?), _any_ attempt to make text
bold or italic (e.g., font-weight: bold and <b>) will fail. Moreover,
HTML elements that by browser defaults have bold or italic rendering as
and no other visual effect, such as <em>, will effectively fail to
convey their message - e.g., emphasized text will look like normal text
(unless style sheets are used to change this).

The impact (no pun intended) looks serious, but I would classify it as
a browser bug more than anything else.

Is there any difference between font-style: italic and font-style:
oblique in this respect, or between different font-weight values?

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #4
On Wed, 25 Feb 2004, Jukka K. Korpela wrote:
This means that on such platforms (which?), _any_ attempt to make text
bold or italic (e.g., font-weight: bold and <b>) will fail.
This has been reported in this (or the stylesheet) group a few times.
IIRC, it always referred to Linux. I have no personal experience
with this effect.
Is there any difference between font-style: italic and font-style:
oblique in this respect, or between different font-weight values?


Don't know. Set up a test page and ask in the browsers' groups?

Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: The Master | last post by:
For the most part I think I have it rendering correctly on Opera 7.5, Firefox .8, and IE 6 for Windows (the only exception is IE 6 for windows adds an extra space between the Top Nav and the Left...
30
by: Matt Probert | last post by:
Is it just me (probably) or is Mozilla and the newer Firefox full of CSS rendering bugs? I ask, because some strange effects occur with Mozilla and Firefox which don't happen in Opera and dare I...
28
by: Lachlan Hunt | last post by:
Hi, I've been trying, but failing to work out what is causing Opera to render my drop down menu incorrectly on my site. http://www.lachy.id.au/ For some reason, there seems to be extra margin...
1
by: NightWalker | last post by:
Hello all: I'm having a problem correctly rendering a web page that uses layers to display a web form on top of a flash object. The problem is that the layer renders correctly but the scroll...
2
by: Adam Honek | last post by:
Okay, Assinging the font and its style (bold, italic etc.) using the font dialog is easy such as: FontDialog1.ShowDialog() txtEmailBody.SelectionFont = FontDialog1.Font But how does one...
11
by: David Stone | last post by:
I'm trying to figure out how to avoid tables when presenting a sidebar on an html 4 strict page, by using div instead. I've run into a situation where I get different rendering of the elements...
3
by: AndyHolyer | last post by:
In all my years of hacking HTML I've never seen this happen before: I'm writing a small part of a site in Mason which implements a calendar and booking system. Bookings can be of various...
2
by: r_ahimsa_m | last post by:
Hello, I am learning CSS and other WWW technologies. In the folowing definition italic doesn't work: h2 { color: Brown; text-decoration: italic; }
8
by: Rip van Winkle | last post by:
Here's a strange thing which took me hours to track down. I'd have thought that 'font-style: italic;' was generally harmless, but apparently not to IE7 and/or Vista. The stripped-down version of...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.