being a geek isn't so bad
chicks still think i'm hot ;)

Firefox and ASP.Net TextBoxes

Sunday, August 29, 2004 12:39 AM

So I've had a stupid little problem with formating in FireFox. For some reason FireFox neglects to render the width attribute from an asp:textbox. For the longest time it was driving me crazy, until I was browsing a site and saw that they had a small textbox. So I viewed the source and what did I find? Size=5. Damnit. I had totally forgotten about the size attribute because I haven't had to use it. IE renders width just fine. So for optimal FireFox compatibility, make sure you use the size attribute. I don't think it's a property in VS2003, but add it anyway, it won't break anything.

It's still annoying that FireFox doesn't render the width attribute, but I'll let it slide. It's still a damn good browser. Go download it!


Feedback

No comments posted yet.


Post a comment





 

Please add 3 and 1 and type the answer here: