Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Body Text

0 views
Skip to first unread message

Haydn Williams

unread,
Jun 13, 2001, 7:41:02 PM6/13/01
to
I'm trying to use CSS to control the font size, colour and family of body
text within some pages. The code below is set as an external style sheet on
all the pages, but seems to kick up some problems.

body { font-size: 10pt; color: #FFFFFF; font-family: verdana, arial,
helvetica, sans-serif}

With this, the family sets OK, but the size remains at 12pt (default for
FP2000). If you remove the 'family' statement, the size works perfectly,
but I need both to work at once. I wrote this by hand, and FP comes up with
a similar thing if you use it's CSS editor. I've read somewhere that putting
the 'family' part at the end might help, but this hasn't worked either. Any
ideas?
I've also heard that you can set the page background colour within a page
using CSS - a quick example of this would be great, if I'm not getting too
greedy! : ) Cheers.


Rowland Shaw

unread,
Jun 14, 2001, 6:54:51 AM6/14/01
to
Here's something to try:

body { font-size: 10pt; color: #FFFFFF; font-family: verdana, arial,
helvetica, sans-serif; }
[note trailing semi colon and whitespace]

To style the background, use:
bacground: #feed00;

Probably best to refer to http://www.w3.org/tr/rec-css1


"Haydn Williams" <hay...@hotmail.com> wrote...

Haydn Williams

unread,
Jun 14, 2001, 7:27:20 AM6/14/01
to
Thanks, but the size still doesn't work! It seems to work outside a table,
and works fine when I also include 'td' in the stylesheet. Does the 'body'
specification not work inside a table? I don't remember reading that
anywhere, but that seems to be what's causing the problem. Cheers.


"Rowland Shaw" <spamf...@anotherpointless.org> wrote in message
news:Oto8kAM9AHA.2280@tkmsftngp05...

Manfred Braun

unread,
Jun 17, 2001, 3:51:29 PM6/17/01
to
Hi,

I am not THE expert on this, but this is exactly, what I monitor anytime
with IE:Not (especially tables) all elements inherit from BODY......

Best regards,
Manfred Braun

(Private)
Lange Roetterstrasse 7
D68167 Mannheim
Germany

mailto:_mbr...@manfred.mannheim-netz.de
Phone : +49-621-37 53 86
(Remove the anti-spam-underscore to mail me!)

"Haydn Williams" <hay...@hotmail.com> wrote in message
news:eAncEUM9AHA.1916@tkmsftngp03...

Rowland Shaw

unread,
Jun 18, 2001, 9:18:12 AM6/18/01
to
correct, body does not include the contentes of <table>s -- you need tbody
for that...


"Haydn Williams" <hay...@hotmail.com> wrote...

Manfred Braun

unread,
Jun 19, 2001, 5:51:38 AM6/19/01
to
Hi,

I read this and sad "aha". Today, while needing real inheritance, I
remembered this, but it did not work!!!!

body {font-size:8pt;}
tbody {background-color:green;}

<body ...................

<table>
<thead...............
</thead>
<tbody>
<tr><td>The font-size is larger than in the body;Nothing
inherited!!</td></tr>
</body................

<html>

I read in ohter (non-MS) newsgroup clear statements from real CSS experts,
that this, what MS has implemented is not real CSS2. Anyway, I dont like it.
Some properties are inherited, others not.

Best regards,
Manfred Braun

(Private)
Lange Roetterstrasse 7
D68167 Mannheim
Germany

mailto:_mbr...@manfred.mannheim-netz.de


(Remove the anti-spam-underscore to mail me!)

"Rowland Shaw" <spamf...@anotherpointless.org> wrote in message

news:eojaFj$9AHA.1840@tkmsftngp03...

Michael Caines

unread,
Jun 27, 2001, 4:39:13 PM6/27/01
to
Yeah, this quirk has annoyed my for quite some time as well. All I do is
redefine the font size for the <table> tag. As so:

<style>

body {font:8pt verdana, tahoma, arial}
table {font-size:8pt}

</style>

Works great.

"Haydn Williams" <hay...@hotmail.com> wrote in message

news:ua6jbJG9AHA.1900@tkmsftngp04...

Starrider

unread,
Jul 10, 2001, 10:02:39 AM7/10/01
to
gRRRRR

0 new messages