Lesson 11

Using a text editor and the HTML file and style sheet you created in chapter 4 of this lesson as a guide, try creating a text box with the following attributes:
 

     
  • Positioned on the left side of the page;
     
  • 300 pixels wide;
     
  • 150 pixels tall;
     
  • Silver background color;
     
  • Black text color;
     
  • 2-pixel wide blue dashed borders on all four sides;
     
  • 7 pixels of padding between the text and borders.
     

Feel free to create a class name of your own choosing as you build the HTML file and style sheet required to produce the text box described above.

You are also free to format your text as you see fit, and type anything you want inside and/or outside of the box.

When you finish, save your work as "cssbox2.html" and view the page you created with your browser. If you see a box that matches the description above, congratulations! You've successfully completed the assignment. If not, please come visit us in the lesson 11 discussion area for help.
 

Click HERE for Claudia's Results

Back to Studies Home