Showing posts with label cin. Show all posts
Showing posts with label cin. Show all posts

Saturday, March 24, 2012

sunken in textboxes anyone?

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,
CharlesAHi 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
Thanks for that Chris!

sunken in textboxes anyone?

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 'rea
d
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> control
s
appear sunken in, in some cases, and flat in others?
Regards and thanks in advance,
CharlesAHi 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
Thanks for that Chris!