[css-d] Don't use @import

2010-03-31 Thread Thierry Koblentz
This is a good read:

http://www.stevesouders.com/blog/2009/04/09/dont-use-import/


--
Regards,
Thierry 
www.tjkdesign.com | articles and tutorials
www.ez-css.org | ultra light CSS framework




__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


[css-d] doctype

2010-03-31 Thread Chris Blake
HI,

Although it's not a CSS question it is strongly related to validation  
which is something we all care about at css-discuss so I am sticking  
my neck out a bit but hope to get an OK response.

I have validated a very simple layout and although it validates I am  
getting a few warnings:
http://validator.w3.org/check?uri=http%3A%2F%2Fwch.redrunner.co.uk%2Fcharset=%28detect+automatically%29doctype=Inlinegroup=0user-agent=W3C_Validator%2F1.767

Most seem to be to do with the doctype which is something I know  
little about. Basically I want to chose the easiest one to use (easy  
in the sense of validation). The results gave me a link to a page of  
different doctypes and what I think is I should be choosing either  
HTML 4.0.1, or xhtml 1.0, Transitional. Am I right? What's the  
difference?

The site I am going to be using is going to be strictly HTML, CSS and  
images. I may, depending on results need to use a PNG fix.

Thanks, CB
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] doctype

2010-03-31 Thread Chris F.A. Johnson
On Thu, 1 Apr 2010, Chris Blake wrote:

 HI,
 
 Although it's not a CSS question it is strongly related to validation  
 which is something we all care about at css-discuss so I am sticking  
 my neck out a bit but hope to get an OK response.
 
 I have validated a very simple layout and although it validates I am  
 getting a few warnings:
 http://validator.w3.org/check?uri=http%3A%2F%2Fwch.redrunner.co.uk%2Fcharset=%28detect+automatically%29doctype=Inlinegroup=0user-agent=W3C_Validator%2F1.767
 
 Most seem to be to do with the doctype which is something I know  
 little about. Basically I want to chose the easiest one to use (easy  
 in the sense of validation). The results gave me a link to a page of  
 different doctypes and what I think is I should be choosing either  
 HTML 4.0.1, or xhtml 1.0, Transitional. Am I right? What's the  
 difference?

   I recommend 4.01 strict. If it's a new page, you shouldn't use
   transitional. That's for the transition of an old page to valid
   markup.

   Here is the list of valid doctypes:
   http://www.w3.org/QA/2002/04/valid-dtd-list.html 

 The site I am going to be using is going to be strictly HTML, CSS and  
 images. I may, depending on results need to use a PNG fix.


-- 
   Chris F.A. Johnson, http://cfajohnson.com
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] doctype

2010-03-31 Thread Chris Blake
Hi,

So I have made it 'strict' HTML, but it is now giving me some rubbish   
about character encoding. OK I have not added it because when i do it  
seems that it can't be validated.

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN 
http://www.w3.org/TR/html4/strict.dtd 

html
head

titleWorcester Community Housing | Rewards/title

I left the gap because that is where I have tried to put this line:  
meta http-equiv=Content-Type content=text/html; charset=utf-8 /

What gives, I can't even pass 100% before writing anything!

Thanks, CB



On 01/04/2010, at 11:58 AM, Chris F.A. Johnson wrote:

 On Thu, 1 Apr 2010, Chris Blake wrote:

 HI,

 Although it's not a CSS question it is strongly related to validation
 which is something we all care about at css-discuss so I am sticking
 my neck out a bit but hope to get an OK response.

 I have validated a very simple layout and although it validates I am
 getting a few warnings:
 http://validator.w3.org/check?uri=http%3A%2F%2Fwch.redrunner.co.uk%2Fcharset=%28detect+automatically%29doctype=Inlinegroup=0user-agent=W3C_Validator%2F1.767

 Most seem to be to do with the doctype which is something I know
 little about. Basically I want to chose the easiest one to use (easy
 in the sense of validation). The results gave me a link to a page of
 different doctypes and what I think is I should be choosing either
 HTML 4.0.1, or xhtml 1.0, Transitional. Am I right? What's the
 difference?

   I recommend 4.01 strict. If it's a new page, you shouldn't use
   transitional. That's for the transition of an old page to valid
   markup.

   Here is the list of valid doctypes:
   http://www.w3.org/QA/2002/04/valid-dtd-list.html

 The site I am going to be using is going to be strictly HTML, CSS and
 images. I may, depending on results need to use a PNG fix.


 -- 
   Chris F.A. Johnson, http://cfajohnson.com
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] doctype

2010-03-31 Thread Norman Fournier
On 2010-03-31, at 9:27 PM, Chris Blake wrote:

 Hi,
 
 So I have made it 'strict' HTML, but it is now giving me some rubbish   
 about character encoding. OK I have not added it because when i do it  
 seems that it can't be validated.
 
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN 
 http://www.w3.org/TR/html4/strict.dtd 
 
 html
   head
   
   titleWorcester Community Housing | Rewards/title
 
 I left the gap because that is where I have tried to put this line:  
 meta http-equiv=Content-Type content=text/html; charset=utf-8 /
 
 What gives, I can't even pass 100% before writing anything!
 
 Thanks, CB
 
 
 
 On 01/04/2010, at 11:58 AM, Chris F.A. Johnson wrote:
 
 On Thu, 1 Apr 2010, Chris Blake wrote:
 
 HI,
 
 Although it's not a CSS question it is strongly related to validation
 which is something we all care about at css-discuss so I am sticking
 my neck out a bit but hope to get an OK response.
 
 I have validated a very simple layout and although it validates I am
 getting a few warnings:
 http://validator.w3.org/check?uri=http%3A%2F%2Fwch.redrunner.co.uk%2Fcharset=%28detect+automatically%29doctype=Inlinegroup=0user-agent=W3C_Validator%2F1.767
 
 Most seem to be to do with the doctype which is something I know
 little about. Basically I want to chose the easiest one to use (easy
 in the sense of validation). The results gave me a link to a page of
 different doctypes and what I think is I should be choosing either
 HTML 4.0.1, or xhtml 1.0, Transitional. Am I right? What's the
 difference?
 
  I recommend 4.01 strict. If it's a new page, you shouldn't use
  transitional. That's for the transition of an old page to valid
  markup.
 
  Here is the list of valid doctypes:
  http://www.w3.org/QA/2002/04/valid-dtd-list.html
 
 The site I am going to be using is going to be strictly HTML, CSS and
 images. I may, depending on results need to use a PNG fix.
 
 
 -- 
  Chris F.A. Johnson, http://cfajohnson.com
  Author:
  Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
  Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
 


Try using XHTML, which is cleaner markup, with this doctype:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml;

Norman

---
http://www.normanfournier.com


__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/


Re: [css-d] doctype

2010-03-31 Thread Thierry Koblentz
Hi Chris,

 So I have made it 'strict' HTML, but it is now giving me some rubbish
 about character encoding. OK I have not added it because when i do it
 seems that it can't be validated.
 
 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN
 http://www.w3.org/TR/html4/strict.dtd
 

This is HTML

 html
   head
 
   titleWorcester Community Housing | Rewards/title
 
 I left the gap because that is where I have tried to put this line:
 meta http-equiv=Content-Type content=text/html; charset=utf-8 /

This is XHTML
 
 What gives, I can't even pass 100% before writing anything!

Fix this or, if you prefer using XHTML, change the DTD as Norman suggests.


--
Regards,
Thierry 
www.tjkdesign.com | articles and tutorials
www.ez-css.org | ultra light CSS framework




__
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/