<h1><strong><span class="blue">Storage Solutions </span></strong></h1>
Can anyone tell me what i am doing wrong, when i preview this it stays black and the text doesnt turn blue
Thanks
<h1><strong><span class="blue">Storage Solutions </span></strong></h1>
Can anyone tell me what i am doing wrong, when i preview this it stays black and the text doesnt turn blue
Thanks
Make sure your css code looks like this:
Good luck!Code:.blue { color: blue; }
You could also write it like this
<h1><strong><font color="#0000FF">Storage Solutions </font></strong></h1>
but it would be better to do set it up in the css.
Name it according to its position in on the page, ie. header, sides, footer, ect.
___________________________________
Still working on it!
If you wanted to do inline styles do
Code:<span style='color:blue'>Contents</span>
you probably only need half of those tags as well.
.blue {
color:blue;
font-weight:bold;
}
<h1 class="blue">Storage Solutions</h1>
or
<h1 style="color:blue; font-weight:bold;>Storage Solutions</h1>
Note: 'blue' is not a good choice of class name. Identifiers should be semantic, not visual.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Hi djohno,
Try this code
<h1><strong><font color="#0000FF">Storage Solutions </font></strong></h1>
Have a nice day !
Don't do that, please. The <font> element has been deprecated since HTML3.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks