css-tables Questions

7

Solved

I want to set a minimum height for tbody in CSS, even if no <tr><td></td></tr> in tbody, here is my code: tbody{ height: 500px; min-height:500px; } but it doesn't work....
Isomerous asked 20/3, 2013 at 9:6

3

Solved

I have a project which requires a table that includes both fixed-width and flexible-width columns. Some of the columns need to be 80px in width always, no matter what the width of the browser. Th...
Clavier asked 10/8, 2011 at 23:6

2

Solved

I recently discovered the CSS code to have supported browsers print <thead> blocks at the top of each page (using display: table-header-group; in @media print {}). This greatly simplifies the...
Epigoni asked 7/8, 2012 at 15:18

7

Solved

I have applied CSS border-bottom:1px dashed #494949; on several consecutive cells of a single row of an HTML table, but the border is not uniform. The dashes at the end of each cell appear little l...
Waadt asked 20/3, 2012 at 12:41

4

The following simple snippet results in a single web page that takes up the available screen space with a header at the top, a footer at the bottom, and the main content taking up as much space as ...
Sonnie asked 2/1, 2017 at 4:53

8

Solved

I normally use CSS rules for margin:0 auto along with a 960 container for my standard browser based content, but I'm new to HTML email creation and I've got the following design that I'd like to no...
Purr asked 18/5, 2010 at 13:40

13

How can I create a table that has its first row and first column both locked, as in Excel, when you activate 'freeze panes'? I need the table to both scroll horizontally and vertically (a lot of so...
Piacular asked 17/11, 2008 at 16:17

3

Solved

How to make this table loading overlay for tbody height only: table.loading { position: relative; } table.loading:after { position: absolute; top: 0; left: 0; right: 0; bottom: 0; backgroun...
Nightfall asked 4/8, 2016 at 17:10

4

Solved

I'm trying to specify a fixed width for a few columns in a jQuery datatable. I've attempted to accomplish this via the column definitions specified in the datatables documentation, but the column a...
Endogen asked 7/9, 2014 at 2:22

1

Solved

Is it possible to set column widths with markdown tables in Rmarkdown? When the text in column 2 gets long the table goes to an equal split between cols 1 and 2. I reviewed answers to what seems li...
Prototrophic asked 19/7, 2020 at 15:20

6

Solved

I'm trying to style a table so that each row is a different colour (odd/even). I have the following CSS: #woo tr:nth-child(even) td { background-color: #f0f9ff; } #woo tr:nth-child(odd) td { ba...
Inlet asked 2/6, 2011 at 21:26

3

Solved

I have a dynamic table that I generate after getting some inputs from the user to present some tabular data. I need to know if there is away to assign a fixed height for the cells even if some of t...
Henig asked 25/8, 2011 at 12:36

4

Solved

Does anyone know a vanilla way of making the body of a table scrollable using only html and css? The obvious solution tbody { height: 200px; overflow-y: scroll; } does not work. Wouldnt this...
Movie asked 26/9, 2012 at 8:48

4

Solved

Why does the CSS property overflow:scroll; not work in <td>, while overflow:hidden; works well? <table border="1" style="table-layout:fixed; width:100px"> <tr> <td style="ov...
Osteoclasis asked 31/7, 2009 at 8:27

4

Solved

Using css selector how am i supposed to write a selector so that only table rows that have data display cursor as pointer. I tried below but nope table tbody tr:not(tr>th) is this cross brows...
Routh asked 1/3, 2012 at 7:13

3

Solved

I want to place text at center and at the bottom of the cell in table. How can I do this? This is what I want:
Finite asked 27/4, 2011 at 15:50

3

I have a table with 3 row like below. How can I change the order of row by CSS? Example: Name: A B C Age: 1 2 3 Country: US CA CN And I want it become: Country: US CA CN Name: A B C AGE: 1 2 3 ...
Lepage asked 9/8, 2019 at 22:22

4

Solved

I have a table that sits within a parent div full of body text and other content. I have the following CSS which does not seem to work: table {width:100%; padding: 0 50px 0 50px;} When I use mar...
Marlie asked 18/2, 2014 at 20:2

7

Solved

The outer div have percentage width, and inner div's have display: tabel; width: 100%. The inner div's show 1px less than outer div for some page widths while resizing. This adds an 1px line to th...
Dental asked 30/7, 2015 at 9:10

1

Solved

I was trying to set calendar in table structure but I don't know how to set caption at the top of the table. Also I can't change the table structure. I want it to look like below: .calendar_...
Pottage asked 25/2, 2019 at 9:11

3

Solved

How do I vertically center an hr element? I've tried to place the element in some div elements... <div class="table"> <div class="table-cell"><hr /></div> </div> &l...
Phillipp asked 4/3, 2014 at 2:47

3

Solved

I am trying to build a table which is scrollable in the x and y directions if the content is bigger than the container. I also want the header to always be visible at the top. I've got the first pa...
Telles asked 20/3, 2012 at 17:54

4

Solved

In a project have been involved in I needed to render tables with columns of a specific width with only one HTML line per table row (no wrapping). I need each table cell to have a padding of 1 pixe...
Dagney asked 6/1, 2009 at 12:53

3

Solved

I have a table where in head row there are 2 textareas and 2 buttons. http://jsfiddle.net/8qzmxwa9/1/ I use margin: 0 auto; style='white-space:nowrap;' on elements to make them be in one line. B...
Averse asked 12/9, 2014 at 3:33

5

Let's take 4 table columns - ID, Text, Date, Action. In my case table have always constant width - in example 960px. How can I create such table as : *-*------------------------------------*-----...
Cliquish asked 30/9, 2011 at 16:49

© 2022 - 2024 — McMap. All rights reserved.