Html Help

M

Mauro

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>
 
A

Adrienne Boswell

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.
 
B

Bone Ur

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;
}
 
M

Mauro

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top