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 890907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:48:28+00:00 2026-05-15T13:48:28+00:00

The CSS below beautifully places the table styled by commentecho 250 pixels below the

  • 0

The CSS below beautifully places the table styled by commentecho 250 pixels below the top of the browser window. However, in IE 8, the table starts about 2 pixels below the top of the browser window.

How can I make it do in IE 8 what it does in Chrome?

Thanks in advance,

John

table.commentecho {
    margin-top: 250px;
    margin-left: 30px;
    text-align: left;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 14px;
    color: #000000;
    width: 600px;
    table-layout:fixed;
    background-color: #FFFFFF;
    border: 2px #FFFFFF;
    border-collapse: collapse;
    border-spacing: 2px;
    padding: 1px;
    text-decoration: none;
    vertical-align: text-bottom;    
    margin-bottom: 30px;

}

table.commentecho td {
   border: 2px solid #fff;  
   text-align: left; 
   height: 18px;
   overflow:hidden;

}

table.commentecho td a{
   padding: 2px;
   color: #3399CC;
   text-decoration: none;
   font-weight:bold;
   overflow:hidden;
   height: 18px;
}

table.commentecho td a:hover{
   background-color: #3399CC;
   padding: 2px;
   color: #FFFFFF;
   text-decoration: none;
   font-weight:bold;
   overflow:hidden;
   height: 18px;
}   

EDIT: Here is an example of rendered HTML:

    <table class="samplesrec">
<tr>
<td class="sitename1"><a href="http://www.zipps-sportscafe.com" TARGET="_blank">Where to go if You're Not Trying to Lose Weight</a>  <div class="dispurl">zipps-sportscafe.com</div></td></tr><tr><td class="sitename2name">Submitted by <a href="http://www.domain.com/sample/members/index.php?profile=johnjohn2">johnjohn2</a> on June 16, 2010 &nbsp &nbsp 9:56 am</td>
</tr>
<tr>
<td class="sitename2"><a href="http://www.domain.com/sample/comments/index.php?submissionid=58">4 comments</a></td>
</tr>
</table>


<table class="commentecho">
<tr>
<td rowspan="3" class="commentnamecount">1.</td>
<td class="commentname2"><a href="http://www.domain.com/sample/members/index.php?profile=johnjohn2">johnjohn2</a></td>

<td rowspan="3" class="commentname1">Talk about fatty food...</td></tr><tr><td class="commentname2">June 16, 2010</td></tr>

<tr><td class="commentname2a">9:56 am</td></tr><tr><td rowspan="3" class="commentnamecount">2.</td><td class="commentname2"><a href="http://www.domain.com/sample/members/index.php?profile=johnjohn2">johnjohn2</a></td>

<td rowspan="3" class="commentname1">Okay, but you have to admit, it's pretty tasty.  Wash it all down with a Coke.  Can't beat a stomach full of grease and a caffeine buzz / sugar rush.  </td></tr>

<tr><td class="commentname2">June 16, 2010</td></tr>

<tr><td class="commentname2a">9:58 am</td></tr>

<tr><td rowspan="3" class="commentnamecount">3.</td><td class="commentname2"><a href="http://www.domain.com/sample/members/index.php?profile=johnjohn2">johnjohn2</a></td><td rowspan="3" class="commentname1">They slather the mayo onto their sandwiches.  But hey, sometimes it's okay to indulge.  </td></tr>

<tr><td class="commentname2">June 16, 2010</td></tr><tr><td class="commentname2a">2:25 pm</td></tr>

<tr><td rowspan="3" class="commentnamecount">4.</td><td class="commentname2"><a href="http://www.domain.com/sample/members/index.php?profile=johnjohn2">johnjohn2</a></td><td rowspan="3" class="commentname1">Hmm...</td></tr>

<tr><td class="commentname2">June 18, 2010</td></tr><tr><td class="commentname2a">3:07 pm</td></tr></table>
  • 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-05-15T13:48:29+00:00Added an answer on May 15, 2026 at 1:48 pm

    Quickest way would be to add a css class conditionally for IE8 and any of the other ie 8 browsers.

    <!--[if IE 8]>    
    <style type="text\css">
    .IE8tableFix
    {
    //a quick css hack to fix the table
    }
    </style>
    <![endif]-->
    

    you could do something like the above or output a specific link to a css style sheet for any version of ie you like.

    here is a good link http://www.quirksmode.org/css/condcom.html to conditional comments in ie

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

Sidebar

Related Questions

The CSS code below creates a rectangle of variable width, always 250 pixels from
I am trying to create a CSS theme switcher button like below. The top
The CSS below positions a rectangle 639 pixels from the left side of the
Is there a reason my below CSS only half works? div.share { position:relative; top:
Hi mine css class is as below for table records table.tblBaseTblData{ margin:0px; padding:0px; *margin-left:10px;
I have the css below: span label[for=Length] { width: 90px; display: block; text-align:right; margin-top:
I have html and css as below - .title { display: block; background-color: red;
I have two CSS tranistions as below (they both cover the page and then
I have 2 css files in my page: Site.css jquery-ui.css Site.css is listed BELOW
how we can create a diagonal heading line with pure CSS like mentioned below

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.