Page 74 - Learn To Use HTML and CSS
P. 74

So You Want to Learn to Use HTML and CSS – Version 2020-06-12a                        Page 64
               Chapter 6 — The CSS Box Model: Borders, Margin, and Padding

                       text-align: center;
             Free
               }
               .bright {
                       background-color: yellow;

                       padding: 0px 10px;
               }       color: orange;
             eBook
               .dull {
                       background-color: #e0e0e0;
                       color: #808080;
               }

               footer {
                       border-top: 5px solid blue;
             Edition
               }
               footer small {
                       font-size: 80%;
               }

            Please support this work at




                                  http://syw2l.org



                                                                               Free









                                                                   eBook




                             Illustration 19: CSS with Margins and Padding


                                                                Edition
               Display
               As we discussed previously, Phrasing and Flow elements have specific structural behaviors that



               Copyright 2020 — James M. Reneau PhD — http://www.syw2l.org — This work is
               licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
   69   70   71   72   73   74   75   76   77   78   79