Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 72388

How would I reformat this table from HTML to CSS. The td inside the table alternates from italics to bold?

$
0
0
<h3 style="font-family: arial; color: #3333cc;"> BEST PICTURE </h3>


<table style="background-color: FCEEA3; font-family:Palatino Linotype;" ,="" cellpadding="10">
<tbody><tr style="font-size: 18;"><th align="left">Film</th> <th align="left">Producers</th> <th> </th></tr>
<tr style="table-column:10"><td>PARASITE</td> <td>Kwak Sin Ae and Bong Joon Ho, Producers</td> <td style="font-weight:bold"> WINNER </td></tr>
<tr><td>FORD V FERRARI</td> <td>Peter Chernin, Jenno Topping and James Mangold, Producers</td> <td style="font-style:italic"> NOMINEE </td></tr>
<tr><td>THE IRISHMAN</td> <td>Martin Scorsese, Robert De Niro, Jane Rosenthal and Emma Tillinger Koskoff, Producers</td> <td style="font-style:italic"> NOMINEE </td></tr>
<tr><td>JOJO RABBIT</td> <td>Carthew Neal, Taika Waititi and Chelsea Winstanley, Producers</td> <td style="font-style:italic"> NOMINEE </td></tr>
<tr><td>JOKER</td> <td>Todd Phillips, Bradley Cooper and Emma Tillinger Koskoff, Producers</td> <td style="font-style:italic"> NOMINEE </td></tr>
<tr><td>LITTLE WOMEN</td> <td>Amy Pascal, Producer</td> <td style="font-style:italic"> NOMINEE </td></tr>
<tr><td>MARRIAGE STORY</td> <td>Noah Baumbach and David Heyman, Producers</td> <td style="font-style:italic"> NOMINEE </td></tr>
<tr><td>1917</td> <td>Sam Mendes, Pippa Harris, Jayne-Ann Tenggren and Callum McDougall, Producers</td> <td style="font-style:italic"> NOMINEE </td></tr>
<tr><td>ONCE UPON A TIME...IN HOLLYWOOD</td> <td>David Heyman, Shannon McIntosh and Quentin Tarantino, Producers</td> <td style="font-style:italic"> NOMINEE </td></tr>
</tbody></table>

<br>
<br>

https://imgur.com/a/mv8K9xm

As you can see in the highlighted section there are 2 diffrent td styles here

td style="font-weight:bold"

td style="font-style:italic"

Should I just rename the 1st td into a different name? Set that into the html as a different variable that the td style for the italic?


Viewing all articles
Browse latest Browse all 72388

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>