ascalon Posted August 18, 2009 Report Posted August 18, 2009 Hi everyone, I am new, and I am trying to use the span-tag in my pages (for instance the class="makeBold">... ), but it would not appear in the actual html-page. I thought it might be my doc but when I change any text in the index.html, it changes the text in the browser, too. Any ideas on this? thanks
falkencreative Posted August 18, 2009 Report Posted August 18, 2009 In this example, you have an extra, unnecessary ">": class="makeBold">... it should be: ...
ascalon Posted August 18, 2009 Author Report Posted August 18, 2009 Yes, sorry typing default in this post. I have that right in my index.html page. still no change.
Andrea Posted August 18, 2009 Report Posted August 18, 2009 Do you have 'makeBold" defined in your CSS? It'll only make your test bold it you put: .makeBold {font-weight: bold;} into your stylesheet. And in general, unless it's for a one-time styling event, inline styles should be avoided - use the external stylesheet.
administrator Posted August 18, 2009 Report Posted August 18, 2009 Just check your CSS code - you've either: 1. made a typo. 2. haven't linked to your css file properly - assuming you used an external style sheet. Stef
ascalon Posted August 19, 2009 Author Report Posted August 19, 2009 yes, thank you, now it works (I haven't listened to the last 2 instruction videos yet). Now I have.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now