Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Html Help

Reply
Thread Tools

Html Help

 
 
Mauro
Guest
Posts: n/a
 
      12-20-2007
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>



 
Reply With Quote
 
 
 
 
Adrienne Boswell
Guest
Posts: n/a
 
      12-20-2007
Gazing into my crystal ball I observed "Mauro" <(E-Mail Removed)>
writing in news:476a73b8$0$10622$(E-Mail Removed) :

> 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

 
Reply With Quote
 
 
 
 
Bone Ur
Guest
Posts: n/a
 
      12-20-2007
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.
 
Reply With Quote
 
Mauro
Guest
Posts: n/a
 
      12-20-2007
>
> 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

 
Reply With Quote
 
Mauro
Guest
Posts: n/a
 
      12-20-2007
> <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
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox html, my downloaded html and firebug html different? Adam Akhtar Ruby 9 08-16-2008 07:55 PM
Need help with HTML coding for Index.html background image James O'Riley HTML 4 05-05-2006 02:28 AM
Help on HTML server control vs HTML control =?Utf-8?B?c2VyZ2UgY2FsZGVyYXJh?= ASP .Net 5 09-15-2005 07:51 PM
Need help appending html code to many html files. Tom HTML 7 09-08-2004 11:55 PM
help! javascript inline of an HTML to open an HTML in a target window Lucy Javascript 6 01-01-2004 07:07 PM



Advertisments