Click to See Complete Forum and Search --> : Color but no tags?


Rugbee
04-11-2003, 08:53 PM
Dose anybody know how to make words in color?
I was at the other site and it only gives out the numbers, it doesn’t give out the flag to put in front and back

:(

jeffmott
04-11-2003, 09:07 PM
<span style="color: blue; font-size: 12px">foo</span>
flagIt's actually called a tag.

Rugbee
04-12-2003, 08:39 PM
code:--------------------------------------------------------------------------------<span style="color: blue; font-size: 12px">foo</span>--------------------------------------------------------------------------------

code:
<span style="color:blue;frontsize:12px">foo</span>
Testing 123 testing 123

Nightowl
04-12-2003, 10:33 PM
Is that code just for this forum?:confused:

Rugbee
04-13-2003, 03:24 AM
No, I asked how to make letters and words colored, but the above code didn’t work

David Harrison
04-13-2003, 10:24 AM
<font face="times new roman" size="5" color="#ffff00">Your Text Or Numbers Here</font>

jeffmott
04-13-2003, 01:05 PM
<span style="color:blue;frontsize:12px">foo</span>
Testing 123 testing 123
You missed the hyphen in font-size and your "Testing 123" text is outside the enclosing tags.

jeffmott
04-13-2003, 01:14 PM
<font face="times new roman" size="5" color="#ffff00">Your Text Or Numbers Here</font>The font element is deprecated (and has been for the past 3 1/2 years) and shouldn't be used. Style sheets offer far more control with far less work.

David Harrison
04-13-2003, 01:41 PM
It still works so I still use it, when it stops working I won't use it anymore.
Also I don't know any css yet.

Nevermore
04-13-2003, 01:45 PM
CSS is very easy - I'm sure you could learn it in a weekend. Also, if you continue to make webpages with deprecated tags, when they do stop working then you will have to do a lot of work.

Rugbee
04-13-2003, 08:41 PM
<font face="times new roman" size="5" color="#ffff00">Your Text Or Numbers Here</font> COLOR TESTING 123 COLOR TESTING 123

Rugbee
04-13-2003, 08:43 PM
<B><I> BOLD TEST 123 BOLD TEST 123</B></I>

jeffmott
04-13-2003, 10:15 PM
HTML tags should be tested is an HTML page, not a forum. If you want to change the font of your text in the forum, you can read how in the FAQ (http://forums.webdeveloper.com/misc.php?s=&action=faq&page=3#HTML).

David Harrison
04-14-2003, 01:11 PM
Hey cijori, I thought that css was another complete language like jscript.

If it isn't then I suppose that's good because there's less to learn but unfortunately I don't know how to learn it, it took me 2 or 3 years just to learn html, (and I still don't know it all), because I had to have a look at various different sites and then get practise using it. I've only learned as much jscript as I have recently because of the forum next door.

Nevermore
04-14-2003, 01:52 PM
Originally posted by lavalamp Hey cijori, I thought that css was another complete language like jscript.

It is, but it is a very simple language because there are not many new 'tags'. The basis is, you use the <style> tag to declare you're using css, then use the tag name, ID or class of the element followed by a pair of curly braces, surrounding it's attributes. e.g.

<style>
p { font-color:red}
#hello {text-align:right}
.boo {border-width:10px}
</style>

would make all text enclosed in <p> tags red, the element with ID "hello" align to the right, and the element with class name "boo" have a border 10 pixels thick.

nkaisare
04-14-2003, 03:37 PM
Originally posted by lavalamp
Hey cijori, I thought that css was another complete language like jscript.
Yes and no. Its not a language. But there is a lot to learn and you could spend a long time to master it. But to make decent personal websites, it shouldn't take more than a week or two.

Try the tutorial at http://www.w3schools.com/css/default.asp
They have some 70 examples. At 10 examples a day, it should take you a week. And a few more weeks to try on your html pages.