RonB
|
| Posted: 09/08/2002, 3:44 AM |
|
Hi,
My HTML knowledge isn't all that so here's a question:
How do I specify in wich direction a row should go when data is put in to
it. Currently I only get top down(vertical) I want Left-> Right
(horizontal). So each new piece of data moves to the right instead of down.
Tips would be very welcome.
RonB
|
|
|
 |
guest
|
| Posted: 09/08/2002, 9:38 AM |
|
Here's a great site to learn with many html tutorials including tables and
html.
http://www.htmlgoodies.com/tutors/tbl.html
There is one article for CC not CCS at gotocode.com, but it might help.
http://www.gotocode.com/art.asp?art_id=77
"RonB" <r.borkent@123chello.456nl> wrote in message
news:alf9mp$o0b$1@news.codecharge.com...
> Hi,
>
> My HTML knowledge isn't all that so here's a question:
> How do I specify in wich direction a row should go when data is put in to
> it. Currently I only get top down(vertical) I want Left-> Right
> (horizontal). So each new piece of data moves to the right instead of
down.
>
> Tips would be very welcome.
>
> RonB
>
>
|
|
|
 |
DonB
|
| Posted: 09/08/2002, 11:55 AM |
|
Ron,
I tried taking out the table's <tr> and </tr> tags (from the HTML, expecting
a real mess to be displayed, but it gave me a single row, with the "heading"
as the leftmost cell, followed by one cell for each value in my table (I
SELECTed a single column from a single table in my database). I did not
include the sorter or page navigation, which I figure WOULD screw up the
output.
This produced a single row of output. Is that what you are talking about?
DonB
"RonB" <r.borkent@123chello.456nl> wrote in message
news:alf9mp$o0b$1@news.codecharge.com...
> Hi,
>
> My HTML knowledge isn't all that so here's a question:
> How do I specify in wich direction a row should go when data is put in to
> it. Currently I only get top down(vertical) I want Left-> Right
> (horizontal). So each new piece of data moves to the right instead of
down.
>
> Tips would be very welcome.
>
> RonB
>
>
|
|
|
 |
RonB
|
| Posted: 09/08/2002, 12:53 PM |
|
Hi Don,
I'm not sure:
Row look like this in CCS(let's say it contains a label that rfers to names:
John
Peter
Marty
Lisa
What I want is:
John Peter Marty Lisa
Make any sense?
RonB
"DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> schreef in bericht
news:alg6fl$det$1@news.codecharge.com...
> Ron,
>
> I tried taking out the table's <tr> and </tr> tags (from the HTML,
expecting
> a real mess to be displayed, but it gave me a single row, with the
"heading"
> as the leftmost cell, followed by one cell for each value in my table (I
> SELECTed a single column from a single table in my database). I did not
> include the sorter or page navigation, which I figure WOULD screw up the
> output.
>
> This produced a single row of output. Is that what you are talking about?
>
> DonB
>
>
> "RonB" <r.borkent@123chello.456nl> wrote in message
>news:alf9mp$o0b$1@news.codecharge.com...
> > Hi,
> >
> > My HTML knowledge isn't all that so here's a question:
> > How do I specify in wich direction a row should go when data is put in
to
> > it. Currently I only get top down(vertical) I want Left-> Right
> > (horizontal). So each new piece of data moves to the right instead of
> down.
> >
> > Tips would be very welcome.
> >
> > RonB
> >
> >
>
>
|
|
|
 |
Shawn Mason
|
| Posted: 09/08/2002, 4:50 PM |
|
Yup, know just what you mean. I had to look this one up myself. The html
syntax is tabindex=xxx where xxx is the order in which a tab works. Look it
up on one of the html sites for exact syntax coding.
--
Kindest Regards,
Shawn Mason,CCD,MCP
I.S. Software Design Associates
"RonB" <r.borkent@123chello.456nl> wrote in message
news:alf9mp$o0b$1@news.codecharge.com...
> Hi,
>
> My HTML knowledge isn't all that so here's a question:
> How do I specify in wich direction a row should go when data is put in to
> it. Currently I only get top down(vertical) I want Left-> Right
> (horizontal). So each new piece of data moves to the right instead of
down.
>
> Tips would be very welcome.
>
> RonB
>
>
|
|
|
 |
RonB
|
| Posted: 09/09/2002, 1:27 AM |
|
Sorry but you got me wrong,
Tabindex just specifies what happens if you push tab on your keyboard. I
want fields to flow from left to right instead of from top down.
RonB
"Shawn Mason" <shawn@issda.com> schreef in bericht
news:algnnl$cf8$1@news.codecharge.com...
> Yup, know just what you mean. I had to look this one up myself. The html
> syntax is tabindex=xxx where xxx is the order in which a tab works. Look
it
> up on one of the html sites for exact syntax coding.
>
> --
> Kindest Regards,
>
> Shawn Mason,CCD,MCP
> I.S. Software Design Associates
>
>
> "RonB" <r.borkent@123chello.456nl> wrote in message
>news:alf9mp$o0b$1@news.codecharge.com...
> > Hi,
> >
> > My HTML knowledge isn't all that so here's a question:
> > How do I specify in wich direction a row should go when data is put in
to
> > it. Currently I only get top down(vertical) I want Left-> Right
> > (horizontal). So each new piece of data moves to the right instead of
> down.
> >
> > Tips would be very welcome.
> >
> > RonB
> >
> >
>
>
|
|
|
 |
Steven Dowd
|
| Posted: 09/09/2002, 4:23 AM |
|
from what i can tell you need to understand a little about how html actually
works
from your example
john
peter
marty
lisa
to do this in a table you could use a table with no <tr> tags, think of <tr>
as equal to <To the Right>
the <tr> tage makes all proceding <td> sections keep going To the Right,
untill you end the tag with </tr>
this then is lke a new line on a typed page, you start again from the left
side of that page with a new
<tr> and all following tables/boxes etc will keep going to the right
untill you end it with a </tr>
so with no <tr> tags the next box is 'under' the previous
so to make your example as above with names vertically you can do that two
ways
1/
<table>
<td> john </td>
<td> peter </td>
<td> marty </td>
<td> lisa </td>
</td>
or you can do it by actually using the <tr> and ending the </tr> to start a
new line for the next person
so you can have a vertical column from this code.
2/
<table>
<tr>
<td> john </td>
</tr>
<tr>
<td> peter </td>
</tr>
<tr>
<td> marty </td>
</tr>
<tr>
<td> lisa </td>
</td>
</table>
ok, so hopefully you now should understand that these make the text/data go
'Down' the page
to make ethe data go across the page you leave out all the end </tr> tags
except the last one
so to make you list of names show as:
John Peter Marty Lisa
you would use:-
<table>
<tr>
<td> john </td>
<td> peter </td>
<td> marty </td>
<td> lisa </td>
</td>
</table>
This html, starts the <table> tells the browser that its going to start
showing tables/boxes/content
across the page <To the Right> with the <tr> tag, and then 'ALL' the
following <td>xxxx</td> tags
will show news data across the page, untill the </tr> which ends the <To the
Right> code and then the
table ends with the </table>
Hope This is what you wanted to understand, and I didnt send 5 mins typing
for nothing :)
Steven Dowd
"RonB" <r.borkent@123chello.456nl> wrote in message
news:alg9r9$jfg$1@news.codecharge.com...
> Hi Don,
>
> I'm not sure:
>
> Row look like this in CCS(let's say it contains a label that rfers to
names:
> John
> Peter
> Marty
> Lisa
> What I want is:
> John Peter Marty Lisa
>
> Make any sense?
>
> RonB
> "DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> schreef in bericht
>news:alg6fl$det$1@news.codecharge.com...
> > Ron,
> >
> > I tried taking out the table's <tr> and </tr> tags (from the HTML,
> expecting
> > a real mess to be displayed, but it gave me a single row, with the
> "heading"
> > as the leftmost cell, followed by one cell for each value in my table (I
> > SELECTed a single column from a single table in my database). I did not
> > include the sorter or page navigation, which I figure WOULD screw up the
> > output.
> >
> > This produced a single row of output. Is that what you are talking
about?
> >
> > DonB
> >
> >
> > "RonB" <r.borkent@123chello.456nl> wrote in message
> >news:alf9mp$o0b$1@news.codecharge.com...
> > > Hi,
> > >
> > > My HTML knowledge isn't all that so here's a question:
> > > How do I specify in wich direction a row should go when data is put in
> to
> > > it. Currently I only get top down(vertical) I want Left-> Right
> > > (horizontal). So each new piece of data moves to the right instead of
> > down.
> > >
> > > Tips would be very welcome.
> > >
> > > RonB
> > >
> > >
> >
> >
>
>
|
|
|
 |
Steven Dowd
|
| Posted: 09/09/2002, 7:16 AM |
|
Woops, i made a couple of type errors in my html examples,
here is it with them corrected
>>>>
from what I can tell you need to understand a little about how html actually
works
from your example
john
peter
marty
lisa
to do this in a table you could use a table with no <tr> tags, think of <tr>
as equal to <To the Right> the <tr> tags makes all proceeding <td>
sections keep going To the Right, until you end the tag with </tr>
this then is like a new line on a typed page, you start again from the left
side of that page with a new <tr> and all following tables/boxes etc will
keep going to the right until you end it with a </tr>
so with no <tr> tags the next box is 'under' the previous
so to make your example as above with names vertically you can do that two
ways
1/
<table>
<td> john </td>
<td> peter </td>
<td> marty </td>
<td> lisa </td>
</table>
or you can do it by actually using the <tr> and ending the </tr> to start a
new line for the next person so you can have a vertical column from this
code.
2/
<table>
<tr>
<td> john </td>
</tr>
<tr>
<td> peter </td>
</tr>
<tr>
<td> marty </td>
</tr>
<tr>
<td> lisa </td>
</tr>
</table>
ok, so hopefully you now should understand that these make the text/data go
'Down' the page
to make the data go across the page you leave out all the end </tr> tags
except the last one so to make you list of names show as:
John Peter Marty Lisa
you would use:-
<table>
<tr>
<td> john </td>
<td> peter </td>
<td> marty </td>
<td> lisa </td>
</tr>
</table>
This html, starts the <table> tells the browser that its going to start
showing tables/boxes/content
across the page <To the Right> with the <tr> tag, and then 'ALL' the
following <td>xxxx</td> tags
will show news data across the page, until the </tr> which ends the <To the
Right> code and then the
table ends with the </table>
Hope This is what you wanted to understand, and I didn't send 5 mins typing
for nothing :)
Steven Dowd
> > >
> >
> >
>
>
|
|
|
 |
Carl
|
| Posted: 09/09/2002, 3:11 PM |
|
The tags main are:
<table> creates the table
<th> creates a header row - you can usually use a TR tag here if yo
wish.
<td>Header Column 1</td><td>Header Column 2</td>
</th>
<tr>creates a row
<td>Column 1 Row 1</td><td>Column 2 Row 1</td>
</tr>
<tr>Row 2
<td>Column 1 Row 2</td><td>Column 2 Row 2</td>
</tr>
</table>
The above would create a table with 2 columns, one header row and two
regular rows. Most of today's HTML editors let you create the table
graphically or via a wizard.
Of course each has attributes like align, width, valign, colspan, rowspan,
etc.
Carl
"Steven Dowd" <newspost.steven.dowd@dowd.co.uk> wrote in message
news:ali0b2$l5b$1@news.codecharge.com...
>
> from what i can tell you need to understand a little about how html
actually
> works
>
> from your example
>
> john
> peter
> marty
> lisa
>
> to do this in a table you could use a table with no <tr> tags, think of
<tr>
> as equal to <To the Right>
> the <tr> tage makes all proceding <td> sections keep going To the Right,
> untill you end the tag with </tr>
> this then is lke a new line on a typed page, you start again from the left
> side of that page with a new
> <tr> and all following tables/boxes etc will keep going to the right
> untill you end it with a </tr>
>
> so with no <tr> tags the next box is 'under' the previous
>
> so to make your example as above with names vertically you can do that two
> ways
>
> 1/
> <table>
> <td> john </td>
> <td> peter </td>
> <td> marty </td>
> <td> lisa </td>
> </td>
>
> or you can do it by actually using the <tr> and ending the </tr> to start
a
> new line for the next person
> so you can have a vertical column from this code.
>
> 2/
> <table>
> <tr>
> <td> john </td>
> </tr>
> <tr>
> <td> peter </td>
> </tr>
> <tr>
> <td> marty </td>
> </tr>
> <tr>
> <td> lisa </td>
> </td>
> </table>
>
> ok, so hopefully you now should understand that these make the text/data
go
> 'Down' the page
>
> to make ethe data go across the page you leave out all the end </tr> tags
> except the last one
> so to make you list of names show as:
>
> John Peter Marty Lisa
>
> you would use:-
>
> <table>
> <tr>
> <td> john </td>
> <td> peter </td>
> <td> marty </td>
> <td> lisa </td>
> </td>
> </table>
>
> This html, starts the <table> tells the browser that its going to start
> showing tables/boxes/content
> across the page <To the Right> with the <tr> tag, and then 'ALL' the
> following <td>xxxx</td> tags
> will show news data across the page, untill the </tr> which ends the <To
the
> Right> code and then the
> table ends with the </table>
>
>
> Hope This is what you wanted to understand, and I didnt send 5 mins typing
> for nothing :)
>
> Steven Dowd
>
>
>
> "RonB" <r.borkent@123chello.456nl> wrote in message
>news:alg9r9$jfg$1@news.codecharge.com...
> > Hi Don,
> >
> > I'm not sure:
> >
> > Row look like this in CCS(let's say it contains a label that rfers to
> names:
> > John
> > Peter
> > Marty
> > Lisa
> > What I want is:
> > John Peter Marty Lisa
> >
> > Make any sense?
> >
> > RonB
> > "DonB" <7432D63DBB01D03A196B1EDD80E8@comcast.net> schreef in bericht
> >news:alg6fl$det$1@news.codecharge.com...
> > > Ron,
> > >
> > > I tried taking out the table's <tr> and </tr> tags (from the HTML,
> > expecting
> > > a real mess to be displayed, but it gave me a single row, with the
> > "heading"
> > > as the leftmost cell, followed by one cell for each value in my table
(I
> > > SELECTed a single column from a single table in my database). I did
not
> > > include the sorter or page navigation, which I figure WOULD screw up
the
> > > output.
> > >
> > > This produced a single row of output. Is that what you are talking
> about?
> > >
> > > DonB
> > >
> > >
> > > "RonB" <r.borkent@123chello.456nl> wrote in message
> > >news:alf9mp$o0b$1@news.codecharge.com...
> > > > Hi,
> > > >
> > > > My HTML knowledge isn't all that so here's a question:
> > > > How do I specify in wich direction a row should go when data is put
in
> > to
> > > > it. Currently I only get top down(vertical) I want Left-> Right
> > > > (horizontal). So each new piece of data moves to the right instead
of
> > > down.
> > > >
> > > > Tips would be very welcome.
> > > >
> > > > RonB
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
 |
Sixto Luis Santos
|
| Posted: 09/09/2002, 5:57 PM |
|
Hi Rob...
In your grid's template, locate
<!-- BEGIN Row -->
<tr>
<td >{whateverField} </td>
</tr>
<!-- END Row -->
Change it to,
<tr>
<!-- BEGIN Row -->
<td >{whateverField} </td>
<!-- END Row -->
</tr>
And make sure you delete your table's header or you'll end up with a mess.
Or, you can forget about the table completely and just...
<!-- BEGIN Row -->
{whateverField}
<!-- END Row -->
"RonB" <r.borkent@123chello.456nl> wrote in message
news:alf9mp$o0b$1@news.codecharge.com...
> Hi,
>
> My HTML knowledge isn't all that so here's a question:
> How do I specify in wich direction a row should go when data is put in to
> it. Currently I only get top down(vertical) I want Left-> Right
> (horizontal). So each new piece of data moves to the right instead of
down.
>
> Tips would be very welcome.
>
> RonB
>
>
|
|
|
 |
|