Stuck on "Tables- Styling with CSS"


#1

[https://www.codecademy.com/courses/learn-html-tables/lessons/tables/exercises/table-css?action=lesson_resume&course_redirect=learn-html]
It says: You can use CSS to style tables just like you have done in the past.
However, this is the first time the course says anything about CSS. Is there something I’m missing?
Just using common sense, I changed the value to 18 px everyplace it says “font size”. But that doesn’t seem to have worked.


#2

The two courses didn’t use to be separate of one another, and now they are. It looks like this will be your first lesson in Cascading Style Sheets.

As I recall, the only selector rule that gets 18px font size is th, td.

Briefly,

selector {
    /* comment */
    /*
        this is the declaration block
        of the selector rule
    */
    property :colon value ;semi-colon  /* property declaration */
}

Locate the selector rule that looks like,

th, td {

}

The property to insert is,

font-size: 18px;

#3

Thanks mtf, that helps.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.