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

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

                              <a href="http://www.syw2l.org">http://www.syw2l.org</a>
             Free
                              - All external links are provided only as an illustration
                              of what can be done. The author and publisher of this
                              material assume no responsibility
                              for the content of the external sites.</small></p>
                         </footer>
                    </body>
                </html>
             eBook


               /* centerimagetext.css - Centering */

               body {
               }       font-family: Tahoma, Verdanda, Arial, sans-serif;
             Edition
               .centertext {
                       /* cener text within a block using text-align */
                       text-align: center;
               }
               .centerimg {
                       /* make the image display like a block and
            Please support this work at
                        * then add margins to the sides */
                       display: block;
                       margin: 0px auto;
               }
               footer {           http://syw2l.org
                       font-size: x-small;
                                                                               Free
                       border-top: 2px solid black;
               }







                                                                   eBook








                                                                Edition







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