Jump to content
Killersites Forums

@ span tags


ascalon
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...