Attached File(s)
-
index.html (764bytes)
Number of downloads: 330
|
|
|||
Giving Starbuzz Coffee some style
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)
1 Reply
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 |
|||
|