Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread Hugo Mendes
A best practice: Do browser detection instead.

script type=text/javascript
function html5elm(elm) {
return !!document.createElement(elm);
}

var myArray = ['header','nav','section','aside','article','footer','hgroup'];

for (var i = 0; i  myArray.length; i++){
html5elm(myArray[i]);
}
/script


It will create those elements for IE6-8 (and older browsers with lack
of HTML5 support) in DOM. IE9 support them natively.



HM.


On Mon, Sep 27, 2010 at 11:25 AM, Chris Knowles w...@ckweb.com.au wrote:
 try adding display: block - by default they are usually displayed as inline

 in ie you need to add them via javascript before it will recognise them:

 document.createElement(header);


 --
 Chris Knowles


 On 27/09/10 8:13 PM, tee wrote:

 Only the two Webkit browsers are able to render the header and footer
 correctly.

 http://lotusseedsdesign.com/css-test/templegate.html

 header {
 height : 300px;
 width : 980px;
 text-align : center;
 position : relative;
 clear : both;
 overflow : hidden;
 margin : 0 auto;
 border : 1px solid #369;
 background : #ddd;
 }

 I can't find anything wrong with my style sheet and the html code.

 tee




 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***







 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] CSS support of HTML5 tags not ready yet?

2010-09-27 Thread Hugo Mendes
I meant FEATURE Detection. Sorry.

Hm.

On Mon, Sep 27, 2010 at 11:34 AM, Hugo Mendes hugo.men...@gmail.com wrote:
 A best practice: Do browser detection instead.

 script type=text/javascript
 function html5elm(elm) {
        return !!document.createElement(elm);
 }

 var myArray = ['header','nav','section','aside','article','footer','hgroup'];

 for (var i = 0; i  myArray.length; i++){
        html5elm(myArray[i]);
 }
 /script


 It will create those elements for IE6-8 (and older browsers with lack
 of HTML5 support) in DOM. IE9 support them natively.



 HM.


 On Mon, Sep 27, 2010 at 11:25 AM, Chris Knowles w...@ckweb.com.au wrote:
 try adding display: block - by default they are usually displayed as inline

 in ie you need to add them via javascript before it will recognise them:

 document.createElement(header);


 --
 Chris Knowles


 On 27/09/10 8:13 PM, tee wrote:

 Only the two Webkit browsers are able to render the header and footer
 correctly.

 http://lotusseedsdesign.com/css-test/templegate.html

 header {
 height : 300px;
 width : 980px;
 text-align : center;
 position : relative;
 clear : both;
 overflow : hidden;
 margin : 0 auto;
 border : 1px solid #369;
 background : #ddd;
 }

 I can't find anything wrong with my style sheet and the html code.

 tee




 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***







 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Paul Irish/Divya Manian HTML5 Boilerplate

2010-08-12 Thread Hugo Mendes
I'm sorry to disappoint you guys, but an HTML5 Professional Template
with BROWSER DETECTION (those conditional comments in the markup) is
not a best practice.

- HM

On Thu, Aug 12, 2010 at 2:46 PM, Sam Sherlock sam.sherl...@gmail.com wrote:
 Dan I would look past per-site design choices such as that.
 and look into the neat and beneficial features which are many and various
 (also the example in use there is outdated compared with the code on github)
 the site has the initial release of html5boilerplate where as the github
 repo is stages ahead of this
 http://github.com/paulirish/html5-boilerplate/blob/master/index.html
 also it is not finished 100% some tweaks to go - mid aug apparently
  - S


 On 12 August 2010 14:24, Dan Freeman dan.free...@lexi.com wrote:

 Considering the link doesn't even look right in IE8, I'm not sure I'd use
 it to build anything.

 Dan Freeman
 Webmaster  ERP Administrator
 800.650.6506 (TOLL FREE)
 330.655.0341 (DIRECT)
 www.lexi.com

 -Original Message-
 From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On
 Behalf Of Tom Livingston
 Sent: Thursday, August 12, 2010 7:58 AM
 To: wsg@webstandardsgroup.org
 Subject: [WSG] Paul Irish/Divya Manian HTML5 Boilerplate

 Anyone have any thoughts on this? Worth a try? On a production site?

 http://html5boilerplate.com/

 Looks pretty good to me... what say ye?

 --

 Tom Livingston | Senior Interactive Developer | Media Logic |
 ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***


 LEXI-COMP CONFIDENTIALITY NOTICE
 The information in this electronic mail is intended for the named
 recipients only.  Any use of this information by anyone other than
 the intended receiver is prohibited.  If the reader of this message is
 not the intended recipient, you are hereby notified that any
 dissemination, distribution, copying, or other use of this message
 or its attachments is strictly prohibited.  If you have received this
 message in error, please notify the sender immediately by replying
 to this electronic e-mail or by calling 330-650-6506.  Please delete
 it from your computer.  Thank you.



 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***



 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Data URI encoder

2010-02-10 Thread Hugo Mendes
Unfortantly this technique doesn't work on IE6 and 7.


Regards,

Hugo Mendes
http://www.hugomendes.com

On Wed, Feb 10, 2010 at 11:21 AM, Foskett, Mike
mike.fosk...@uk.tesco.com wrote:
 Hi all,



 May I ask the group to critique and comment on this image to data URI
 conversion tool?



 http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/





 thanks





 Mike Foskett



 http://websemantics.co.uk/



 
 This is a confidential email. Tesco may monitor and record all emails. The
 views expressed in this email are those of the sender and not Tesco.

 Tesco Stores Limited
 Company Number: 519500
 Registered in England
 Registered Office: Tesco House, Delamare Road, Cheshunt, Hertfordshire EN8
 9SL
 VAT Registration Number: GB 220 4302 31

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] Issue related to the IE 6

2010-01-15 Thread Hugo Mendes
Also recommended:
http://www.position-absolute.com/articles/css-for-ie6-6-common-problems-and-fast-ways-to-fix-them/
http://www.webdesignerwall.com/general/trash-all-ie-hacks/
http://www.noupe.com/css/using-javascript-to-fix-12-common-browser-headaches.html

On Fri, Jan 15, 2010 at 7:50 AM, Devdatt Gurjar
devdatt.gur...@gmail.com wrote:
 Brajesh

 You can look following articles.

 http://www.virtuosimedia.com/tutorials/ultimate-ie6-cheatsheet-how-to-fix-25-internet-explorer-6-bugs
 http://www.smashingmagazine.com/2009/10/14/css-differences-in-internet-explorer-6-7-and-8/
 http://forabeautifulweb.com/blog/about/universal_internet_explorer_6_CSS/
 http://www.sitepoint.com/blogs/2009/03/06/10-fixes-for-ie6-problems/
 http://sixrevisions.com/web-development/definitive-guide-to-taming-the-ie6-beast/
 http://net.tutsplus.com/tutorials/html-css-techniques/9-most-common-ie-bugs-and-how-to-fix-them/

 Thanks

 Devdatt Gurjar

 Live as if you were to die tomorrow. Learn as if you were to live forever.
 - Mahatma Gandhi


 On Fri, Jan 15, 2010 at 1:08 PM, Brajesh Patel brajeshpate...@gmail.com
 wrote:

 Hello all,
 I am working on the IE 6 but getting issue in this browser please suggest
 some tip for work with IE 6.



 --
 Thanks
 Brajesh Patel


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***

 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***