I am new to html and css and currently learning using Head first HTML with CSS and XHTML to study.
This book so far is a great book but i am having trouble with one of the examples that they have given. I have gone over this about 10 times and cant see anything wrong with the code but my page just wont change background colour. I am using IE8 and below is the code if someone can tell me waht i am doing wrong.
<title> Starbuzz Coffee </title>
border: 1px dotted gray;
padding: 10px 10px 10px 10px;
<h1> Starbuzz Coffee Beverages </h1>
<h2> House Blend, $1.49 </h2>
A smooth, mild blend of coffees from Mexico, Bolivia and Guatemala.
<h2> Mocha Cafe Latte, $2.35 </h2>
Espresso, steamed milk and chocolate syrup.
<h2> Cappucinno, $1.89 </h2>
A mixture of espresso, steamed milk and foam.
<h2> Chai Tea, $1.85 </h2>
A spicy drink made with black tea, spices, milk and honey.
Any help would be greatly appreciated.
Last edited by Kor; 11-24-2011 at 06:49 AM.
Reason: wrap the code [code][/code]
You must be one of Her Majesty's subject, I presume Unfortunately, at least for you, in almost all the programming languages it is used the American spelling, not the British one.
Same with grey(British)/gray(American), centre(British)/center(American), metre(in British English is the unit)/meter(in British E. is the device for measuring, while in American E. means both the unit and the device)
Thanks for your reply, i kicked my self when i saw the error. Just one more thing, i have also noticed that the gray (not grey) border has not appeared either. Is this another silly mistake i have missed? Not sure why i can't see it.