SitePoint Sponsor

User Tag List

Results 1 to 11 of 11

Thread: CSS Question

  1. #1
    SitePoint Wizard jumpthru's Avatar
    Join Date
    Apr 2000
    Location
    Los Angeles, California
    Posts
    1,008
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Question

    I am new to CSS and had some questions about this test page I made at http://www.jumpthru.com/css/

    I copied the code from the style sheet to the bottom of that page.

    1) How come the middle word "testing" inhereted the color green, and the font verdana, but not the size of the others.

    2) How come none of them are blinking?

    Thanks.

  2. #2
    .net install meltdown
    Join Date
    May 2001
    Location
    View Ridge
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    jumpthru,

    Try specifying the font attributes to specific elements instead of in the body:

    p,td,li
    {
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10pt;
    text-decoration:blink;
    color: #00FF00
    }

  3. #3
    SitePoint Member
    Join Date
    Jul 2001
    Location
    Ireland
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi
    go to
    www. bradsoft.com/topstyle
    download it
    and all your css worries will disappear

    Foxy

  4. #4
    SitePoint Wizard jumpthru's Avatar
    Join Date
    Apr 2000
    Location
    Los Angeles, California
    Posts
    1,008
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by isotope235
    jumpthru,

    Try specifying the font attributes to specific elements instead of in the body:

    p,td,li
    {
    font-family:Verdana, Arial, Helvetica, sans-serif;
    font-size:10pt;
    text-decoration:blink;
    color: #00FF00
    }
    I thought that might be the problem. But I just figured TD and the others would inherit the properties from the body tag.

    And I have topstyle...getting it wont help answer my question on why those words didn't inherit the properties.

  5. #5
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Inheritance just doesn't work that way, disappointing as it may be.

  6. #6
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try using an ID instead of a class.

    Sketch
    Aaron Brazell
    Technosailor



  7. #7
    SitePoint Wizard jumpthru's Avatar
    Join Date
    Apr 2000
    Location
    Los Angeles, California
    Posts
    1,008
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I cant even get the blink css function to work at all even when specifically stating in the document to make it blink. arg.

  8. #8
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I remember correctly, blink does not work in IE.

  9. #9
    SitePoint Wizard jumpthru's Avatar
    Join Date
    Apr 2000
    Location
    Los Angeles, California
    Posts
    1,008
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Reaaallly.

  10. #10
    SitePoint Guru
    Join Date
    Sep 1999
    Location
    Singapore
    Posts
    854
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, but it does work in Netscape.

  11. #11
    SitePoint Wizard jumpthru's Avatar
    Join Date
    Apr 2000
    Location
    Los Angeles, California
    Posts
    1,008
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Reaaallly.

    I forget netscape invented the blink tag.

    It was probably smart for IE not to support it. It sure is annoying.

    But still, youd think IE did it just to keep up with the times...

    Oh well, I dont care, I never use it, and now that I think about I never see sites that do (thank god). Makes me mad I would pick a tag not supported for testing purposes.

    Maybe IE used to have it then dropped it? I dunno.


Bookmarks

Posting Permissions

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