I'm making an input form (ie... credit card information), and I want it to look good in a table. Pretty much what I'm looking for is a way to get the input boxes to span the entire cell. The only way I can get them to be different lengths is by changing the size.
Any sort of workaround I've found leads to incompatibility through chrome/opera/firefox/ie.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Post code.
<table style="width:100%">
<tr><td style="width:50%"><input style="width:100%" name="test" /></td><td style="width:50%"><input style="width:100%" name="test2" /></td></tr>
</table>
looks fine on firefox.
In fact, since you listed the three most standard compliant browsers, I imagine you are coding it completely wrong.
IE sucks, don't code in it first.
None.
Awesome, thanks. Indeed ie sucks, but this is for a html class, who makes us code in ie. I lost points already for not checking a site which looked fine in ff/chrome/opera but not ie.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
IP basically just showed you a nice little way of putting CSS code into the HTML, the same effect could be achieved by having a input in CSS that had a width of 100, apparently other ways are now deprecated.
None.
The guy is teaching us how to use <font>. It sickens me.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Lulz, I'd skip it and learn CSS, it's much more useful if you're actually making large sites instead of a single page.
None.
ALL PRAISE YOUR SUPREME LORD CORBO
The guy is teaching us how to use <font>. It sickens me.
Wait till you get to <img> MAN that's a HARD one!
My school was kinda like this.. they taught us a very... stupid ammount of coding and html. But they wouldn't restrict us from being awesome like yours. We could just do something in php and they wouldn't care.
fuck you all
The guy is teaching us how to use <font>. It sickens me.
Wait till you get to <img> MAN that's a HARD one!
My school was kinda like this.. they taught us a very... stupid ammount of coding and html. But they wouldn't restrict us from being awesome like yours. We could just do something in php and they wouldn't care.
Wait, what's special about <img>? Has it been deprecated too?
I'm about to start using css and asp, because I don't think he cares, just so long as it looks good and does what it's supposed to do. It's only a 1 hour class I'm taking to get windows keys for free.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
Wait, what's special about <img>? Has it been deprecated too?
Lulz, he's joking
I'm about to start using css and asp, because I don't think he cares, just so long as it looks good and does what it's supposed to do. It's only a 1 hour class I'm taking to get windows keys for free.
Windows keys? As in using a key finder to jack the CD key from the school?
I think your teacher wanted you to just use the width attribute, instead of using the style attribute, but whatever
None.
My school has a class where you for half a semester learn HTML, which I think should be shot down for even teaching it...
None.
Windows keys? As in using a key finder to jack the CD key from the school?
MSDNAA is only available to students currently taking Electronic and Computer Engineering or Computer Science classes. Gives us access to Vista business, Server 2008/2003 (like ten versions), XP Pro SP1/2/3/64 bit/ 2000 SP4/pro/server/advanced server, CE.
Technically, we're supposed to delete them after we are done with the class. Since I just got an EEE with Xandros, I put XP on it, and my old key was spread out among like 4 computers I've built in the last 2-3 years. I think I'll put server 08 on my desktop once I get a 4850/70/whatever other ATi card is awesome.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
php > asp, btw
I suggest that you just do
http://www.w3schools.com/htmL/. That will probably teach you all of the material.
None.