471,598 Members | 1,200 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,598 software developers and data experts.

need help imitating the default IE readonly style!

Hi!


I am trying to set a textbox to the same style as the IE default for a readonly field. (greyed text, different border). I cant seem to match the border style can anyone please provide a solution? This is driving me nuts

Cheers
Tam
Sep 10 '07 #1
3 2576
drhowarddrfine
7,435 Expert 4TB
I never know what people mean by 'textbox'. Do you mean <textarea> or a form <input>?

In css, use border-style .
Sep 10 '07 #2
Hi! Thanks for your reply.!

By textbox i mean the asp .net textbox which renders as an input field.

I have tried every type of border style and still cant cant seem to match IEs default. Ive been using a screen magnifier to look at the pixels and it is always different.

Which border style and color it should be?
Sep 17 '07 #3
drhowarddrfine
7,435 Expert 4TB
Yes, asp.net stuff is Microsoft specific and won't mean anything to most of us.

There are many articles about styling forms. I'm getting ready to do such a page soon. I'm going to bed right now and, tomorrow, going out of town. You need to look into the border style properties for CSS but be careful of IE which tends to be inadequate in CSS.
Sep 17 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Luis Esteban Valencia | last post: by
3 posts views Thread by Marty McFly | last post: by
7 posts views Thread by Benton | last post: by
reply views Thread by jsmith72 | last post: by
12 posts views Thread by Anil Gupte | last post: by
2 posts views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.