Html Help
Hi, i'm beginner, i've created a table and i'm using style for attributes
Into the third row, I need to change color of first text row (in this case
this is "Modello:TR30/2-160 TOP 1000 CNC")
How can i do this using class ?
Thanks
my code:
<style type="text/css">
table, td, th{border:1px solid #EEE;border-collapse:collapse}
td,th{padding:3px 5px}
td{font-family: Verdana; font-size: 70%; text-align:left}
th{font-family: Verdana; font-size: 80%; text-align:center}
</style>
<table cellspacing="1" cellpadding="1" width="300" border="1">
<tbody>
<tr>
<th>TUBO - MACCHINA TOP 1000</th>
</tr>
<tr>
<td><a href="#LiveContent[tmt1000]"><img height="256" alt="Clicca
per vedere il Filmato" src="/Portals/6/flv/tmt1000.jpg" width="320"
border="0"></a></td>
</tr>
<tr>
<td>
Modello:TR30/2-160 TOP 1000 CNC<br>
Materiale lavorato: tubo in acciaio<br>
Diametri min.-max. lavorabili: da 3 a 32 mm<br>
Lunghezze min.-max. lavorabili: da 10 a 160 mm<br>
Operazioni eseguite: taglio, sfacciatura, smussatura
</td>
</tr>
</tbody>
</table>
Re: Html Help
Gazing into my crystal ball I observed "Mauro" <sviluppo [at] ashnet.it>
writing in news:476a73b8$0$10622$4fafbaef [at] reader2.news.tin.it:
> Hi, i'm beginner, i've created a table and i'm using style for
> attributes Into the third row, I need to change color of first text
> row (in this case this is "Modello:TR30/2-160 TOP 1000 CNC")
> How can i do this using class ?
>
You need to use some semantics. If Modello:TR30/2 is a heading, then mark
it up as such. You can then style the heading any way you want.
--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Re: Html Help
Well bust mah britches and call me cheeky, on Thu, 20 Dec 2007 13:52:58
GMT Mauro scribed:
> Hi, i'm beginner, i've created a table and i'm using style for
> attributes Into the third row, I need to change color of first text
> row (in this case this is "Modello:TR30/2-160 TOP 1000 CNC")
> How can i do this using class ?
>
> Thanks
>
> my code:
>
> <style type="text/css">
> table, td, th{border:1px solid #EEE;border-collapse:collapse}
> td,th{padding:3px 5px}
> td{font-family: Verdana; font-size: 70%; text-align:left}
> th{font-family: Verdana; font-size: 80%; text-align:center}
>
> </style>
>
>
> <table cellspacing="1" cellpadding="1" width="300" border="1">
> <tbody>
> <tr>
> <th>TUBO - MACCHINA TOP 1000</th>
> </tr>
> <tr>
> <td><a href="#LiveContent[tmt1000]"><img height="256"
> alt="Clicca
> per vedere il Filmato" src="/Portals/6/flv/tmt1000.jpg" width="320"
> border="0"></a></td>
> </tr>
> <tr>
> <td>
> Modello:TR30/2-160 TOP 1000 CNC<br>
> Materiale lavorato: tubo in acciaio<br>
> Diametri min.-max. lavorabili: da 3 a 32 mm<br>
> Lunghezze min.-max. lavorabili: da 10 a 160 mm<br>
> Operazioni eseguite: taglio, sfacciatura, smussatura
> </td>
> </tr>
> </tbody>
> </table>
<td>
<div class="fst">Modello:TR30/2-160 TOP 1000 CNC</div>
Materiale lavorato: tubo in acciaio<br>
....in style section:
..fst {
background:inherit;color:#8090a0;
}
--
Bone Ur
Cavemen have formidable pheromones.
Re: Html Help
>
> You need to use some semantics. If Modello:TR30/2 is a heading, then mark
> it up as such. You can then style the heading any way you want.
>
can you show me by example...
many thanks
Mauro
Re: Html Help
> <div class="fst">Modello:TR30/2-160 TOP 1000 CNC</div>
> Materiale lavorato: tubo in acciaio<br>
>
> ...in style section:
>
> .fst {
> background:inherit;color:#8090a0;
> }
>
> --
> Bone Ur
> Cavemen have formidable pheromones.
Many thanks, i've understood
Best regards
Mauro