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

  • Home
  • SEARCH
  • 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 6338113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:22:51+00:00 2026-05-24T19:22:51+00:00

I was styling up a server generated table with some CSS (I’m trying to

  • 0

I was styling up a server generated table with some CSS (I’m trying to prove that Telerick controls are overrated, but that’s a different discussion).

Any way, the tables look great in IE8 and Firefox and are styled exactly as I would expect. However, the table looks awful in Chrome. Don’t get me wrong, Chrome is a great browser, and what I usually use; however, it may be lacking in the particular aspect.

So basically what I am asking is: Does Chrome have problems with CSS and tables or am I just poor at CSS (while IE and Firefox correctly anticipated my weakness)?

UPDATE: the problem is that the table (set to width: 100%) is overrunning its parent container which has the border to pretty the whole thing up. Additionally, the pager row at the bottom has it’s border top property set to “dotted”, yet it is solid on one of the columns!?

/*-------------Grid------------*/
table.grid
{
    width: 100%;
}

.grid tr th
{
    background-color: #696969;
    background-image: url('/Images/grid-bg.png');
    color: White;
    height: 20px;
    padding: 3px;
    text-align: left;
}

.grid td, .grid th
{
    border-right: 1px solid white;
}

.grid th a:hover, .grid th a:link
{
    color: White;
    text-decoration: none;
    display:inline-block;
    width: 100%;
    height: 100%;
}

.grid th a:hover
{
    background-color: #696969;
}

.grid tr.even
{
    background-color: #EBF2FC;
}

div.grid
{
    border: 1px solid #5D7FA6;
    padding: 1px 0px 1px 1px;
}

.pager
{
    border-top:  1px dotted #5D7FA6;
}

.data-row
{
    height: 24px;
}

.grid tr.data-row:hover
{
    color:White;
    background-color: #5D7FA6;
}
  • 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-24T19:22:52+00:00Added an answer on May 24, 2026 at 7:22 pm

    It’s still difficult to tell you exactly what to change without seeing a test case.

    However.. try box-sizing: border-box. See: https://developer.mozilla.org/en/CSS/box-sizing

    Add this to something (table.grid? div.grid?):

    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use some CSS styling to hide input buttton, images and so on but
I'm struggling to apply css-styling to a GWT (Google Web Toolkit) generated html table
Is there a nicer way of styling a <hr /> tag using CSS, that
A table row is generated using an asp:Repeater: <asp:repeater ID=announcementsRepeater OnItemDataBound=announcementsRepeater_ItemDataBound runat=Server> <itemtemplate> <tr
I'm in the process of styling an asp.net menu and I'm trying to understand
I need to do some styling to a bunch of webforms, containing articles formatted
I have a few Devexpress aspx controls on a website that look fine on
I'm trying to generate some XML for a jQuery.get (AJAX) call, and I'm getting
If a composite server control normally encapsulate styling information inside, it is an example
Can anyone please help me with this. I am new to css styling. I

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.