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,277
    <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,277
    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,277
    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

"

"

X vBulletin 4.2.2 Debug Information

  • Page Generation 0.16356 seconds
  • Memory Usage 2,997KB
  • Queries Executed 13 (?)
More Information
Template Usage (37):
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_global_above_footer
  • (1)ad_global_below_navbar
  • (1)ad_global_header1
  • (1)ad_global_header2
  • (1)ad_navbar_below
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)ad_thread_first_post_content
  • (1)ad_thread_last_post_content
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (15)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (15)postbit
  • (15)postbit_onlinestatus
  • (15)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available (6):
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files (26):
  • ./showthread.php
  • ./global.php
  • ./includes/class_bootstrap.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/functions_navigation.php
  • ./includes/class_friendly_url.php
  • ./includes/class_hook.php
  • ./includes/class_bootstrap_framework.php
  • ./vb/vb.php
  • ./vb/phrase.php
  • ./includes/functions_facebook.php
  • ./includes/functions_calendar.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_notice.php
  • ./packages/vbattach/attach.php
  • ./vb/types.php
  • ./vb/cache.php
  • ./vb/cache/db.php
  • ./vb/cache/observer/db.php
  • ./vb/cache/observer.php 

Hooks Called (72):
  • init_startup
  • friendlyurl_resolve_class
  • init_startup_session_setup_start
  • database_pre_fetch_array
  • database_post_fetch_array
  • init_startup_session_setup_complete
  • global_bootstrap_init_start
  • global_bootstrap_init_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • load_show_variables
  • load_forum_show_variables
  • global_state_check
  • global_bootstrap_complete
  • global_start
  • style_fetch
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • strip_bbcode
  • friendlyurl_clean_fragment
  • friendlyurl_geturl
  • forumjump
  • cache_templates
  • cache_templates_process
  • template_register_var
  • template_render_output
  • fetch_template_start
  • fetch_template_complete
  • parse_templates
  • fetch_musername
  • notices_check_start
  • notices_noticebit
  • process_templates_complete
  • friendlyurl_redirect_canonical
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • bbcode_parse_start
  • postbit_imicons
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • build_navigation_data
  • build_navigation_array
  • check_navigation_permission
  • process_navigation_links_start
  • process_navigation_links_complete
  • set_navigation_menu_element
  • build_navigation_menudata
  • build_navigation_listdata
  • build_navigation_list
  • set_navigation_tab_main
  • set_navigation_tab_fallback
  • navigation_tab_complete
  • fb_like_button
  • showthread_complete
  • page_templates