ascalon Posted August 18, 2009 Report Share 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 Quote Link to comment Share on other sites More sharing options...
falkencreative Posted August 18, 2009 Report Share Posted August 18, 2009 In this example, you have an extra, unnecessary ">": class="makeBold">... it should be: ... Quote Link to comment Share on other sites More sharing options...
ascalon Posted August 18, 2009 Author Report Share Posted August 18, 2009 Yes, sorry typing default in this post. I have that right in my index.html page. still no change. Quote Link to comment Share on other sites More sharing options...
Andrea Posted August 18, 2009 Report Share 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. Quote Link to comment Share on other sites More sharing options...
administrator Posted August 18, 2009 Report Share 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 Quote Link to comment Share on other sites More sharing options...
ascalon Posted August 19, 2009 Author Report Share Posted August 19, 2009 yes, thank you, now it works (I haven't listened to the last 2 instruction videos yet). Now I have. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.