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
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.
] 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
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
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.
-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