473,569 Members | 3,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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">B lahblah</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 6908
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">B lahblah</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******@rrz n-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
2703
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 Nav/Content Area, kind of annoying but not enough to ruin the layout). However if I load it up on IE 5.2 Mac, Pushes the content to be bellow the...
30
2976
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 say it, IE. Like, for example, non-selection of a font-face for one style element, even though it is selected okay for another element and the...
28
3400
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 added below each list item, that gets bigger for each subsequent item. Can someone please take a look and see if they can find my problem? It...
1
2187
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 bar for the layer does not, it hides behind the flash object, this only happens aparently in Mac Firefox, Mac IE doesn't display this behaviour nor...
2
2856
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 change the selected text to bold, italic or underlined without using the font dialog?
11
4061
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 within the main div, depending on whether it is contained within a <td> or a <div> - http://www.chem.utoronto.ca/~dstone/test1.html...
3
1376
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 lengths, and a day is implemented as a table, with each row signifying a a 15-minute period. To test the system I decided to make a 9:00-17:00 booking....
2
12186
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
2729
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 the web page is at http://www.wessex100.org.uk/index_demo.html and the stylesheet is at http://www.wessex100.org.uk/shared/wessex_demo.css . Both...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7930
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5228
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.