Re: [css-d] can a div be a link?

2010-12-23 Thread Joseba Roldan
Hi, in HTML5 you can nest divs into a a/a block, as you can see herehttp://www.w3schools.com/html5/tag_a.aspand in the next example: a href=http://somewhere.com; div id=myDiv pHere is my fancy text/p /div div id=anotherDiv pMore fancy text/p /div /a In this example both divs are links.

Re: [css-d] can a div be a link?

2010-12-23 Thread Reese
At 03:24 23 12 10, Joseba Roldan wrote: Hi, in HTML5 you can nest divs into a a/a block, as you can see herehttp://www.w3schools.com/html5/tag_a.aspand in the next example: a href=http://somewhere.com; div id=myDiv pHere is my fancy text/p /div div id=anotherDiv pMore fancy text/p /div /a In

Re: [css-d] can a div be a link?

2010-12-23 Thread Tim Arnold
Reese said: Some legacy sites are not ready for HTML5 conversion. Then, I'm not so sure about this method even for new development. Because: Divs are block-level elements, anchor tags are line-level elements. Loosening the standards to permit inserting block elements inside of line

Re: [css-d] can a div be a link?

2010-12-23 Thread Michael Beaudoin
On 12/22/10 5:36 PM, Michael Beaudoin wrote: Is it possible for a div to be a link? I'm trying to make a logo, which is a background in a masthead, as a link. The masthead div also contains the horizontal nav. Thanks, Michael Can you post the page uri to the list? ~d Sure. Here it is.

Re: [css-d] can a div be a link?

2010-12-23 Thread Tim Arnold
Sure. Here it is. http://ba-doyn.com/junk/link_test/ You'll see the outlined block in the upper left. I would like the block to have a link, but obviously no copy in there. Thanks, Michael If you put a link in that div (around the text), you can make it a block and it should accomplish

Re: [css-d] can a div be a link?

2010-12-23 Thread Chetan Crasta
Is it possible for a div to be a link? I'm trying to make a logo, which is a background in a masthead, as a link. The masthead div also contains the horizontal nav. . http://ba-doyn.com/junk/link_test/ You'll see the outlined block in the upper left. I would like the block to have a link,

Re: [css-d] can a div be a link?

2010-12-23 Thread Alan Gresley
On 24/12/2010 12:59 AM, Michael Beaudoin wrote: On 12/22/10 5:36 PM, Michael Beaudoin wrote: Is it possible for a div to be a link? I'm trying to make a logo, which is a background in a masthead, as a link. The masthead div also contains the horizontal nav. Thanks, Michael Can you post

Re: [css-d] Footer on odd pages only

2010-12-23 Thread Tim White
On Wed, Dec 22, 2010 at 2:02 AM, david gn...@hawaii.rr.com wrote: David Hucklesby wrote: On 12/20/10 3:40 PM, Evan Panagiotopoulos wrote: I create a string of html documents using php. Each document prints one sheet of paper. I would like to have the documents that form the odd sheets to

Re: [css-d] can a div be a link?

2010-12-23 Thread Michael Beaudoin
On Dec 23, 2010, at 8:13 AM, Tim Arnold wrote: Sure. Here it is. http://ba-doyn.com/junk/link_test/ You'll see the outlined block in the upper left. I would like the block to have a link, but obviously no copy in there. Thanks, Michael If you put a link in that div (around the text), you

Re: [css-d] can a div be a link?

2010-12-23 Thread Tom Livingston
Maybe i'm missing something, but wouldn't it be better to just put the image in there as content (IMHO, it's relevant content and not just decoration) and wrap it in an href? On Wed, Dec 22, 2010 at 5:36 PM, Michael Beaudoin mich...@ba-doyn.com wrote: Is it possible for a div to be a link?

Re: [css-d] can a div be a link?

2010-12-23 Thread Tom Livingston
Or why not set an a to display block and have the logo be the bg of that a instead of the div? On Wed, Dec 22, 2010 at 5:36 PM, Michael Beaudoin mich...@ba-doyn.com wrote: Is it possible for a div to be a link? I'm trying to make a logo, which is a background in a masthead, as a link. The

[css-d] Expanding tabs effect

2010-12-23 Thread Gabriele Romanato
Hi! Sometimes CSS is better than jQuery: http://onwebdev.blogspot.com/2010/12/css-expanding-tabs-effect.html HTH :-) http://www.css-zibaldone.com http://www.css-zibaldone.com/test/ (English) http://www.css-zibaldone.com/articles/ (English) http://onwebdev.blogspot.com/ (English)

Re: [css-d] Expanding tabs effect

2010-12-23 Thread David Laakso
On 12/23/10 12:14 PM, Gabriele Romanato wrote: Sometimes CSS is better than jQuery: http://onwebdev.blogspot.com/2010/12/css-expanding-tabs-effect.html Santa, Am I missing something or what-- demo link? Scrooge London http://chelseacreekstudio.com/

Re: [css-d] Expanding tabs effect

2010-12-23 Thread Lists
Sometimes CSS is better than jQuery: http://onwebdev.blogspot.com/2010/12/css-expanding-tabs-effect.html El 23/12/2010, a las 18:28, David Laakso escribió Santa, Am I missing something or what-- demo link? Scrooge London link is at the end of the text - green word 'here'. Gabriele,

Re: [css-d] Expanding tabs effect

2010-12-23 Thread Al Sparber
On 12/23/2010 12:14 PM, Gabriele Romanato wrote: Hi! Sometimes CSS is better than jQuery: http://onwebdev.blogspot.com/2010/12/css-expanding-tabs-effect.html HTH :-) Very nice and I'm sure a lot of folks will find it very useful. As for jQuery - it's the most misused, misunderstood, and

Re: [css-d] Expanding tabs effect

2010-12-23 Thread David Laakso
On 12/23/10 12:44 PM, Lists wrote: Sometimes CSS is better than jQuery: http://onwebdev.blogspot.com/2010/12/css-expanding-tabs-effect.html link is at the end of the text - green word 'here'. It must be nice to be young:-) . macbook pro os x 10.4 Nice! Safari/4.1.3 WebKit current

Re: [css-d] Expanding tabs effect

2010-12-23 Thread Al Sparber
On 12/23/2010 1:15 PM, Al Sparber wrote: On 12/23/2010 12:14 PM, Gabriele Romanato wrote: Hi! Sometimes CSS is better than jQuery: http://onwebdev.blogspot.com/2010/12/css-expanding-tabs-effect.html HTH :-) Very nice and I'm sure a lot of folks will find it very useful. As for jQuery -

Re: [css-d] image gallery question

2010-12-23 Thread Matthew P. Johnson
-Original Message- From: css-d-boun...@lists.css-discuss.org [mailto:css-d-boun...@lists.css-discuss.org] On Behalf Of Brian M. Curran Sent: Tuesday, December 21, 2010 5:13 AM To: css-d@lists.css-discuss.org Subject: Re: [css-d] image gallery question On 12/20/10 5:04 PM, Matthew P.

Re: [css-d] Expanding tabs effect

2010-12-23 Thread Alan Gresley
On 24/12/2010 4:14 AM, Gabriele Romanato wrote: Hi! Hello. Sometimes CSS is better than jQuery: You're just realizing that! http://onwebdev.blogspot.com/2010/12/css-expanding-tabs-effect.html HTH :-) I would recommend that you use padding on the as instead of using line-height. Give

Re: [css-d] Expanding tabs effect

2010-12-23 Thread David Laakso
On 12/23/10 8:13 PM, Alan Gresley wrote: On 24/12/2010 4:14 AM, Gabriele Romanato wrote: Hi! Hello. Sometimes CSS is better than jQuery: You're just realizing that! http://onwebdev.blogspot.com/2010/12/css-expanding-tabs-effect.html HTH :-) I would recommend that you use padding on

Re: [css-d] can a div be a link?

2010-12-23 Thread Michael Beaudoin
On Wed, Dec 22, 2010 at 5:36 PM, Michael Beaudoin mich...@ba- doyn.com wrote: Is it possible for a div to be a link? I'm trying to make a logo, which is a background in a masthead, as a link. The masthead div also contains the horizontal nav. I was thinking of making another div, float it