HTML Tables
Oct 20 2008, 6:45 pm
By: rockz  

Oct 20 2008, 6:45 pm rockz Post #1

ᴄʜᴇᴇsᴇ ɪᴛ!

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?"

Oct 20 2008, 7:38 pm Forsaken Archer Post #2



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.

Oct 20 2008, 10:23 pm rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

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?"

Oct 20 2008, 11:18 pm Falkoner Post #4



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.

Oct 21 2008, 1:52 am rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

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?"

Oct 21 2008, 4:25 am Falkoner Post #6



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.

Oct 21 2008, 4:31 am Corbo Post #7

ALL PRAISE YOUR SUPREME LORD CORBO

Quote from rockz
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

Oct 21 2008, 5:38 pm rockz Post #8

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Corbo
Quote from rockz
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?"

Oct 22 2008, 4:41 am Falkoner Post #9



Quote
Wait, what's special about <img>? Has it been deprecated too?

Lulz, he's joking :P

Quote
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 :P



None.

Oct 22 2008, 4:42 am InsolubleFluff Post #10



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.

Oct 23 2008, 4:34 pm rockz Post #11

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from Falkoner
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?"

Oct 25 2008, 3:18 pm Money Post #12



php > asp, btw

I suggest that you just do http://www.w3schools.com/htmL/. That will probably teach you all of the material.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are almost 3k pages
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- the real members stop around page 250
[2024-4-14. : 9:20 pm]
O)FaRTy1billion[MM] -- look at the members list
[2024-4-12. : 12:52 pm]
Oh_Man -- da real donwano
da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
it's pretty common
[2024-4-11. : 9:53 pm]
da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
[2024-4-11. : 4:18 pm]
IlyaSnopchenko -- still better than "Pakistani hookers in Sharjah" that I've seen advertised in another forum
[2024-4-11. : 4:07 pm]
Ultraviolet -- These guys are hella persistent
[2024-4-11. : 3:29 pm]
Vrael -- You know, the outdoors is overrated. Got any indoor gym and fitness equipment?
[2024-4-10. : 8:11 am]
Sylph-Of-Space -- Hello!
Please log in to shout.


Members Online: Roy, armitage