Jump to content

Giving Starbuzz Coffee some style

29 All The Time's Photo
Posted Nov 16 2010 01:18 PM
2858 Views

I have done this lesson 5 times and made sure that the HTML text and the CSS that has been added are correct. I save it to my index.html and then go on my browser (Internet Explorer) to view it and it is the same as the original that had no CSS added to it. There is no color, no indentation, no border, nothing - just the plain text as it was in the first lesson. What could I possibly be doing wrong? Please help.

Attached File(s)

  • Attached File  index.html (764bytes)
    Number of downloads: 330


Tags:
1 Subscribe


1 Reply

+ 2
  dakegra's Photo
Posted Nov 17 2010 06:50 AM

Hi there

The problem is with your style, the body elements in the <style> section need to be enclosed in curly brackets, like this:

body {
background-color: #d2b48c;
margin-left: 20%;
margin-right: 20%;
border: 1px dotted gray;
padding: 10px 10px 10px 10px;
font-family: sans-serif;
}

rather than the regular brackets ( )

Dave
~~
Dave
www.dakegra.net
www.twitter.com/dakegra