sunken in textboxes anyone?

G

Guest

Hi folks,
first of all I'm using ASP.net 1.1 with C#

In the good old MS Access days you had sunken in textboxes to tell users
that they could type stuff in that box and flat textboxes to indicate a 'read
only' intention.
my colleagues and I are developing on an Intranet with IE6 only...

I notice that all my ASP.net <asp:textbox> come out flat in IE6 on my XP Pro
machine. is there anywhere or any way I can make those <asp:textbox> controls
appear sunken in, in some cases, and flat in others?

Regards and thanks in advance,
CharlesA
 
C

Chris Fulstow

Hi Charles,

Try adding this to your CSS stylesheet:

input.sunken
{
border: 2px inset;
}

Then set the CssClass property of your TextBox to "sunken".

HTH,

Chris
 

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

Top