CSS - IE issues:(
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: CSS - IE issues:(

  1. #1
    OG Irfaan.com's Avatar
    Join Date
    Jan 2001
    Location
    Canada
    Posts
    162

    CSS - IE issues:(

    The following CSS (specifically the TEXT declarations) works perfectly in Firefox, but when it comes to IE - the arguments are not applied to the text. Any ideas?

    Code:
    <style type="text/css">
    body
    {
    font-family: verdana, arial;
    color: #FFFFFF;
    background-color: #585D73;
    font-size: 12px;
    }
    #stage
    {
    	width: 780px;
    	margin: 0px auto;
    }
    #footer
    {
    text-align: center;
    font-size: 10px;
    }
    #index_login
    {
    text-align: left;
    font-size: 8px;
    }
    #searchform
    {
     display: ;
    }
    
    n
    
    {
    color: #9BCBCF;
    font-size: 14px;
    font-weight: normal;
    }
    
    ans
    
    {
    font-weight: bold;
    }
    
    ll3
    
    {
    color: #B3B3B3;
    }
    
    a
    {
    font-weight: bold;
    color: #949CD9;
    text-decoration: none;
    }
    a:hover
    {
    background-colour: #2F313C;
    }
    
    
    </style>
    Any ideas? Thanks.
    aneurysm

  2. #2
    Member
    Join Date
    Mar 2003
    Location
    Here
    Posts
    63
    Hey Irfaan,

    Try putting the body tag after the style tag.

    You have...



    <style type="text/css">
    body

    .
    .
    .
    .
    .
    </style>

    MAKE IT:

    <style type="text/css">
    .
    .
    .
    .
    .
    .
    </style>
    <body>
    rest of html

    Give that a shot.

  3. #3
    Member
    Join Date
    Mar 2003
    Location
    Here
    Posts
    63
    One more thing,

    For your own defined "tags" (not sure if that's the correct word for it here),

    you didn't put the # to indicate that's a new id, or the . to indicate the class.


    I.E.

    n {
    color: #9BCBCF;
    font-size: 14px;
    font-weight: normal;
    }

    MAKE IT:

    #n {
    color: #9BCBCF;
    font-size: 14px;
    font-weight: normal;
    }

    or

    .n {
    color: #9BCBCF;
    font-size: 14px;
    font-weight: normal;
    }

    Depending if you want to define an id or class. Hope that made sense to you.

  4. #4
    OG Irfaan.com's Avatar
    Join Date
    Jan 2001
    Location
    Canada
    Posts
    162
    Originally posted by VODKA MONKEY
    One more thing,

    For your own defined "tags" (not sure if that's the correct word for it here),

    you didn't put the # to indicate that's a new id, or the . to indicate the class.


    I.E.

    n {
    color: #9BCBCF;
    font-size: 14px;
    font-weight: normal;
    }

    MAKE IT:

    #n {
    color: #9BCBCF;
    font-size: 14px;
    font-weight: normal;
    }

    or

    .n {
    color: #9BCBCF;
    font-size: 14px;
    font-weight: normal;
    }

    Depending if you want to define an id or class. Hope that made sense to you.
    ahhh yes yes i see what you mean. I solved the problem earlier by using my own defined tags under <span> tags so IE would parse it correctly. Ill try your method in the near future. Thanks for your help
    aneurysm

Posting Permissions

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




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com