Re: [WSG] Table Cells and display: block

2008-06-02 Thread Michael Persson

I think you need to use a class that breaks the spaces...

table#cleanTable {
   border-collapse:collapse;
   }

Michael



Matijs wrote:
Do you have a little more context maybe? What is it you're trying to 
do? Sounds a bit odd to display a table cell as a block tbh.


On Mon, Jun 2, 2008 at 6:35 PM, Anthony Green <[EMAIL PROTECTED] 
> wrote:


I've tried Google and the archives but no luck

I have an issue with IE not applying display:block to table
elements: tr,
td, tr etc

Anyone see this before and know a work around ?

Tony




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]

***



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*** 




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Marking up company logo

2008-06-02 Thread Matijs
How about:

The Times

Homepage

There's water on mars



The Times

Financial stuff

Redmond stock going down further

etc...

Where would one fit in a company logo? Wouldn't a background image be best?
And if so, where?

Matijs

On Sun, Jun 1, 2008 at 2:38 AM, Adam Martin <[EMAIL PROTECTED]> wrote:

> Agree... but if you are wrapping it in a block element so that you can
> position it etc... then it is easier just to change its properties via css
> to act like a block element. No need for extra markup.
>
> Stuart Foulstone wrote:
>
>> But, CSS changes presentation - displaying something as "block" doesn't
>> stop it being an inline element, just it's presentation.
>>
>>
>>
>> On Fri, May 30, 2008 11:18 pm, Adam Martin wrote:
>>
>>
>>> img is only an inline element by default. Some simple css fixes that. An
>>> inline element does not have to be contained in a block level element at
>>> all!
>>>
>>> img {
>>> display: block
>>> }
>>>
>>> Kroon.Kurtis wrote:
>>>
>>>
 I'm not top-posting
>
>
>
 -Original Message-
 From: Miscellaneous
 Subject: Re: [WSG] Marking up company logo

 ... not be using a p tag [to] hold the logo --Adam
 ... A  tag is supposed to hold a paragraph of text.  If it is only
 holding an image, then there is no need for the surrounding  tag.
 --Matt
 ... see what www.alistapart.com is now using --Roxanne
 ... beginning to think [a plain] html image tag would be better suited
 to mark-up a company logo --Chris
 ... I already blogged that. --Jason
 ... only the homepage should have the company name/logo as the h1. As
 you move through the site, the h1 should shift to the more specific top
 heading on the page - on a category/index page it would be that
 category's name; on a specific content page it should be the headline on
 the content. --Ben
 ... fwiw, I don't see it that way. A web site is not a book, there is no
 cover. People can visit pages in a site without ever going through the
 home page. --Thierry

 ... etc.


 I'm surprised that no one has mentioned this ... but  is an inline
 element.

 So, it has to be contained in a block-level element, like p, h#, div,
 etc.

 Kurtis Kroon
 Franchise Tax Board
 State of California
 916-845-5603


 __

 CONFIDENTIALITY NOTICE: This email from the State of California is for
 the sole use of the intended recipient and may contain confidential and
 privileged information.  Any unauthorized review or use, including
 disclosure or distribution, is prohibited.  If you are not the intended
 recipient, please contact the sender and destroy all copies of this
 email.



 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***





>>> ***
>>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>>> Help: [EMAIL PROTECTED]
>>> ***
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> ***
>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>> Help: [EMAIL PROTECTED]
>> ***
>>
>>
>>
>>
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
>
>


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

Re: [WSG] Table Cells and display: block

2008-06-02 Thread Matijs
Do you have a little more context maybe? What is it you're trying to do?
Sounds a bit odd to display a table cell as a block tbh.

On Mon, Jun 2, 2008 at 6:35 PM, Anthony Green <[EMAIL PROTECTED]> wrote:

> I've tried Google and the archives but no luck
>
> I have an issue with IE not applying display:block to table elements: tr,
> td, tr etc
>
> Anyone see this before and know a work around ?
>
> Tony
>
>
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
>
>


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***

R: [WSG] Javascript help with Reg Exp required please

2008-06-02 Thread lisa . kerrigan
Return Receipt
   
   Your   R: [WSG] Javascript help with Reg Exp required please
   document:   
   
   wasLisa Kerrigan/StateDevPolicy/DSD 
   received
   by: 
   
   at:03/06/2008 09:42:03 AM   
   





**
Department of Innovation, Industry and Regional Development, 
Government of Victoria, Victoria, Australia.  

This e-mail and any attachments may contain privileged and confidential
information.   If you are not the intended recipient, you may not distribute
reproduce this e-mail or the attachments.   If you have received this message
in error, please notify us by return e-mail.

**



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] AJAX short courses london

2008-06-02 Thread Jennie K
You are probably right - it's just some employers demand accreditation -
although I am in Aus not UK (so Í'm sure it's different here).  I learnt
most of my skills on the job and from books but ended up getting some kind
of accreditation as well.

Also just wanted to let you know its $50 US dollars not pounds - so you
might find it is only 25 UK pounds

On Mon, Jun 2, 2008 at 3:38 AM, Ben Dodson <[EMAIL PROTECTED]> wrote:

> Just thought I'd throw my 2 cents in.
>
> I've always learnt things from either books or from chatting with other
> developers in IRC (there are no doubt some ajax specific groups - I
> recommend #jquery for the jQuery library which is my particular ajax weapon
> of choice).
>
> Accreditations are definitely not required in the web development world -
> the worst developers I've interviewed are always the ones with
> accreditations whereas the best have just taught themselves or been taught
> by their peers!
>
> Cheers,
>
> Ben
>
> --
> e: [EMAIL PROTECTED]
> w: http://bendodson.com/
>
>
> On Sun, Jun 1, 2008 at 11:10 AM, Joe Ortenzi <[EMAIL PROTECTED]> wrote:
>
>>  so where else can you be taught in bed for £50*
>> (*stop sniggering in the back there!)
>>
>> and as for accreditation, some of my best developers were not accredited
>> and their experience counted for much more than any course could provide.
>> They are much better at independent thinking, self-study for things they
>> need to know more about, and less likely to get stuck in a conceptual rut.
>>
>> Joe
>>
>> On May 30 2008, at 22:39, James Jeffery wrote:
>>
>> Only problem with the Lynda.com DVDs is sometimes they can be outdated.
>>
>> Although, this one is £50 and looks good. I might actually buy this, i
>> like watching the movies when in bed.
>>
>> http://movielibrary.lynda.com/html/modPage.asp?ID=480
>>
>> On Tue, May 27, 2008 at 9:51 PM, Joe Ortenzi <[EMAIL PROTECTED]> wrote:
>>
>>>  I agree.
>>> I have rarely seen any course in web technologies that you couldn't get
>>> further for much less money with either a video tutorial from places like
>>> lynda.com or from good how to books from great publishers like new
>>> riders, friends of ed, o'reilleys, etc.
>>>
>>> you can study at your own pace, replay and review difficult bits, skip
>>> over others, and the resource stays with you..
>>>
>>>
>>> On May 27 2008, at 05:28, Jennie K wrote:
>>>
>>> If you are not after accreditation try this website www.lynda.com - it's
>>> all online and you study at your own pace.  I've recommended the training to
>>> numerous people and they have all said it is of good quality.  You can try
>>> some of the free courses before  committing - there are also books and cds
>>> if you don't like the online version.
>>>
>>> On Thu, May 22, 2008 at 11:20 PM, Paul Collins <[EMAIL PROTECTED]>
>>> wrote:
>>>
 Hi all,

 I hope this is on topic. I'm trying to find a short course on AJAX in
 london and having troubles finding one that is of a reasonable price
 (IE- less than £300 for a half day). Could anyone recommend me one or
 possibly a good school to look into?

 Thanks for any help,
 Paul


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***


>>>
>>> ***
>>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>>> Help: [EMAIL PROTECTED]
>>> ***
>>>
>>>
>>>  Joe Ortenzi
>>> [EMAIL PROTECTED]
>>> www.typingthevoid.com
>>> www.joiz.com
>>>
>>>
>>>
>>>
>>> ***
>>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>>> Help: [EMAIL PROTECTED]
>>> ***
>>>
>>
>>
>> ***
>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>> Help: [EMAIL PROTECTED]
>> ***
>>
>>
>>  Joe Ortenzi
>> [EMAIL PROTECTED]
>> www.typingthevoid.com
>> www.joiz.com
>>
>>
>>
>>
>> ***
>> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
>> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
>> Help: [EMAIL PROTECTED]
>> ***
>>
>
>
>
>
>
> *

Re: [WSG] Javascript help with Reg Exp required please

2008-06-02 Thread E Michael Brandt
When you need the rule to be dynamic you do it this way to recompile the 
regular expression:



var txt="foo";
myRe= new RegExp (txt+"\\s", "i");
myArray = myRe.exec("The Foo fooSz Fighers");
alert(myArray)


Notice the \\.  It just may be that your way would work with \\ in place 
of \.  But technique above does not require an eval statement.


--


E. Michael Brandt

www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



R: [WSG] Javascript help with Reg Exp required please

2008-06-02 Thread Dennis Lapcewich
Return Receipt
   
   Your   R: [WSG] Javascript help with Reg Exp required please
   document:   
   
   wasDennis Lapcewich/R6/USDAFS   
   received
   by: 
   
   at:06/02/2008 11:36:00  
   






***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] Javascript help with Reg Exp required please

2008-06-02 Thread Rimantas Liubertas
> var rule2 = eval('/' + txt + '\s/i');
> console.log(str2.match(rule2)); // returns fooSz

Try var rule2 = eval('/' + txt + '\\s/i');


Regards,
Rimantas
--
http://rimantas.com/


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



R: [WSG] Javascript help with Reg Exp required please

2008-06-02 Thread Diego La Monica
Why not use the following?

 

new RegExp(txt + ‘\s’, ‘i’);

 

 

Diego La Monica

Web 2.0 - Standards - Accessibilità

mobile: +39 3337235382 - skype: diego.la.monica

web: http://diegolamonica.info - http://jastegg.it

 

  _  

Da: Pierre-Henri Lavigne [mailto:[EMAIL PROTECTED] 
Inviato: lunedì 2 giugno 2008 19.44
A: wsg@webstandardsgroup.org
Oggetto: [WSG] Javascript help with Reg Exp required please

 


Good day all,

Does anyone already get the following issue ?















var str = "The Foo fooSz Fighers";


var rule = /foo\s/i;


console.log(str.match(rule)); // returns Foo





var str2 = "The Foo fooSz Fighers";


var txt = "foo";


var rule2 = eval('/' + txt + '\s/i');


console.log(str2.match(rule2)); // returns fooSz

















or did I miss something ?





Thanks,





Peter

---
Pierre-Henri Lavigne aka Åkeson Chihiro
Frontend Developer, Fink Member
http://my.opera.com/Akeson_Chihiro/

 

  _  

Découvrez les styles qui font sensation sur  
Yahoo! Québec Avatars


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


[WSG] Javascript help with Reg Exp required please

2008-06-02 Thread Pierre-Henri Lavigne

Good day all,

Does anyone already get the following issue ?





var str = "The Foo fooSz Fighers";
var rule = /foo\s/i;
console.log(str.match(rule)); // returns Foo

var str2 = "The Foo fooSz Fighers";
var txt = "foo";
var rule2 = eval('/' + txt + '\s/i');
console.log(str2.match(rule2)); // returns fooSz





or did I miss something ?

Thanks,

Peter
---
Pierre-Henri Lavigne aka Åkeson Chihiro
Frontend Developer, Fink Member
http://my.opera.com/Akeson_Chihiro/


  Découvrez les styles qui font sensation sur Yahoo! Québec Avatars.
http://cf.avatars.yahoo.com/

***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


[WSG] Table Cells and display: block

2008-06-02 Thread Anthony Green
I've tried Google and the archives but no luck

I have an issue with IE not applying display:block to table elements: tr,
td, tr etc 

Anyone see this before and know a work around ?

Tony




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***