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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:13:38+00:00 2026-05-11T07:13:38+00:00

I set the border for the table event_calendar tr to be red, it works

  • 0

I set the border for the table event_calendar tr to be red, it works in everything except IE 6 & 7. What is wrong with my CSS?

table#event_calendar tr {     border:1px solid red; }  <div class='content-body'> <table id='event_calendar'>     <tr class='calendarHeader'>         <th><div class='calendarMonthLinks'><a href='http://webdev.herkimer.edu/calendar/2009/03/'>&lt;&lt;</a></div></th>         <th colspan='5'><h1>April 2009</h1></th>         <th><div class='calendarMonthLinks'><a class='calendarMonthLinks' href='http://webdev.herkimer.edu/calendar/2009/05/'>&gt;&gt;</a></div></th>     </tr>     <tr>         <td class='calendarDayHeading'>Sunday</td>         <td class='calendarDayHeading'>Monday</td>         <td class='calendarDayHeading'>Tuesday</td>         <td class='calendarDayHeading'>Wednesday</td>         <td class='calendarDayHeading'>Thursday</td>         <td class='calendarDayHeading'>Friday</td>         <td class='calendarDayHeading'>Saturday</td>     </tr> </table> </div> 
  • 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. 2026-05-11T07:13:39+00:00Added an answer on May 11, 2026 at 7:13 am

    IE does not honor the border property for <tr> tags. However, there are workarounds by putting a top and bottom border around each cell, and using ‘border-collapse: collapse;’ so there’s no space between cells. I will refer to this resource here on the exact method, but it will essentially look like this for you (I haven’t tested it myself, so I’m not sure if this is exactly right, but I think you can riff on it.)

    table#event_calendar {     border-collapse: collapse;     border-right: 1px solid red;     border-left: 1px solid red; }  table#event_calendar td, table#event_calendar th {     border-top: 1px solid red;     border-bottom: 1px solid red; } 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to have a table border (which I can set using css, rather
HTML: <div class=div1> <h2>Set RSVP & Check in</h2> <p> Set RSVP to remind all
How to set table border or table's outside border with some color and size
I want to set border color of field set. I am using class but
How do i set Border properties on a TextBox Control in Winforms so that
How can I set label's border which is dynamically generated (Not from Interface Builder)?
I've tried to set the margin and border to 0,but still not working. <style
I would like to remove border on a gtk.Button and also set its size
In my test, I have 2 spans both set to display:inline-block with a border
Set content of table ... ViewState[Table1] = Table1; // When remove this line, table

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.