dcsimg
www.webdeveloper.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: Color but no tags?

  1. #1
    Join Date
    Apr 2003
    Posts
    6

    Color but no tags?

    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

    Rugbee

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    Code:
    <span style="color: blue; font-size: 12px">foo</span>
    flag
    It's actually called a tag.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  3. #3
    Join Date
    Apr 2003
    Posts
    6
    code:--------------------------------------------------------------------------------<span style="color: blue; font-size: 12px">foo</span>--------------------------------------------------------------------------------

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

  4. #4
    Join Date
    Apr 2003
    Location
    Texas
    Posts
    5
    Is that code just for this forum?

  5. #5
    Join Date
    Apr 2003
    Posts
    6

    Unhappy

    No, I asked how to make letters and words colored, but the above code didnít work
    Rugbee

  6. #6
    Join Date
    Dec 2002
    Location
    Manchester, UK
    Posts
    6,276
    <font face="times new roman" size="5" color="#ffff00">Your Text Or Numbers Here</font>
    Every fight is a food fight when youíre a cannibal.

  7. #7
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    <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.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  8. #8
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    <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.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  9. #9
    Join Date
    Dec 2002
    Location
    Manchester, UK
    Posts
    6,276
    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.
    Every fight is a food fight when youíre a cannibal.

  10. #10
    Join Date
    Feb 2003
    Location
    Britain
    Posts
    1,335
    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.

  11. #11
    Join Date
    Apr 2003
    Posts
    6
    <font face="times new roman" size="5" color="#ffff00">Your Text Or Numbers Here</font> COLOR TESTING 123 COLOR TESTING 123
    Rugbee

  12. #12
    Join Date
    Apr 2003
    Posts
    6
    <B><I> BOLD TEST 123 BOLD TEST 123</B></I>
    Rugbee

  13. #13
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    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.
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  14. #14
    Join Date
    Dec 2002
    Location
    Manchester, UK
    Posts
    6,276
    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.
    Every fight is a food fight when youíre a cannibal.

  15. #15
    Join Date
    Feb 2003
    Location
    Britain
    Posts
    1,335
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles