Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9121605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:54:01+00:00 2026-06-17T05:54:01+00:00

This is pretty weird, a mail I received has the following definitions for the

  • 0

This is pretty weird, a mail I received has the following definitions for the css:

<style type="text/css">
...NL-default {
    font-family: "Arial";
    font-size: 12px;
    color: #000000;
}
...style1 {
    font-family: "Arial";
    font-size: 12px;
    color: #0000FF;
}
...style4 {
    text-align: center;
    background-color: #F3F3F3;
    font-family: "Arial";
    font-size: 12px;
    color: #000000;
}
...style7 {
    text-align: center;
    color: #FFFFFF;
    background-color: #000080;
    font-family: "Arial";
    font-size: 12px;
    font-weight: bold;
}
...style14 {
    font-family: "Arial";
    font-size: 14px;
    color: #FF3300;
    font-weight: bold;
}

Basically all styles have triple periods in front of them.

And it’s applied in a matter like so:

    <table style="width: 100%;" class="style41" cellSpacing="1" cellPadding="3">

        <tbody><tr>
            <td style="width: 233px;" class="style34" strong=""><strong>Notification</strong></td>

I believe most peoples’ first intuition might be.. this won’t work and you’d be right. On Chrome, Firefox and IE9, the CSS isn’t applied to the mail body at all.

However, on IE8, it gets applied perfectly which bewilders me quite a bit. What’s the purpose of putting triple periods in front of your CSS definitions? Why does this work only on IE8?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T05:54:02+00:00Added an answer on June 17, 2026 at 5:54 am

    IE is known to treat leading dots in class selectors as a regular class selector, much like it treats multiple class selectors as only the last in the chain, in quirks mode.

    That said… this seems like a really ugly hack. I’m not even sure that it was intended as an IE hack, because the code doesn’t look like it was intended only for IE to use. In that case, I don’t know what the real purpose is of adding leading periods to the mail styles like that.

    Also, I’m not sure why the code wouldn’t work in IE9, not even in quirks mode. The following test case definitely makes the text red in all IE versions up to and including 9:

    <html>
      <head>
        <style type="text/css">
        ...foo {
            color: #FF0000;
        }
        </style>
      </head>
      <body>
        <p class="foo">This text should not be red.</p>
      </body>
    </html>
    

    As you may have guessed, this isn’t valid CSS. That’s why it doesn’t work in other browsers, not even in their quirks modes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, this is pretty weird... Here's the page in question: http://s289116086.onlinehome.us/lawjournaltv/index.php The main blue
This is a (to me) pretty weird problem, because it was already running perfectly
Something pretty weird is happening with my app: I have the following property in
This is pretty weird. I have my Profiler open and it obviously shows that
Okay, this is pretty weird. I made an app that listens for changes inside
This is a pretty weird error bust basically I just moved my app from
This is pretty weird. I have my public key added at host machine. I
I'm facing a pretty weird construct. The Foo type returned in an IEnumerable loses
I found this pretty weird thing when I first installed SQL Server 2008, for
I'm having a pretty weird problem with PHP and MySQL. I'm doing the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.