Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resolution problem bcoz of Fixed textbox size

Status
Not open for further replies.

nith1783

Programmer
Aug 24, 2007
6
0
0
IN
i have lister page which listing all user details in that i have text box in table head for filtering purpose bcoz of fixed size of text box if i change my resolution alignment is changing and horizontal bar is appearing how to avoid this..

Is there any way to make the text box size as relative of by giving percentage it should fix to all resolutions


Thanks in Advance
 
I don't think there is any way to prevent this from happening.

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
If I understand you correctly, you want to assign a percentage for the textbox width? If so, this works in IE:
Code:
<style>.t{width:100%;}</style>

<table width="100%">
  <tr>
    <td><input type="text" class="t"></td>
    <td><input type="text" class="t"></td>
  </tr>
  <tr>
    <td><input type="text" class="t"></td>
    <td><input type="text" class="t"></td>
  </tr>
</table>

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top