Re: [WSG] seeking JavaScript Bible comments

2009-02-08 Thread Keryx Web
Paul Novitski skrev: I would love to get your critical comments on Danny Goodman's JavaScript Bible http://ca.wiley.com/WileyCDA/WileyTitle/productCd-0470069163.html I'm updating the book to its 7th edition and am making some significant changes, including upgrading it to include separation

[WSG] AUTO: Rachel Booth/HeadOffice/DHS is out of the office. (returning Mon 16/02/2009)

2009-02-08 Thread Rachel . Booth
I am out of the office from Mon 09/02/2009 until Mon 16/02/2009. For RRHACS web publishing requests, please contact the Web Services Team - (rrhacs@dhs.vic.gov.au). Thank you. Note: This is an automated response to your message Re: [WSG] seeking JavaScript Bible comments sent on 9/2/09

[WSG] Implication of empty divs

2009-02-08 Thread Ben Lau
Hi all, Are there any (seriously) bad implications of having empty DIVs around your HTML document? I try to avoid using them personally, but there are cases where the visual design has forced me to add empty divs (or spans) just to achieve the look. Apart from adding extra weight and cluttering

Re: [WSG] seeking JavaScript Bible comments

2009-02-08 Thread MichaelMD
Also, the first examples of JavaScript tend to use document.write when illustrating the simplest parts of the language. Usage of document.write should be banned from day one. Encourage the readers to test simple A decade ago (Netscape 4 era) I used document.write in some javascript widgets

Re: [WSG] Implication of empty divs

2009-02-08 Thread Benjamin Hawkes-Lewis
On 8/2/09 23:33, Ben Lau wrote: Are there any (seriously) bad implications of having empty DIVs around your HTML document? I try to avoid using them personally, but there are cases where the visual design has forced me to add empty divs (or spans) just to achieve the look. Apart from adding

Re: [WSG] Implication of empty divs

2009-02-08 Thread Chris F.A. Johnson
On Mon, 9 Feb 2009, Ben Lau wrote: Are there any (seriously) bad implications of having empty DIVs around your HTML document? I try to avoid using them personally, but there are cases where the visual design has forced me to add empty divs (or spans) just to achieve the look. I've never

Re: [WSG] Implication of empty divs

2009-02-08 Thread Christian Montoya
On Sun, Feb 8, 2009 at 6:33 PM, Ben Lau bensan...@gmail.com wrote: Hi all, Are there any (seriously) bad implications of having empty DIVs around your HTML document? No. p.s. ignore all the long-winded answers. -- -- Christian Montoya mappdev.com :: christianmontoya.net

Re: [WSG] seeking JavaScript Bible comments

2009-02-08 Thread Joseph Taylor
I wouldn't worry about document.write examples too much. You just need to keep in mind that the book is designed to teach the language from scratch, and quite possibly the reader hasn't scripted before. Starting from point zero, document.write is a good way to get started learning and

Re: [WSG] Implication of empty divs

2009-02-08 Thread Andrew Maben
On Feb 8, 2009, at 9:00 PM, Christian Montoya wrote: On Sun, Feb 8, 2009 at 6:33 PM, Ben Lau bensan...@gmail.com wrote: Hi all, Are there any (seriously) bad implications of having empty DIVs around your HTML document? No. p.s. ignore all the long-winded answers. Agreed. Andrew

Re: [WSG] Implication of empty divs

2009-02-08 Thread Joseph Taylor
Agreed. An empty div is nothing. Same thing with an empty spans etc... Joseph R. B. Taylor /Designer / Developer/ -- Sites by Joe, LLC /Clean, Simple and Elegant Web Design/ Phone: (609) 335-3076 Fax: (866) 301-8045 Web: http://sitesbyjoe.com Email:

Re: [WSG] Implication of empty divs

2009-02-08 Thread Gerard Hynes (Gmail)
My advice below. Cheers, Gerard On Mon, Feb 9, 2009 at 9:33 AM, Ben Lau bensan...@gmail.com wrote: Hi all, Are there any (seriously) bad implications of having empty DIVs around your HTML document? I try to avoid using them personally, but there are cases where the visual design has forced

Re: [WSG] Implication of empty divs

2009-02-08 Thread Anthony Ziebell
If you use a tool such as tidy html in xhtml mode it will delete your empty tags... probably a setting to turn that feature off, but something to think about... Cheers, Anthony. Gerard Hynes (Gmail) wrote: My advice below. Cheers, Gerard On Mon, Feb 9, 2009 at 9:33 AM, Ben Lau

Re: [WSG] Implication of empty divs

2009-02-08 Thread Ben Lau
Haha, thanks. But I also do appreciate the long answers though; thanks Benjamin. I've read on numerous blogs/tutorials/comments that having blank div is poor practice, and that it's also poor semantic markup because it's meaningless. I mention the javascript alternative because i'll be using

Re: [WSG] Implication of empty divs

2009-02-08 Thread Gerard Hynes (Gmail)
I'm all for semantic mark up and removing redunant tags, but the reality is supporting older browsers and browser quirks complicate things. So, yes definitely prefer CSS overflow solution, to adding a redundant/meaningless tag. In the perfect world people would use the latest standards compliant

Re: [WSG] Implication of empty divs

2009-02-08 Thread Chris F.A. Johnson
On Mon, 9 Feb 2009, Gerard Hynes (Gmail) wrote: I'm all for semantic mark up and removing redunant tags, but the reality is supporting older browsers and browser quirks complicate things. So, yes definitely prefer CSS overflow solution, to adding a redundant/meaningless tag. How can CSS