Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > TextBox Within Table Wider Than Cell

Reply
Thread Tools

TextBox Within Table Wider Than Cell

 
 
=?Utf-8?B?QW5kcmV3IEhheWVz?=
Guest
Posts: n/a
 
      09-27-2007
Does anyone else find that when they use a table to handle the layout for a
FormView template, and they have textboxes set to width="100%", that the
rendered input is wider than the cell they are in, even when they are empty?
 
Reply With Quote
 
 
 
 
Just Me
Guest
Posts: n/a
 
      09-27-2007

try setting the width to 98%

"Andrew Hayes" <> wrote in message
news:8ABBA344-6365-41BC-B03B-...
> Does anyone else find that when they use a table to handle the layout for
> a
> FormView template, and they have textboxes set to width="100%", that the
> rendered input is wider than the cell they are in, even when they are
> empty?



 
Reply With Quote
 
 
 
 
=?Utf-8?B?QW5kcmV3IEhheWVz?=
Guest
Posts: n/a
 
      09-28-2007
Tried that, but it still makes a hell of a mess of the layout depending on
the browser size. At high resolutions it's smaller than the cell, but on low
resolutions it's still larger than the cell.

The most common answer to resolve it is to use a fixed width, but what's the
point in having relative sizing for web controls if the only way to make it
work is by making them fixed size?

And yes, the controls size correctly in Mozilla or FireFox, so maybe it's
just an IE problem?

 
Reply With Quote
 
Just Me
Guest
Posts: n/a
 
      09-28-2007
Its a bit diffucult withou the code, but yes, Explorer is different, but in
all fairness, it is quite forgiving ususally and lets you get away with bad
css.

Im sure there is a way around this, post ur code and Ill take a look at it.


"Andrew Hayes" <> wrote in message
news:B2D0568E-2FB9-43B4-86A8-...
> Tried that, but it still makes a hell of a mess of the layout depending on
> the browser size. At high resolutions it's smaller than the cell, but on
> low
> resolutions it's still larger than the cell.
>
> The most common answer to resolve it is to use a fixed width, but what's
> the
> point in having relative sizing for web controls if the only way to make
> it
> work is by making them fixed size?
>
> And yes, the controls size correctly in Mozilla or FireFox, so maybe it's
> just an IE problem?
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Table Text wider (other than "width") OccasionalFlyer HTML 1 10-20-2011 09:43 PM
How to Add more than one Textbox in a table cell on the fly.... tapasmahata Software 0 04-26-2008 05:37 AM
DIV wider than TD (cell) gorbus HTML 8 07-30-2005 09:43 PM
textbox property - columns: why does it make width much wider than it needs? TS ASP .Net 2 04-22-2004 02:33 PM
How do I have a table cell fetch another page to display within the cell? Phillip Roncoroni HTML 14 04-05-2004 05:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57