Jump to content

MySQL with Textbox


joecooper

Recommended Posts

[a href=\"http://www.essexracers.com/jh1/cars.php\" target=\"_blank\"]http://www.essexracers.com/jh1/cars.php[/a]

heres the link i have problems with.
as you see, when i dont put spaces in with the textbox, it makes the box go wider, how can i make that stay still and force it to a new line?
Link to comment
https://forums.phpfreaks.com/topic/3637-mysql-with-textbox/
Share on other sites

[!--quoteo(post=349633:date=Feb 26 2006, 03:01 PM:name=joecooper)--][div class=\'quotetop\']QUOTE(joecooper @ Feb 26 2006, 03:01 PM) [snapback]349633[/snapback][/div][div class=\'quotemain\'][!--quotec--]
[a href=\"http://www.essexracers.com/jh1/cars.php\" target=\"_blank\"]http://www.essexracers.com/jh1/cars.php[/a]

heres the link i have problems with.
as you see, when i dont put spaces in with the textbox, it makes the box go wider, how can i make that stay still and force it to a new line?
[/quote]

try the CSS max-width
ex.

[code]
<style type="text/css">
td.width {
          max-width: 40%;
               }
</style>
[/code]

not sure how well it works in IE, but looks good in the other browsers
Link to comment
https://forums.phpfreaks.com/topic/3637-mysql-with-textbox/#findComment-12622
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.