Followed tutorial & am lost
I'm totally new to CSS and right now just as lost.
I followed this youtube tutorial:
and as far as I am aware, my style sheet and my html index look just like they look in the video. Still, I don't get the desired output. The header works, and the leftnav is colored, but apart from that, nothing happens.
my style sheet:
border-bottom: 2px solid #000000;
border-right: 1xp dashed #694717;
border-left: 1xp dashed #694717;
my html index:
<link href="style.css" rel="stylesheet" type="text/css">
I would be overjoyed if somebody could help me out here. I use firefox, btw, if that helps.
You are missing the closing bracket on these two css statements:
Fairly dumb of me.
Thanks a lot, also for the helpful link!
You're welcome. I might add that that tutorial is deficient in that there is no doctype specified on the page - without this IE in particular is quite likely to misbehave. You should have a doctype at the very top of your html:
Be careful of youtube videos. As SB said about the doctype, some of those videos are either incomplete or just flat out wrong. You should go to some respected coding sites for good tutotials such as w3schools or w3c.org
There are also some very good books out there relatively inexpensive that has step by step tutorials along with downloadable excercise files to work through. HTML and XHTML New perspectives 5th edition is a very good book.
|All times are GMT +1. The time now is 04:16 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.