> Hi Beauregard:
Good morning.
>>> http://www.walkourworld.com/workshop/test_template.html I've got
>>> some JavaScript in the page <head> section which links in a
[quoted text clipped - 8 lines]
> fairly modern browsers, and no need for JavaScript in public areas of
> the site.
Ah. Well, there are those conditional statements you can place directly
in the CSS that may work better. I don't use them. but they would work
something like this, I think:
<link rel="stylesheet" type="text/css" href="wow_layout.css"
<!--[if IE]><link rel="stylesheet" type="text/css"
href="wow_layout_ie.css"><![endif]-->
>> Why the "browser.isNetscape" stuff if you are only sniffing for IE?
>
> .. because I copied the snippet of script from somewhere else ... and
> I may find there are other browsers I need to sniff for before the
> exercise is done.
Browser sniffing is generally doomed to failure. <g>
While you are pondering your pixel-perfect layout, have a read of this:
http://k75s.home.att.net/fontsize.html
You will also want to assign a background color to the body. I get to
see my ugly default purple...

Signature
-bts
-Motorcycles defy gravity; cars just suck.
Beauregard T. Shagnasty - 30 Aug 2006 15:16 GMT
Beauregard T. Shagnasty replied to hisself:
> Ah. Well, there are those conditional statements you can place
> directly in the CSS that may work better.
Oops, sorry. I meant to say in the <head> instead of in the CSS.

Signature
-bts
-Motorcycles defy gravity; cars just suck.
Charles B - 30 Aug 2006 17:15 GMT
Thanks for your useful suggestions Beauregard
> >>> http://www.walkourworld.com/workshop/test_template.html
> Ah. Well, there are those conditional statements you can place directly
> in the CSS that may work better. I don't use them. but they would work
[quoted text clipped - 3 lines]
> <!--[if IE]><link rel="stylesheet" type="text/css"
> href="wow_layout_ie.css"><![endif]-->
An excellent suggestion - I'll try that tomorrow; I haven't used
HTML-comment conditionals previously.
> >> Why the "browser.isNetscape" stuff if you are only sniffing for IE?
> >
[quoted text clipped - 6 lines]
> While you are pondering your pixel-perfect layout, have a read of this:
> http://k75s.home.att.net/fontsize.html
Some good points on your linked page - I've stripped the Verdana out,
and I'll check out which are the best-looking percent values for h1,
h2, etc.
> You will also want to assign a background color to the body. I get to
> see my ugly default purple...
Should look better now I hope!
Many thanks for your help.
Charles B
Beauregard T. Shagnasty - 30 Aug 2006 18:43 GMT
> Thanks for your useful suggestions Beauregard
>
>>>>> http://www.walkourworld.com/workshop/test_template.html
> <schnipp>
> An excellent suggestion - I'll try that tomorrow; I haven't used
> HTML-comment conditionals previously.
Neither have I. Never had the need to browser-sniff.
>> Browser sniffing is generally doomed to failure. <g>
>>
[quoted text clipped - 4 lines]
> and I'll check out which are the best-looking percent values for h1,
> h2, etc.
Ok.
>> You will also want to assign a background color to the body. I get to
>> see my ugly default purple...
>
> Should look better now I hope!
bgcolor: #fff;
should be
background-color: #fff;
..'cause I still see purple. <g> bgcolor is not a valid attribute.
> Many thanks for your help.
Welcome.

Signature
-bts
-Motorcycles defy gravity; cars just suck.