Hello,
I'm very new to CSS and still in the reference/copy/paste/edit stage,
so please forgive my ignorance. I'm using CSS for my blog, and while
the font size is fine in Firefox, it is illegibly small when looked at
in IE. It can't even be mousewheeled to a readable size. Is there
some descrepancy in how the two browsers render CSS? Can anyone
please tell me how to extend or unify my stylesheet so the font shows
up as the same size in both browsers? Please help.
I've listed the type and color section from my CSS below. If I should
be looking somewhere else, please let me know.
Thank you very much.
body {
font-family: 'ms ui gothic', 'microsoft sans serif', arial,
helvetica;
background: #ffffff url(images/autumnTactics1.jpg); background-
repeat:no-repeat; background-attachment: fixed;
color: #ffffff;
text-align: right;
}
#page {
background: transparent;
border: 1px solid #959596;
text-align: right;
}
#content {
font-size: 0.8em
}
..narrowcolumn .entry, .widecolumn .entry {
line-height: 1.4em;
}
..widecolumn .entry p {
font-size: 1.05em;
}
..widecolumn {
line-height: 1.6em;
}
..narrowcolumn .postmetadata {
text-align: righ;
}
..alt {
background: transparent;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
}
#footer {
background: transparent;
border: none;
}
small {
font-family: 'ms ui gothic', 'microsoft sans serif', arial,
helvetica;
font-size: 0.9em;
line-height: 1.5em;
}
h1, h2, h3 {
font-family: 'ms ui gothic', 'microsoft sans serif', arial,
helvetica;
font-weight: bold;
}
h1 {
font-size: 4em;
text-align: center;
}
#headerimg .description {
font-size: 1.2em;
text-align: center;
}
h2 {
font-size: 1.6em;
}
h2.pagetitle {
font-size: 1.6em;
}
#sidebar h2 {
font-family: 'ms ui gothic', 'microsoft sans serif', arial,
helvetica;
font-size: 1.2em;
}
h3 {
font-size: 1.3em;
}
h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
text-decoration: none;
color: #cc6666;
}
/* Post title */
h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
color: #6666CC;
}
h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3
a:visited, #sidebar h2, #wp-calendar caption, cite {
text-decoration: none;
}
..entry p a:visited {
color: #b85b5a;
}
..commentlist li, #commentform input, #commentform textarea {
font: 0.9em 'ms ui gothic', 'microsoft sans serif', arial, helvetica;
}
..commentlist li {
font-weight: bold;
}
..commentlist cite, .commentlist cite a {
font-weight: bold;
font-style: normal;
font-size: 1.1em;
}
..commentlist p {
font-weight: normal;
line-height: 1.5em;
text-transform: none;
}
#commentform p {
font-family: 'ms ui gothic', 'microsoft sans serif', arial,
helvetica;
}
..commentmetadata {
font-weight: normal;
}
#sidebar {
font: 1em 'ms ui gothic', 'microsoft sans serif', arial, helvetica;
}
small, #sidebar ul ul li, #sidebar ul ol
li, .nocomments, .postmetadata, blockquote, strike {
color: #777;
}
code {
font: 1.1em 'Courier New', Courier, Fixed;
}
acronym, abbr, span.caps
{
font-size: 0.9em;
letter-spacing: .07em;
} 4 3688
Scripsit HeroOfSpielburg:
I'm very new to CSS and still in the reference/copy/paste/edit stage,
so please forgive my ignorance. I'm using CSS for my blog, and while
the font size is fine in Firefox, it is illegibly small when looked at
in IE.
Simply stop playing with font size in your style sheet. Problem solved. When
you master some simpler issues in CSS, consider setting font size for
headings first, without setting copy text size.
I've listed the type and color section from my CSS below.
And post the URL, not snippets of code. How could we know, for example, how
much nesting you have on your page so that the font size effects cumulate?
body {
font-family: 'ms ui gothic', 'microsoft sans serif', arial,
helvetica;
Have you actually tested your page using each of those fonts? It looks like
a strange list.
text-align: right;
Quite strange.
text-align: righ;
You haven't even used the W3C CSS Validator. Please do so before posting a
question about a particular style sheet.
--
Jukka K. Korpela ("Yucca") http://www.cs.tut.fi/~jkorpela/
On 2007/06/03 17:50 (GMT-0700) HeroOfSpielburg apparently typed:
I'm very new to CSS and still in the reference/copy/paste/edit stage,
so please forgive my ignorance. I'm using CSS for my blog, and while
the font size is fine in Firefox, it is illegibly small when looked at
in IE. It can't even be mousewheeled to a readable size. Is there
some descrepancy in how the two browsers render CSS? Can anyone
please tell me how to extend or unify my stylesheet so the font shows
up as the same size in both browsers? Please help.
I've listed the type and color section from my CSS below. If I should
be looking somewhere else, please let me know.
body {
font-family: 'ms ui gothic', 'microsoft sans serif', arial,
helvetica;
background: #ffffff url(images/autumnTactics1.jpg); background-
repeat:no-repeat; background-attachment: fixed;
color: #ffffff;
text-align: right;
}
#content {
font-size: 0.8em
}
It's impossible to give a full accurate answer, as you've negelected to provide a URL, but the probable single biggest reason is that you've neglected to tell IE not to be stupid in rudely undersizing
text in #content. http://css-discuss.incutio.com/?page=UsingEms shows how to tell IE not to be stupid. http://www.informationarchitects.jp/100e2r?v=4 explains how not to be rude.
--
"Respect everyone." I Peter 2:17 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
HeroOfSpielburg wrote:
>
the font size is fine in Firefox, it is illegibly small when looked at
in IE.
I've listed the type and color section from my CSS below.
[snip huge amount of code]
Please don't post reams of code, post a URL to your page that shows the
problem.
#content {
font-size: 0.8em
}
The problem is most likely the well-known bug IE has with em units. Set
body {font-size:100%} and the problem should go away.
That only leaves the other problem with using too small type for normal
paragraph text. If 1em/100% looks too big to you, you haven't adjusted
your browser default font size properly.
I won't comment on other aspects of your stylesheet, but there are other
questionable settings besides the type size.
--
Berg
Thank you to everyone who took the time to reply. As several people
noted, I should probably take some time reading up on CSS basics, so
when I copy from other stylesheets, I can at least know what is worth
copying or not. :)
For now, this will at least fix the problem of no one being able to
read my site in the short term. And next time I'll be sure to post
the URL and check the stylesheet against the validator. I'm much
obliged! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Randell D. |
last post by:
I have just recompiled, upgraded to PHP 4.3.4. As an exercise (and
curiosity) I've decided to test out PDF functions and got the test in the
PHP online manual working. I had one problem whereby...
|
by: Jack Charbonneau |
last post by:
I have a bunch of custom fonts installed on my system.
For instance if I look at the font drop-down in word pad
I see about 90 fonts, but if I build an app using VS.Net,
add a label, and try to...
|
by: LaidBack Bill |
last post by:
My application allows the user to select fonts. I fill in a combo box
control with the available fonts by looping through all System.Fonts:
' Get all the screen fonts
ReDim...
|
by: Sam |
last post by:
Is there a way to display Asian fonts in Access 97? If not, how about
subsequent versions? One thought is I was able to display Asian fonts
in Visual Basic using a browser control, which in turn...
|
by: L |
last post by:
Hi there,
Does C# support OpenType fonts? My c# application is not
recognizing OpenType fonts.
Thanks,
Lalasa.
|
by: Aaron Gray |
last post by:
Is there anyway to get a list of all the availiable fonts in Javascript ?
Aaron
|
by: traditore |
last post by:
Hello.
I'm trying to load fonts in a web page using "style" tag. The TTF files are
in other page whose URL is, for example, "http://myURL/fonts". The HTML
code is something like:
<html>...
|
by: ctclibby |
last post by:
Hi all
Have a customer that wants a specific font included in her web page
design; Comic Sans MS. This is one of the MS core fonts. The problem
I have is that some of the *nix browsers do NOT...
|
by: Gary |
last post by:
1. I've installed a bunch of fonts in main application, which is in native
C++ code using AddFontResourceEx
2. A C# application is launched from this main application, but failed to
enumerate...
|
by: tpgames |
last post by:
Two days ago, MS office Word would type JP fonts, I thought. I didn't think I was using Works. Now, it won't type in JP. Jasc Paint shop pro 8, should type JP fonts because I am using XP, according...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
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: 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,...
|
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...
|
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,...
|
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...
|
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,...
|
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...
| |