Can an ImageButton be a table cell background for a nav?

B

Bruce W.1

I'm trying to put together a horizontal tab nav in a User Control, and I
want to have some mouseOver behavior. This could easily be done with
just CSS, however hyperlinking this way (client-side) would lose session
state, right? So I can't do this.

I was thinking that a mouseOver on the link text would just make it
bold, or change color.

I'd like each tab to be prettier than just a different table cell
background color, more like a manilla folder tab. That means an image
as the cell background.

An ImageButton would provide all the link functionality needed, except
without the client-side CSS mouseOver behavior.

The only way CSS updated text could appear on top of an ImageButton
would be if the ImageButton was a table cell background. But then the
ImageButton would not be clickable, right? It would lose the ability to
do a Response.Redirect or Server.Transfer in the code-behind.

Another option might be to skip the CSS updated text and just use an
ImageButton which had mouseOver behavior. Can an ImageButton have
client-side mouseOver behavior?

What's the best way to do a nice looking tab nav in a User Control?

Any suggestion on solving this dilemna would really be appreciated. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top