Is it possible to make an entire <div>
into a hyperlink using CSS only, as can be easily accomplished with mouse events in JavaScript? I'm assuming it's too good to be true since CSS isn't interactive? Nevermind ... I guess I just answered my own question :(
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Recommended Answers
Jump to PostWell, no.
Jump to PostNot really sure what you want...
But wouldn't
HTML Code:
<a href="#" target="_blank"><input type="button" /></a>work for you?
(You may have to define height and width for IE though).nope, not with my doctype anyway (transitional)
I don't think theres anything wrong with nesting forms?
yerp, there is. it seems …
Jump to PostJavaScript is of course standardized. What confuses many is that it's a scripting language, so interacts with the underlying DOM, and that each doctype has its own DOM. Morever, JavaScript is used with other, non-HTML DOMs as well, such as Acrobat. However, the language itself is standardized.
I've been …
Jump to PostJavaScript is of course standardized. What confuses many is that it's a scripting language, so interacts with the underlying DOM, and that each doctype has its own DOM. Morever, JavaScript is used with other, non-HTML DOMs as well, such as Acrobat. However, the language itself is standardized.
ah, you got …
Jump to PostIs it possible to make an entire
<div>
into a hyperlink using CSS only, as can be easily accomplished with mouse events in JavaScript? I'm assuming it's too good to be true since CSS isn't interactive? Nevermind ... I guess I just answered my own question :(Hi,
…
All 19 Replies
SnowDog
21
Posting Whiz in Training
remiremi
0
Newbie Poster
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
SnowDog
21
Posting Whiz in Training
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
SnowDog
21
Posting Whiz in Training
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
SnowDog
21
Posting Whiz in Training
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
tgreer
189
Made Her Cry
Team Colleague
SnowDog
21
Posting Whiz in Training
tgreer
189
Made Her Cry
Team Colleague
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
tgreer
189
Made Her Cry
Team Colleague
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
katarey
27
Junior Poster
digital-ether
399
Nearly a Posting Virtuoso
Team Colleague
tracedef
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.