Re: [WSG] Opening external links in popup windows with no extra markup

2005-07-30 Thread Thierry Koblentz
Andrew Krespanis wrote:
 The problem was that we wanted to handle links to non-html files in a
 different manner than regular links. Ideally, it shouldn't require any
 more effort from the content author.
 
 The following page shows a simple demonstration of the solution:
 http://leftjustified.net/lab/javascript-file-links/

Nice! Thanks for sharing...

Thierry | www.TJKDesign.com
**
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] Making CSS Buttons active

2005-07-30 Thread David Hucklesby
Mike Kear asked:

 I'm building a site with a navigation button stack in the left
 column, and I'm trying to figure out how to make the whole button
 active.  I know I've seen it happening somewhere but I can't find
 an example right now.   Can anyone show me how that is achieved?


Christian Bradford replied:
 I believe what you might be missing is a specified width for the
 anchor tags to fill the buttons. Your stylesheet's ul.menu li a,
 or equivalent, needs a width: 100%; added.

Mike, Christian is correct that, for IE to make the whole button
clickable it needs a dimension. If you don't want a 100% width
you can also give (IE Win only) a height, using the star html hack
and the backslash comment hack to hide it from IE Mac, viz:

/* for IE Win only \*/
 * html #yournav a {height: 1em;}
/* stop hiding from Mac */

IE Win will (wrongly) increase the height if necessary.

Cordially,
David
--
David Hucklesby, on 7/30/2005
http://www.hucklesby.com/
--


**
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] Making CSS Buttons active

2005-07-30 Thread David Hucklesby
Mike Kear asked:

 I'm building a site with a navigation button stack in the left
 column, and I'm trying to figure out how to make the whole button
 active.  I know I've seen it happening somewhere but I can't find
 an example right now.   Can anyone show me how that is achieved?


Christian Bradford replied:
 I believe what you might be missing is a specified width for the
 anchor tags to fill the buttons. Your stylesheet's ul.menu li a,
 or equivalent, needs a width: 100%; added.

Mike, Christian is correct that, for IE to make the whole button
clickable it needs a dimension. If you don't want a 100% width
you can also give (IE Win only) a height, using the star html hack
and the backslash comment hack to hide it from IE Mac, viz:

/* for IE Win only \*/
 * html #yournav a {height: 1em;}
/* stop hiding from Mac */

IE Win will (wrongly) increase the height if necessary.

Cordially,
David
--
David Hucklesby, on 7/30/2005
http://www.hucklesby.com/
--


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

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



[WSG] More on IE7

2005-07-30 Thread Rob Unsworth
Hi,
Saw this on another list.

The IEBlog Standards and CSS in IE at  
http://blogs.msdn.com/ie/archive/2005/07/29/445242.aspx


-- 
Regards,  | Lions District 201 Q3   
Rob Unsworth  | IT  Internet Chairman  
Ipswich, Australia| http://www.lionsq3.asn.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
**