| | |
Table cell width question
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Nov 2007
Posts: 35
Reputation:
Solved Threads: 0
So I am trying to do some sizing formating with my HTML code, and I did something that works but I need to make sure I didn't do anything bad that will come up and bite me later.
I essentially am creating a form to upload files and since I don't know the size of the Browse File element, I made the width of the column it's in super small. This way it would resize itself.
How bad of a thing am I doing?
Thanks ahead as always,
Sergio
I essentially am creating a form to upload files and since I don't know the size of the Browse File element, I made the width of the column it's in super small. This way it would resize itself.
How bad of a thing am I doing?
Thanks ahead as always,
Sergio
<table width="400">
<tr>
<td ALIGN="RIGHT" VALIGN="MIDDLE">
Photo to Upload:
</td>
<td WIDTH="10" ALIGN="RIGHT" VALIGN="MIDDLE">
<INPUT TYPE="file" NAME="photo">
</td>
</tr>
</table> Very bad ;-)
Some browsers may actually listen to you and not bother to expand it, so I would suggest you simply set the size of your input element instead...
Then you won't have to worry about setting the cell width or what size the upload element will be!
Regards
Dave
Some browsers may actually listen to you and not bother to expand it, so I would suggest you simply set the size of your input element instead...
HTML and CSS Syntax (Toggle Plain Text)
<INPUT TYPE="file" NAME="photo" style="width: 50px;">
Regards
Dave
![]() |
Similar Threads
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- Why do people wish for tableless with CSS? (HTML and CSS)
- Table width (HTML and CSS)
- Project help please !!!!! (JavaScript / DHTML / AJAX)
- help with Java (Java)
- retrieving ids from dynamically created controls in asp.net (ASP)
- Problem with buttons on a site (Site Layout and Usability)
Other Threads in the HTML and CSS Forum
- Previous Thread: Starting on GameEntertainments Site
- Next Thread: new to web. development
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7





