Stuck at style that head


#1

still get the error

even though the change happened


Stuck at style and head
#2

attributes are separated by spaces, no need to have the semi-colon after red", if you do want a semi-colon, put it like this: red;", now you can multiple style property's + values (font-size: 16px for example)


#3

still the same error


#4

could you copy paste your code to the forum, so i could run it?


#5




<body>

    <table style="border-collapse:collapse;">
        <thead>
            <tr>
                <th style="color:red;" colspan="2">Famous Monsters by Birth Year</th>
            </tr>
            <tr style="border-bottom:1px solid black;">
                <th style="padding:5px;"><em>Famous Monster</em></th>
                <th style="padding:5px;border-left:1px solid black;"><em>Birth Year</em></th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td style="padding:5px;">King Kong</td>
                <td style="padding:5px;border-left:1px solid black;">1933</td>     
            </tr>

            <tr>
                <td style="padding:5px;">Dracula</td>
                <td style="padding:5px;border-left:1px solid black;">1897</td>
            </tr>

            <tr>
                <td style="padding:5px;">Bride of Frankenstein</td>
                <td style="padding:5px;border-left:1px solid black;">1944</td>
            </tr>
        </tbody>
    </table>

</body>


#6

code works fine, i think because of the many attempts, your browser might be sending cached data, try a different browser which gives you a new connection


#7

thanks i was going crazy over this.... i just refreshed the page .... thanks again