RE: [WSG] firefox 1.5 is official

2005-11-29 Thread Kevin Yank
Zach,

You might try making that page valid HTML, so that Firefox obeys CSS
standards instead of lapsing into quirks mode.

--

Kevin Yank
Technical Director

SitePoint Pty. Ltd.
e: [EMAIL PROTECTED]
w: http://www.sitepoint.com/
p: +61 3 9419-5200

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Zach
 Sent: Thursday, 1 December 2005 2:36 PM
 To: wsg@webstandardsgroup.org
 Subject: Re: [WSG] firefox 1.5 is official
 
 Bah, problems already. When you use dead centering in CSS (i.e., 
 background: url(picture) center center no-repeat;), it ignores the 
 second center, even though it is perfectly valid CSS.
 
 The coming soon page on my site (byzach.com) is an example.
 
 - Zach


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] firefox 1.5 is official

2005-11-29 Thread Kevin Yank
The rendering you're seeing is because the body of the page has zero height
(a quirks mode behaviour, I suspect). Firefox isn't ignoring the second
center at all.

Simply typing this into the address bar fixes your layout:

javascript:alert(document.getElementsByTagName('body')[0].style.height='100%
');

Set the height property of the body to 100% in your CSS to get the desired
rendering. Or as I mentioned previously, make your page valid HTML instead
of just a couple of disembodied tags.

--

Kevin Yank
Technical Director

SitePoint Pty. Ltd.
e: [EMAIL PROTECTED]
w: http://www.sitepoint.com/
p: +61 3 9419-5200

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Zach
 Sent: Thursday, 1 December 2005 2:36 PM
 To: wsg@webstandardsgroup.org
 Subject: Re: [WSG] firefox 1.5 is official
 
 Bah, problems already. When you use dead centering in CSS (i.e., 
 background: url(picture) center center no-repeat;), it ignores the 
 second center, even though it is perfectly valid CSS.
 
 The coming soon page on my site (byzach.com) is an example.
 
 - Zach


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] starting ordered lists from a number other than 1

2005-11-22 Thread Kevin Yank
Ah, if only browsers had seen fit to support markers as defined in CSS
2.0...

This is a sticky one. I have to admit I'd probably go for something like
this:

dl
  dt40/dt
  ddtext info in here/dd
  ...
/dl

You lose the semantics of an ordered list, but you get to be valid Strict
and you don't have to include the numbers in your list item contents. If
this isn't acceptable, I'd use your second proposed solution, but try to
choose better tags for your number and list item content (e.g., a hX tag
for the number, and paragraphs for the content).

--

Kevin Yank
Technical Director

SitePoint Pty. Ltd.
e: [EMAIL PROTECTED]
w: http://www.sitepoint.com/
p: +61 3 9419-5200



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Somaya Langley
 Sent: Wednesday, 23 November 2005 4:08 PM
 To: wsg@webstandardsgroup.org
 Subject: [WSG] starting ordered lists from a number other than 1
 
 Hi All - 
 
 I'm putting together a template for a contents list page for the
 National Library of Australia's online pictures delivery system.  We
 need to start an ordered list on a page from a number other than 1, as
 the lists could be quite long and so will be chunked into a set per
 page.
 
 There are two solutions...
 the first, for example: 
 ol start=40
 li 
 divtext info in here/div
 /li
 ...
 
 or, the second:
 ol
 li
 divnumber inserted in here from our digital content management
 system/div
 divtext info in here/div
 /li
 ...
 
 While the first would be more elegant, start is now a depricated
 attribute.
 
 What do people suggest?
 
 Thanks
 Somaya
 
 
 _
 Somaya Langley
 Digital Preservations Officer /  Web Audio Analyst
 
 National Library of Australia
 Parkes Place
 Canberra ACT 2600
 
 ph +61 2 6262 1366
 [EMAIL PROTECTED]
 http://www.musicaustralia.org
 http://www.nla.gov.au
 
 
 
 
 
 
 
 
 **
 The discussion list for  http://webstandardsgroup.org/
 
  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **
 
 


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**