Questions tagged [cellpadding]

Cellpadding is HTML padding, as specific to table cells.

Cellpadding is HTML padding, as specific to table cells.

The term 'cellpadding' goes back to the now-obsolete cellpadding attribute that was used to control this feature in older versions of HTML. This technique is now deprecated, and use of CSS to control layout is preferred. Therefore, one should use the CSS padding property rather than the cellpadding attribute.

A detailed discussion of how to achieve cellpadding and cellspacing using modern CSS can be found here: Set cellpadding and cellspacing in CSS?

58 questions
0
votes
1 answer

Dynamic number of dots for cell-padding via CSS?

I'm interested in reproducing a table which uses dots to pad cell contents. Note that this is not text-overflow with an ellipses because the dots are not truncating content, they are just filling things up. And I understand :before with the…
Brett Zamir
  • 14,034
  • 6
  • 54
  • 77
0
votes
1 answer

HTML/CSS Box Sizing or Padding Issues for Responsive Pricing Table - Can't Find Parent Settings - Live Example - Newbie :-)

On a site I am building, I imported a responsive CSS pricing table. Its great and works well but there seems to be a 40px padding on the left margin so the bottom border doesn't go across the whole table in the feature section. I've tweaked the…
0
votes
2 answers

Text Wrapping Under the Image

Although it is a very simple error but I am unable to solve it. Please check the following link. http://inimitablesystems.com/demos/interactin/interactin Under the slider you will find "BUSINESS ESTABLISHMENT" Area. It has an image icon and the text…
Omicans
  • 531
  • 1
  • 8
  • 26
0
votes
1 answer

Decrease padding in a GridView in JQuery mobile

I have a table where in each row there are 4 columns, the columns that I would like to occupy all the space in the row and that did not have such a wide margin. What to do? The result that I got is this: This is the code:
Ortensia C.
  • 4,666
  • 11
  • 43
  • 70
0
votes
1 answer

mathml on iOS -- mtable row spacing

This is driving me crazy. I need spacing between the rows of my mtable elements. For now, I am content to get it in the html; once I have that working, I'll try to move it to CSS. Here are some things I am trying. In each case, I've set the…
William Jockusch
  • 26,513
  • 49
  • 182
  • 323
0
votes
2 answers

Unwanted row space in TABLE

I have a table which contains a segmented picture. Picture is segmented due to adding mouse over effect on some parts of picture. Although the stand-alone version is OK, when integrated to WordPress as a side bar HTML code, becomes messy…
Xaqron
  • 29,931
  • 42
  • 140
  • 205
0
votes
2 answers

How to add padding to the top and bottom cell of a dynamically generated table?

I have a dynamically generated table i.e. the contents of it's cells are drawn from a database and each row is created depending on how many rows are in the database. Each cell has a rounded border and padding, say of 2px. The effect I want is…
user1063287
  • 10,265
  • 25
  • 122
  • 218
0
votes
1 answer

TOAD SQL - LPAD Number, but also add decimals?

Basically what I'm trying to do is add '000' to a number (between 5-8 characters in length) and make the whole numbers have decimals. What I came up with is: SELECT DISTINCT '000' || TO_CHAR(Blah, '9,999,999.99') AS "Data" FROM Blah…
user1475816
  • 33
  • 1
  • 2
  • 5
-1
votes
2 answers

Table cells lose spacing when inside div

I'm building a web app using HTML & SVG, and I've run into a weird problem with tables. When I move my table into a particular div, all the cells lose their spacing. This is my expected result: This is what I actually get: To achieve the expected…
Perry Monschau
  • 883
  • 8
  • 22
-1
votes
1 answer

How to remove cell padding in table

I'm building betting application using angular 12. I have problem utilizing space in cells. Namely there is a lot of cell padding that wastes space.
Vladimir99
  • 65
  • 7
-1
votes
1 answer

Mystery Padding..?

I recently designed and finished 2 newsletters; but when I went back to make a quick change (add a background color to the outside of the container) I realized that there is some mystery padding between the content and the background color, what I'm…
Austin Biggs
  • 179
  • 1
  • 13
-2
votes
1 answer

Remove unwanted whitespace in html4 table using HTML5

I created a Halloween ecard many years ago - HTML 4.01 - https://www.bethanyec.co.uk/HauntedHouse_web.html. It was basically a table with image slices from Photoshop. When I try to upgrade the code to HTML 5 I am unable to suppress extra, unwanted,…
Gvee
  • 1
  • 1
-4
votes
4 answers

Why isn't my padding working? (HTML & CSS)

On my website, I have created a sidebar. However, I want a padding of 40px between the content in the sidebar and the border of the sidebar. I have tried this but for some reason, it didn't work. What's going on? My code: .sidebar { padding:…
1 2 3
4