ruby-lang.org/en doesn’t display properly in Konqueror. Instead of having the
three columns, the left column appears at the top, stretched over the whole
width of the page, then the middle column below it, and then the right column
below that. This may or may not be related to the problem that the page is
marked as HTML 4.01 Strict, which it doesn’t validate as; it should instead
be HTML 4.01 Transitional.
Your resident HTML pedant,
Tim Bates
···
–
tim@bates.id.au
It renders perfectly in Konqueror 2.2.2.
Are you messing with stylesheets?
···
On Tue, Jan 07, 2003 at 06:28:23PM +0900, Tim Bates wrote:
ruby-lang.org/en doesn’t display properly in Konqueror. Instead of having the
three columns, the left column appears at the top, stretched over the whole
width of the page, then the middle column below it, and then the right column
below that. This may or may not be related to the problem that the page is
marked as HTML 4.01 Strict, which it doesn’t validate as; it should instead
be HTML 4.01 Transitional.
–
_ _
__ __ | | ___ _ __ ___ __ _ _ __
'_ \ / | __/ __| '_
_ \ / ` | ’ \
) | (| | |__ \ | | | | | (| | | | |
.__/ _,|_|/| || ||_,|| |_|
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com
Linux: Where Don’t We Want To Go Today?
– Submitted by Pancrazio De Mauro, paraphrasing some well-known sales talk
Nope. Not directly. I’ve got Konq 3.0.4. But thanks for the suggestion; I
found the problem - it’s using the large font stylesheet. The default
stylesheet needs to be given a ‘title’ attribute for Konqueror 3.0.x to pick
it up. It displays properly when I download it to my local machine and add
that.
Anyway, I maintain that it should be HTML 4.01 Transitional rather than
Strict. And the existing stylesheets use a funny mangled combination of em,
px and percentage units for lengths, which can be almost guaranteed not to
display the same on any screen or font that’s a different size to the
designers’…
Oh, and the HTML for the RDoc output is attrocious, too. If anyone in the
Ruby community needs help with their HTML/CSS, I’m more than happy to help…
Tim Bates, your in-house HTML critic.
PS Don’t take my criticisms too personally, I know not everyone can be good at
coding AND markup… As I said, I’m willing to help out.
···
On Wed, 8 Jan 2003 10:09 am, Mauricio Fernández wrote:
It renders perfectly in Konqueror 2.2.2.
Are you messing with stylesheets?
–
tim@bates.id.au
Hi, Tim,
From: “Tim Bates” tim@bates.id.au
Sent: Wednesday, January 08, 2003 9:42 AM
found the problem - it’s using the large font stylesheet. The default
stylesheet needs to be given a ‘title’ attribute for Konqueror 3.0.x to pick
it up. It displays properly when I download it to my local machine and add
that.
Anyway, I maintain that it should be HTML 4.01 Transitional rather than
Strict. And the existing stylesheets use a funny mangled combination of em,
px and percentage units for lengths, which can be almost guaranteed not to
display the same on any screen or font that’s a different size to the
designers’…
I forwarded your mail to www.ruby-lang.org development team.
I thank you for your suggestion on behalf of them.
Oh, and the HTML for the RDoc output is attrocious, too. If anyone in the
Ruby community needs help with their HTML/CSS, I’m more than happy to help…
Tim Bates, your in-house HTML critic.
As a responsible person of current HTML/CSS of RAA, I want
to hear from you. Doctor, how is its health?
Regards,
// NaHi
While we’re being HTML nazis…
14.3.2 Specifying external style sheets
Authors specify external style sheets with the following attributes of
the LINK element:
- Set the value of href to the location of the style sheet file. The
value of href is a URI.
- Set the value of the type attribute to indicate the language of
the linked (style sheet) resource. This allows the user agent to
avoid downloading a style sheet for an unsupported style sheet
language.
- Specify that the style sheet is persistent, preferred, or
alternate:
o To make a style sheet persistent, set the rel attribute to
“stylesheet” and don’t set the title attribute.
o To make a style sheet preferred, set the rel attribute to
“stylesheet” and name the style sheet with the title attribute.
o To specify an alternate style sheet, set the rel attribute to
“alternate stylesheet” and name the style sheet with the title
attribute.
ruby-lang.org’s style sheets are set like this:
So /en/ruby-lang.css should be applied for all views, and
ruby-lang.large.css should be applied only when the user requests that
the UA apply it. If you remove the title attribute for the alternate
style sheet the document is still valid HTML4.01 strict, but the UA
should ignore the style sheet, as it is neithor a persistent, preferred,
nor alternate style sheet.
···
Tim Bates (tim@bates.id.au) wrote:
On Wed, 8 Jan 2003 10:09 am, Mauricio Fern?ndez wrote:
It renders perfectly in Konqueror 2.2.2.
Are you messing with stylesheets?
Nope. Not directly. I’ve got Konq 3.0.4. But thanks for the suggestion; I
found the problem - it’s using the large font stylesheet. The default
stylesheet needs to be given a ‘title’ attribute for Konqueror 3.0.x to pick
it up. It displays properly when I download it to my local machine and add
that.
–
Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04
Actually, very good. I checked several pages, and the W3C HTML validator
detected that you labelled them HTML 4.01 Strict and they validate as HTML
4.01 Strict. The CSS used also passes through the validator without any
errors or warnings.
For anyone else who wants to see how their pages fare, rather than asking me
you can ask the W3C validator at http://validator.w3.org/ - it’s a must-use
tool for anyone writing HTML or CSS, and you can be sure that if it passes
through that it’ll display reasonably well in all modern browsers.
Tim Bates
···
On Wed, 8 Jan 2003 02:25 pm, NAKAMURA, Hiroshi wrote:
As a responsible person of current HTML/CSS of RAA, I want
to hear from you. Doctor, how is its health?
–
tim@bates.id.au
While we’re being HTML nazis…
From http://www.infoplease.lycos.com/ipd/A0550084.html:
Dictionary
Na?zi
Pronunciation: (nät’sE, nat’-), [key]
?n., pl. -zis,
?adj.
?n.
- a member of the National Socialist German Workers’ party of Germany, which in 1933, under Adolf Hitler, seized political control of the country, suppressing all opposition and establishing a dictatorship over all cultural, economic, and political activities of the people, and promulgated belief in the supremacy of Hitler as Führer, aggressive anti-Semitism, the natural supremacy of the German people, and the establishment of Germany by superior force as a dominant world power. The party was officially abolished in 1945 at the conclusion of World War II.
- (often l.c.) a person elsewhere who holds similar views.
‘Nitpicker’ would have been a better word.
‘Nazi’ used in combination with something as innocuous as ‘HTML’ cheapens the meaning of these dangerous people and their views.
···
On Thu, 9 Jan 2003 01:27:57 +0900 Eric Hodel drbrain@segment7.net wrote:
–
Eric Hodel - drbrain@segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04
–
“Daniel P. Zepeda” <daniel@z,e,p,e,d,a,-,z,o,n,e.net>
(Remove commas for address)
[OFFTOPIC]
While we’re being HTML nazis…
I think that iexpression is to hard for a thing like HTML , i dont know where
you live but i think you have to study the story of the second Worldwar a
little more to see what you talked about. I don’t like stuff like that. You
can not compare notgeniusHMTLCoders with Nazis, this is the same if you would
compare the Ocean Pacific with your bath tub.
mfg. Jonas Hoffmann
[/OFFTOPIC]
···
Am Mittwoch, 8. Januar 2003 17:27 schrieb Eric Hodel:
Hi, Tim,
From: “Tim Bates” tim@bates.id.au
Sent: Wednesday, January 08, 2003 1:38 PM
As a responsible person of current HTML/CSS of RAA, I want
to hear from you. Doctor, how is its health?
Actually, very good. I checked several pages, and the W3C HTML validator
detected that you labelled them HTML 4.01 Strict and they validate as HTML
4.01 Strict. The CSS used also passes through the validator without any
errors or warnings.
Thank you for doing this. I apologies to you for not saying that
we did run a validator.
Though we checked it with the validator, a person told us that
we should add color definitions for links(link and vlink) in CSS.
We only had specified color and bgcolor of the body element so
the former CSS wass not comfortable for people who customize link
style of their browser.
I thought this kind of ah… inconvenience? bug? might still be left.
Anyway, thanks again. We are very happy to hear comments,
suggenstions, etc. about RAA.
Regards,
// NaHi
···
On Wed, 8 Jan 2003 02:25 pm, NAKAMURA, Hiroshi wrote:
using dreamweaver HTML app (mac os/windows), it’s very easy to have it
generate XHTML source for you, as well as validate HTML and CSS. I know
it’s expensive, but it makes life a lot easier for large
HTML/CSS/script projects. you can even set it up to code eruby and cgi
scripts and preview them from your local server.
brennan