473,473 Members | 2,134 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Firefox css-problem

The following style sheet for creating drop caps works fine in Safari,
Opera, Omniweb and Explorer, the drop caps extend over 3 lines. Only in
Firefox it doesn't look as it should, they extend over nearly 4 lines
(under Mac OS X). With Firefox under Windows, they extend over 3 lines
but are shifted too high.
Any idea/solution?
Thanks

Nov 28 '06 #1
1 1771
sorry, here comes the code:

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>test</title>
<style type="text/css">
body { color: black; font-size: 90%; font-family: verdana, sans-serif;
line-height: 130%; }
#main p:first-letter { color: gray; font-size: 420%; font-family:
georgia, times, serif; font-weight: bold; line-height: 90%;
background-color: #e6e6e6; text-transform: uppercase; float: left;
margin-right: 0.05em; }
p { clear: left; }
#main { width: 90%; left: 5%; }
</style>
</head><body>
<div id="main">
<p>Mangu nasili Mbula-Matadi mpinu bo asanga atati miu tuke yayaka
mwa mapela. Mwa elimo mpe njutu koba muntaka bitu wana ngai bobete,
nakatana na Lokolele mbi taleme ngai atati batombi mokia.</p>
<p>Ibe, nayaka bokoto bo biu bo bitu taleme tata miu nakamosangela
bokoli mokia mpe okeli tukende Lotoba.</p>
</div>
</body></html>

Nov 28 '06 #2

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

Similar topics

2
by: Stewart | last post by:
Originally posted in comp.lang.javascript: Newsgroups: comp.lang.javascript From: "Stewart" Date: 23 Aug 2005 02:50:04 -0700 Local: Tues, Aug 23 2005 10:50 am Subject: FireFox, RemoveChild,...
4
by: Joey | last post by:
Does anyone know how to center this sample webpage in Firefox? If so, will you provide the example as it applies to this sample webpage? I have read numerous posts and articles on how to center...
3
by: John W. Hall | last post by:
I'm just getting into XHTML & CSS. This early test page http://www3.telus.net/public/wexsessa/csstest/fftest.html displays as expected in IE 6 (which I did not expect) but Firefox ignores almost...
23
by: AJBopp | last post by:
Ok, I'm trying to be a good little boy and create a site that doesn't use frames :) Things were going along decently until I uploaded what little I have done so far to the web server (that is,...
5
by: eholz1 | last post by:
Hello Group, I am developing a web site using CSS. I have a div that has a vert scroll bar in it. The div works just fine (scroll up and down, etc). I have regular text (using <ptags) in the...
4
by: Mark | last post by:
I have developed a generic list-based css menu. It works both in IE7 and Firefox, and with the help of Peter Nederlof's csshover.htc, with older IE versions. I have included a simplified version...
12
by: tim | last post by:
I am using foldoutmenu 3 and am having problems with viewing my menus in firefox. On my sub3 menus i have more than one line of text in some places. firefox does not recognise that there is more...
2
by: pammyspammy | last post by:
Hi - Some background info: I'm helping to redesign an internal website at work, and I've decided to use CSS, though I don't really have any experience with it. I figure now's a good time to...
2
by: firstexact | last post by:
Hi guys, First post, hope you can help, I have done two sites www.trisant.co.uk and my own www.firstexact.co.uk. The 2 x 2 grid I originally envisaged goes haywire in Firefox as I get a 4 high by...
1
by: littlealex | last post by:
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! Need some help with this as fairly new to CSS! In IE6 the text for the following page doesn't display properly - rather than being...
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...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.