[WSG] linking a div

2004-11-02 Thread Amit Karmakar
Howdy All, I have a div a href=http://www.getfirefox.com; title=Get FireFoxdiv id=firefox/div/a The style is #firefox { width:125px; height:50px; background: url('/weblog/images/takebacktheweb_small.png'); } The problem: doesn't validate: Try validating http://www.karmakars.com/weblog/ Any

Re: [WSG] linking a div

2004-11-02 Thread Joe Leech
Amit Karmakar wrote: Howdy All, I have a div a href=http://www.getfirefox.com; title=Get FireFoxdiv id=firefox/div/a The style is #firefox { width:125px; height:50px; background: url('/weblog/images/takebacktheweb_small.png'); } You are nesting a block level element within an inline element.

RE: [WSG] linking a div

2004-11-02 Thread Stuart Macintosh
] linking a div Howdy All, I have a div a href=http://www.getfirefox.com; title=Get FireFoxdiv id=firefox/div/a The style is #firefox { width:125px; height:50px; background: url('/weblog/images/takebacktheweb_small.png'); } The problem: doesn't validate: Try validating http://www.karmakars.com

Re: [WSG] linking a div

2004-11-02 Thread Peter A. Shevtsov
Hi Amit! Try the following in HTML: a id=firefox href=http://www.getfirefox.com; title=Get FireFox/a in CSS: a#firefox { display: block; width:125px; height:50px; background: url('/weblog/images/takebacktheweb_small.png'); } Amit Karmakar wrote: Howdy All, I have a div a

Re: [WSG] linking a div

2004-11-02 Thread Manuel González Noriega
Amit Karmakar wrote: Howdy All, I have a div a href=http://www.getfirefox.com; title=Get FireFoxdiv id=firefox/div/a Inline elements, such as a, can't contain block-level elements, such as div -- Manuel trabaja para Simplelógica: apariencia, experiencia y comunicación en la web.

RE: [WSG] linking a div

2004-11-02 Thread Stuart Macintosh
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Macintosh Sent: Tuesday, 2 November 2004 10:59 PM To: [EMAIL PROTECTED] Subject: RE: [WSG] linking a div Amit, What if you reversed the location of the href and put it into the div, and gave a class