Results 1 to 9 of 9

Thread: removing line from links

  1. #1
    Join Date
    Feb 2003

    Unhappy removing line from links

    The blonde is going crazy!!
    I can't remember the code to remove the underline from a link.

    Can any of yoooous? Please and thank yooous!!

    (hey!! I'm a poet and I didn't know it!!)


  2. #2
    Join Date
    Jan 2003
    Place this in the head of the document. (this will remove all link underlines)


    <style type="text/css">

    a {text-decoration:none}



    This is an inline method. (will affect only the said link)


    <a href="my_url" style="text-decoration: none">my link</a>


  3. #3
    Join Date
    Feb 2003
    ahhhh HAAA!!! - Right....
    Text decoration!!! (wack to the head!!)

    I knew I knew it.

    Thanks Cyco

  4. #4
    Join Date
    Jan 2003
    Jersey Girl
    jo (blonde to the bone) -

    for those times when you want to have a little more control over the
    appearance of your links (instead of default decoration or no decoration):

    a:link {
    color:#0000ff; text-decoration: none;
    a:visited {
    color:#cc0000; text-decoration: none;
    a:hover {
    color:#663366; text-decoration: underline;
    a:active {
    color:#009900; text-decoration: underline;

    mix and match. whatever. you can do a lot of other formatting as well
    (bold, size, etc) but I am only showing link color and underline on or off here.

    ... just in case you might need it.

    (edited to indicate the proper order)
    Last edited by khaki; 02-13-2003 at 01:46 PM.

  5. #5
    Join Date
    Nov 2002
    Baltimore, Maryland
    Except that the order should be link, visited, hover, active.
    Note that the A:hover must be placed after the A:link and A:visited rules, since otherwise the cascading rules will hide the 'color' property of the A:hover rule. Similarly, because A:active is placed after A:hover, the active color ... will apply when the user both activates and hovers over the A element.
    See http://www.w3.org/TR/REC-CSS2/select...pseudo-classes.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  6. #6
    Join Date
    Jan 2003
    Jersey Girl
    nice catch charles.

    i probably had it in the right order way-back-when (sometime after diapers) and i've been cutting and copying and pasting from my self-created style template ever since.

    however, i didn't know that there was supposed to be an exact order, so i guess i better go clean up my mess.

    i appreciate the link. good info (as always).

    sometimes out of order (lol)

  7. #7
    Join Date
    Feb 2003
    Hey thanks guys, you are all so brillant!!!

    Khaki, is that really your eye?

    Charles, I never fail to be amazed at how much proper protocol, order and what not there is to all this coding. I am the ultimate novice.

    I'm almost finished my home page... just can't wait to get it up so I can ask you guys to disect it from stem to stern!!!

    Eeeekkkkkk.... no doubt I'll give you all night mares!!!


  8. #8
    Join Date
    Jan 2003
    Jersey Girl
    i fixed the order in my previous post - just in case anybody comes by, spots it, and nabs it before reading charle's response.
    i don't want to be responsible for anyone having to do what i am now doing - flipping through pages looking for "the mixup".

    looking forward to jo's home page (hey jo, can i get a sneak peek?).

    ... and yes. that's my eye (but i'll probably put something different up for valentine's day).

    currently accepting valentines...

  9. #9
    Join Date
    Nov 2002
    Originally posted by khaki
    i probably had it in the right order way-back-when (sometime after diapers) and i've been cutting and copying and pasting from my self-created style template ever since.
    Don't beat your self up on thatone. Incorrect orders on links is one of the most widespread errors in wannabe CSS guides, the most prominent of which is W3Cschools...

    Just goes to show, never trust information not directly from the Spec, because all humans makes mistakes, but at least the specs have been read & reread and turned upside down and reda again by the most knowledgeble persons in the area and thus is likely to not have many errors (remember to check the spec erratas though )
    // Stefan Huszics

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.10673 seconds
  • Memory Usage 2,918KB
  • Queries Executed 13 (?)
More Information
Template Usage (33):
  • (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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (9)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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 (70):
  • 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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • memberaction_dropdown
  • 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