Results 1 to 8 of 8

Thread: not all css working for me

  1. #1
    Join Date
    Jun 2003

    not all css working for me

    i've found during my tinkering w/ css that not everything i get out of a reference works.

    take changing link attributes for example:
    i have the following in a css file that all my pages reference

    a:link { color: blue; }
    a:visited { color: red; }
    a:hover { color: green; }
    a:active { color: yellow; }

    but it doesn't seem to work. i gave up on that part of the style.

    my next project is to make a class that creates blinking text, so i add this to the css:

    .tblink { text-decoration: blink; }

    and then i make text like this:

    <p class="tblink">This text should blink!!</p>

    but still nothing, so finally i ask for help. anything would help, i'm beginning to think my problem is between the keyboard and the chair...

    Last edited by leprkn; 07-11-2003 at 09:44 AM.

  2. #2
    Join Date
    Nov 2002
    Baltimore, Maryland
    Run you page through the HTML validator at http://validator.w3.org/ and when you have no errors run it through http://jigsaw.w3.org/css-validator/ then get back to us.
    “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

  3. #3
    Join Date
    Feb 2003
    Wales, UK
    On microsoft's reference site you will find;

    This property currently has no visible effect because "blink" is not currently implemented as a possible value of the textDecoration property
    In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
    "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.

    Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research

  4. #4
    Join Date
    Jun 2003

    well that's dumb

    it that is the case, then why would a css reference say that that option is available in IE4 and up?

  5. #5
    Join Date
    Jun 2003
    and why is it that

    a:link { color: #00FF00 }
    a:visited { color: #32CD32 }
    a:hover { color: #999999 }
    a:active { color: #FFFF00 }

    only works when you put it in an html page and not when its in an external style sheet?

  6. #6
    Join Date
    Feb 2003
    Wales, UK
    If you show us the page...

    Is it refered to correctly?

    (post your code or a link!!)

    and the answer to your other question is 'who knows?' It's also blinking stupid!!
    In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
    "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.

    Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research

  7. #7
    Join Date
    Nov 2002
    If the reference you used was what you you used for the page linked in your profile, I suggest getting rid of that reference. I have no idea what you where trying to do, but it was far from what you needed. Here's a rework of your code on the first page. I took out the <object> tag for now because I didn't feel like screwing around trying to validate it when the <object> tag isn't something I really know how to work with just yet.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <title>I Didn't Do it.net</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" title="Default" media="screen" href="styles.css" type="text/css">
    <div id="header">
    <img border="0" width="296px" height="65px" src="image001.gif" alt="Ididntdoit.net">
    <div id="menu">
    <a href="anotherchapter/anotherchapter.htm">[ Another Chapter ]</a>
    <a href="hockey/msrhl.htm">[ Hockey ]</a>
    <a href="flash/Flash%20Page.htm">[ Flash Animations ]</a>
    <a href="qotd.html">[ Quote of the Day ]</a>
    <a href="RDWeb">[ Terminal Services ]</a>
    <a href="mailto:ryan@ididntdoit.net?subject=Your Site Rocks...Well, at least it doesn't suck...">[ E-mail Me ]</a>
    <h3>what's new...</h3>
    still nothing new -- except for what you're reading -- i was digging around some old e-mails and found this glossary of words that women use and what they mean. i decided to see how accurate it was and compared it to conversations i have with my girlfriend...it's scary how accurate the original author is...<a href="wordswomenuse.htm">Words Women Use</a>
    <a href="qotd.html">Quote of the Day</a> is up and running, I just don't update very often. <a href="mailto:ryan@ididntdoit.net?subject=Quote Submission">Submit Quotes...</a>
    I added streaming media to my server. -- <a href="http://www.ididntdoit.net/radio">listen here</a> -- -- <a href="http://www.ididntdoit.net:8000">see what's playing</a> --
    The Server requires NullSoft's Winamp MP3 player to listen to the music. If you don't have the program installed,&nbsp; you can obtain a copy by <a target="_blank" href="http://www.winamp.com/download/;$sessionid$EWCHJAT55TF5Y5YAAAARCZY">following this link...</a>
    I've heard that RealPlayer will work also but can't make you any guarantees since I haven't tested it, I can't stand that software. My advice? get the <a href="http://www.winamp.com/download/;$sessionid$EWCHJAT55TF5Y5YAAAARCZY">Winamp player</a>
    <em>I have no legal disclaimer only that music is distributed for listening purposes only. Some songs do include lyrics which aren't suitable for young ears. Parental guidance is suggested.</em>
    <h3>Still to come...</h3>
    <p>don't really like this layout...ideas?</p>

    Here's the CSS you put in a file named styles.css that's in the same directory as your HTML file is in.

    a { color:#0066CC; text-decoration:none; }
    a:hover { color:#D9F103; }
    body { background-color:#FF9933; }
    em { text-decoration:underline; }
    #header { text-align:center; }
    #menu { text-align:center; }

  8. #8
    Join Date
    Jun 2003
    well, i'm sorry that you went through all that trouble because that's not the page, nor the site, that i'm working on.

    i've since solved my problem, it was a typo in the linking of the stylesheet.

    thanks to all for your help

    ps the blinking text still doesn't work

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.16914 seconds
  • Memory Usage 2,919KB
  • 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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)headinclude_bottom
  • (8)memberaction_dropdown
  • (1)navbar
  • (4)navbar_link
  • (1)navbar_moderation
  • (1)navbar_noticebit
  • (1)navbar_tabs
  • (2)option
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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