HighDots Forums  

best way to present "hall of fame"

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss best way to present "hall of fame" in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sebastian Kurt
 
Posts: n/a

Default best way to present "hall of fame" - 09-03-2004 , 10:14 AM






Hi,
I want to present some results of former years of our sports club.
Example: 10.Platz Junioren Buchholz, Gregor
Now I'm thinking of the best way to put it into Tags, that can be reused
and formatted by CSS.

<p class="result">
<span class="rank">10.Platz</span>
<span class="age">Junioren</span>
<span class="name">Buchholz, Gregor</span>
<p>

IMHO this is much code for little data, but I have no idea how to do it
some other way? Do you?

thx Sebastian Kurt

Reply With Quote
  #2  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: best way to present "hall of fame" - 09-03-2004 , 10:24 AM







"Sebastian Kurt" <kurt (AT) inf (DOT) fu-berlin.de> wrote

Quote:
Hi,
I want to present some results of former years of our sports club.
Example: 10.Platz Junioren Buchholz, Gregor
Now I'm thinking of the best way to put it into Tags, that can be reused
and formatted by CSS.

p class="result"
span class="rank">10.Platz</span
span class="age">Junioren</span
span class="name">Buchholz, Gregor</span
p

IMHO this is much code for little data,
It seems that way, but that's just the way it is sometimes. :-) I think this
is all fine--if you really want to use a different style for each kind of
data. If not, then this probably *is* too much code.

Quote:
but I have no idea how to do it
some other way? Do you?

thx Sebastian Kurt


Reply With Quote
  #3  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: best way to present "hall of fame" - 09-03-2004 , 10:50 AM



Sebastian Kurt <kurt (AT) inf (DOT) fu-berlin.de> wrote:

Quote:
I want to present some results of former years of our sports club.
Example: 10.Platz Junioren Buchholz, Gregor
Presumably as _sets_ of such data? That calls for tables.

Quote:
Now I'm thinking of the best way to put it into Tags, that can be
reused and formatted by CSS.

p class="result"
span class="rank">10.Platz</span
span class="age">Junioren</span
span class="name">Buchholz, Gregor</span
p
Doesn't look like a _paragraph_ to me.

But as a row of a table, in the appropriate syntactic context of course,
it makes a lot of sense:

<tr>
<td class="rank">10. Platz</td>
<td class="age">Junioren</td>
<td class="name">Buchholz, Gregor</td>
</tr>

Using class for each <td> is the safest way to ensure that you can style
the table conveniently.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


Reply With Quote
  #4  
Old   
Sebastian Kurt
 
Posts: n/a

Default Re: best way to present "hall of fame" - 09-03-2004 , 11:31 AM



Jukka K. Korpela wrote:
Quote:
Sebastian Kurt <kurt (AT) inf (DOT) fu-berlin.de> wrote:
Presumably as _sets_ of such data? That calls for tables.
but tables are much more overhead... (?)

Quote:
p class="result"
span class="rank">10.Platz</span
span class="age">Junioren</span
span class="name">Buchholz, Gregor</span
p

Doesn't look like a _paragraph_ to me.
why? what makes a _paragraph_?

Quote:
But as a row of a table, in the appropriate syntactic context of course,
it makes a lot of sense:

tr
td class="rank">10. Platz</td
td class="age">Junioren</td
td class="name">Buchholz, Gregor</td
/tr

Using class for each <td> is the safest way to ensure that you can style
the table conveniently.
but using a table seems not making sense because there is often only one
line.

sebastian


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.