I have the item below at the top of my style sheet. And it seems that
the font-szie is ignored. I know that my linked style sheet is being
read, and used because if I remove the font-family line, the font
changes. But it appears that no matter what I do with the font-size,
it is ignored, and I cannot figure out why!
Any clues? At the very bottom is the entire style sheet, just incase
anyone comes accross something that they feel is overriding the BODY
command, you can let me know.
Thanks.
p.s. One more thing, this happens on all browsers, yet if I select the text
out of the browser and copy it to word, it will be in the proper size as
reflected by my style sheet. Is there some setting that has to be turned
off via some meta tag?
BODY
{
font-family: sans-serif, serif, monospace;
font-size: 14pt;
}
....entire style sheet...
BODY
{
font-family: sans-serif, serif, monospace;
font-size: 14pt;
}
..justRed
{
color: red;
}
..smallRed
{
color: red;
font-size: 10pt;
}
DIV.editChoice
{
background:#4FAAFF;
}
DIV.delChoice
{
background:#F95585;
}
DIV.lostChoice
{
background: #FEBA35;
}
A:link
{
text-decoration: none;
color: blue;
font-variant: small-caps;
}
A:visited
{
text-decoration: none;
color: blue;
font-variant: small-caps ;
}
A:hover
{
text-decoration: none;
color: red;
font-variant: small-caps;
}
A:active
{
text-decoration: none;
color: blue;
font-variant: small-caps ;
}
EM
{
font-weight:bold;
font-style: italic ;
}
..titleBlue
{
color: blue;
font-size: 14pt;
}
..titleRed
{
color: red;
font-size: 14pt;
}
H1
{
font-family: sans-serif, serif, monospace;
font-size: larger;
color: #0B4499;
}
H2
{
font-family: sans-serif, serif, monospace;
font-size: 12pt;
color: #0B4499;
}
A.zsidemenu:link
{
text-decoration:none;
color:#FEBA35;
background:#0B4499;
font-size : 20pt;
width: 200px;
display:block;
padding-left: 5pt;
padding-right: 5pt;
padding-top: 5pt;
padding-bottom: 5pt;
font-variant: small-caps ;
}
A.zsidemenu:visited
{
text-decoration:none;
color:#FEBA35;
background:#0B4499;
font-size : 20pt;
width: 200px;
display:block;
padding-left: 5pt;
padding-right: 5pt;
padding-top: 5pt;
padding-bottom: 5pt;
font-variant: small-caps ;
}
A.zsidemenu:hover
{
text-decoration:none;
color:#FF0000;
background:#0B4499;
font-size : 20pt;
width: 200px;
display:block;
padding-left: 5pt;
padding-right: 5pt;
padding-top: 5pt;
padding-bottom: 5pt;
font-variant: small-caps ;
}
A.zsidemenu:active
{
text-decoration:none;
color:#FEBA35;
background:#0B4499;
font-size : 20pt;
width: 200px;
display:block;
padding-left: 5pt;
padding-right: 5pt;
padding-top: 5pt;
padding-bottom: 5pt;
font-variant: small-caps ;
}
/* OWNER MENU*/
..goldBorder
{
font-family: sans-serif, serif, monospace;
text-decoration:none;
color: #FEBA35;
font-size : 12pt;
font-weight: 700;
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
..redBorderTop
{
font-family: sans-serif, serif, monospace;
text-decoration:none;
color: #F90030;
font-size : 12pt;
font-weight: 700;
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
..redBorderBottom
{
font-family: sans-serif, serif, monospace;
text-decoration:none;
color: #F90030;
font-size : 12pt;
font-weight: 700;
text-align: center;
vertical-align: middle;
white-space: nowrap;
}
A.zsubsidemenu:link
{
text-decoration:none;
color:#FEBA35;
background:#0B4499;
font-size : 16pt;
width: 200px;
display:block;
font-variant: normal ;
}
A.zsubsidemenu:visited
{
text-decoration:none;
color:#FEBA35;
background:#0B4499;
font-size : 16pt;
width: 200px;
display:block;
font-variant: normal ;
}
A.zsubsidemenu:hover
{
text-decoration:none;
color:#0B4499;
background:#FEBA35;
font-size : 16pt;
width: 200px;
display:block;
font-variant: normal ;
}
A.zsubsidemenu:active
{
text-decoration:none;
color:#FEBA35;
background:#0B4499;
font-size : 16pt;
width: 200px;
display:block;
font-variant: normal ;
} 7 2996
Daniel Kaplan wrote: I have the item below at the top of my style sheet. And it seems that the font-szie is ignored. ...
BODY { font-family: sans-serif, serif, monospace;
Why can't you make up your mind? :-) That line should read something
like:
font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
Never mix serif and sans-serif ...
font-size: 14pt;
Set sizes in percentages rather than points (which is for print media)
or pixels. Internet Explorer cannot resize for those with vision
problems.
font-size: 100%;
...entire style sheet...
snipped.
Go through the style sheet and change all the points to an appropriate
number of percentages - but do remember that the C of CSS is Cascading,
so you only need to set things like h1, h2, to an appropriately larger
percentage, and legalese to maybe 85% or so.
Oh, did you mean Microsoft Word? The third-worst HTML editor known to
man?
4. Microsoft FrontPage
3. Microsoft Word
2. Microsoft Excel
1. Microsoft Publisher
--
-bts
-Warning: I brake for lawn deer
Daniel Kaplan wrote: I have the item below at the top of my style sheet. And it seems that the font-szie is ignored. I know that my linked style sheet is being read, and used because if I remove the font-family line, the font changes. But it appears that no matter what I do with the font-size, it is ignored, and I cannot figure out why!
Any clues?
Without a URL? Its difficult to say. At a wild guess, you have something
which isn't inheriting the font size. So the size is being applied to the
body, but not to something inside it. A URL would make it much easier to
debug.
font-size: 14pt;
Avoid point units on screen.
* Most systems are not configured to correctly represent points on screen
* They ignore whatever preferences the user has set for their font size
* Internet Explorer users have to jump through some nasty hoops in order to
resize them (e.g. if you've picked a size too small for the user to read).
I suggest sticking to percentages or ems (with 100% (the user's preference)
as the size of body text).
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
"David Dorward" <do*****@yahoo.com> wrote in message
news:do*******************@news.demon.co.uk... Without a URL? Its difficult to say. At a wild guess, you have something which isn't inheriting the font size. So the size is being applied to the body, but not to something inside it. A URL would make it much easier to debug.
font-size: 14pt;
Ok, forgetting the POINT issue right now, here it is, in the simplest form: www.warptv.com/ctest.html www.warptv.com/zstyles.css
Oh god, please help!
Daniel Kaplan wrote: "David Dorward" <do*****@yahoo.com> wrote in message news:do*******************@news.demon.co.uk...
Without a URL? Its difficult to say. At a wild guess, you have something which isn't inheriting the font size. So the size is being applied to the body, but not to something inside it. A URL would make it much easier to debug.
font-size: 14pt;
Ok, forgetting the POINT issue right now, here it is, in the simplest form:
...but don't forget for long. www.warptv.com/ctest.html www.warptv.com/zstyles.css
BODY, TD
{
font-size: 24pt;
font-family: sans-serif, serif, monospace;
color: red;
}
Oh god, please help!
He's still busy with the holidays.
--
-bts
-Warning: I brake for lawn deer
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message
news:dy*****************************@40tude.net... BODY, TD
why? why must I specify this is for cells? I mean BODY should be all
encompassing, no?
not that i am not grateful, but i want to learn as well! and I have to say
that the tutorial I have been using online makes no mention of this.
i appreciate it tho.
Although, wait again. Why must TD have been specified for the "size" to
work, when the color and face would work all the way through?!?!?!?!
See my confusion?
p.s. You really don;t have to teach me, just point out a good link to me.
Daniel
Daniel Kaplan wrote: "Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message news:dy*****************************@40tude.net...
BODY, TD
why? why must I specify this is for cells? I mean BODY should be all encompassing, no?
not that i am not grateful, but i want to learn as well! and I have to say that the tutorial I have been using online makes no mention of this.
i appreciate it tho.
Although, wait again. Why must TD have been specified for the "size" to work, when the color and face would work all the way through?!?!?!?!
See my confusion?
p.s. You really don;t have to teach me, just point out a good link to me.
Daniel
Daniel,
Here's one reference: http://developer.mozilla.org/en/docs...in_Quirks_Mode.
The sample you provided has no DOCTYPE at all, which is bad practice.
Before you do anything else, stick the following single line at the top
of your HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
If it fixes the problem, congratulations. If not, well, Beauregard's
solution will always work. In any case, leave the DOCTYPE in place, as
it will prevent a host of other fascinating and creative effects from
appearing.
Chris Beall
Beauregard T. Shagnasty wrote: Without a URL? Its difficult to say. At a wild guess, you have something which isn't inheriting the font size. www.warptv.com/ctest.html
In quirks mode the default font size of <table> is not 100% or inherit in
many browsers, so, as predicted, it isn't inheriting the font size.
Set:
table { font-size: 100%; }
or use a Doctype that triggers Standards mode (I suggest the latter). http://gutfeldt.ch/matthias/articles/doctypeswitch.html
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Billy |
last post by:
Hi, I was wondering if it is possible to change the browsers text settings.
ie. in internet explorer you can change the text size by going to:
View -> Text Size
Is there a way to overide a...
|
by: Laurens |
last post by:
Hi,
Which browser has the best CSS paged media support?
I'm about to write a business plan, which needs to be printed on paper to be
presented to the bank. Now I cringe at doing this in...
|
by: Jim Kroger |
last post by:
I am trying to use nice fonts for my nav menu. I downloaded and
installed a very nice font. I opened photoshop and made nice labels
with text to use for the images for the nav menu. I use...
|
by: selowitch |
last post by:
I've been searching in vain for a way to present typographically
correct fractions (not resorting to <sup> and <sub> tags) but have been
frustrated by the fact that the glyphs for one-half,...
|
by: lkrubner |
last post by:
I'd like to write a PHP script to be used from the command line on a
Unix machine. I'd like for the script to put together a string, turn it
into a web page, print it, then return control the...
|
by: dee |
last post by:
Hi,
Is there a way to install font on user's machine?
Thanks.
Dee
|
by: tmax |
last post by:
PHP Pros:
I have a simple html form that submits data to a php script, which
processes it, and then redisplays the same page, but with a "thank you"
message in place of the html form. This is...
|
by: BobAchgill |
last post by:
Can I set Private Fonts in a browser object with the new Visual Basic .net
2005?
Thanks!
Bob
|
by: gdarian216 |
last post by:
the object of the project was to create a program that inputs multiple lines of integers and outputs them in an HTML table. The negative numbers should be red. The numbers should be printed 3 in a...
|
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: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM)
The start time is equivalent to 19:00 (7PM) in Central...
|
by: Aliciasmith |
last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
|
by: tracyyun |
last post by:
Hello everyone,
I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
|
by: NeoPa |
last post by:
Hello everyone.
I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report).
I know it can be done by selecting :...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
|
by: Teri B |
last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course.
0ne-to-many. One course many roles.
Then I created a report based on the Course form and...
|
by: nia12 |
last post by:
Hi there,
I am very new to Access so apologies if any of this is obvious/not clear.
I am creating a data collection tool for health care employees to complete. It consists of a number of...
|
by: NeoPa |
last post by:
Introduction
For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
|
by: GKJR |
last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...
| |