[program-java] Re: HTML

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: <program-java@xxxxxxxxxxxxx>
  • Date: Fri, 24 Jul 2009 16:19:00 -0400

Anna:

The colspan parameter defines the row with four columns. My table has about 24 
rows of info, but the third row needs four columns, two lables: From and To as 
well as two edit fields.

Jim  

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Anna Giller
Sent: July 24, 2009 15:28
To: program-java@xxxxxxxxxxxxx
Subject: [program-java] Re: HTML

Jim,

 

You don't need to specify an alignment, you simply put as many columns as you 
want between <tr> and </tr> tags, and they will be positioned automatically one 
after another. 

But whaat are you trying to accomplish by saying colspan=4?

 

Anna

 

________________________________

From: program-java-bounce@xxxxxxxxxxxxx 
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of Corbett, James
Sent: Friday, July 24, 2009 3:12 PM
To: program-java@xxxxxxxxxxxxx; program-l@xxxxxxxxxxxxx
Subject: [program-java] HTML

 

Hey now: 

I'm writing a JSP page and I'm creating a table that has four columns: <tr 
colspan=4">. I have two labels and two edit fields to display in the row so how 
do I position them accordingly. If I had three columns I would use <td 
class="alignLeft">, <td class="alignCenter">, etc.

Jim 

James M. Corbett 

Programmer / Analyst
GST/HST Micros | Micros de la TPS/TVH
Business Suite Assessing Systems (BSAS) Revenue and Accounting Systems 
Directorate (RASD) | Direction des Systèmes de revenu et de comptabilité (DSRC) 
Information Technology Branch (ITB) | Direction générale de l'informatique 
(DGI) Canada Revenue Agency | Agence du revenue du Canada 

(613) 941-1338 

"...Is a hippopotamus a hippopotamus, or just a really cool Opotamus?" 


Other related posts: