A
A
Alexey Alyushenko2015-10-12 18:21:14
css
Alexey Alyushenko, 2015-10-12 18:21:14

Why is css not being applied?

Hello, such a problem:
2 landings with the same blocks
<table><tr><td></td></tr></table>
Both use the same css file, in which
td{display:block;}
But through the google code inspector you can see that both have the display:block property, but through the Computed tab, one block, and another table-cell?
What could be the problem and how to fix it?
oh yes, the error seems to be only in Chromium, tk. yandex and chrome with an error, ie and mozilla are fine

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Ineshin, 2015-10-12
@IonDen

In general, it is a vicious practice to set table cells display: blockwith , it is better to use divs with display: table-cell, so the behavior will be more predictable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question