The background image for TR wryly rendered in Safari?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
Asked the background for table rows this way:
table tr {
background: url(derevo.png) bottom repeat-x;
}



Firefox, Opera shows normally the background for the table rows monolithic:
Snymok_ekrana_2010-11-02_v_10.27.48.png


And Safari Chrome c rendered background separately for each table cell, why not become visible joints:
Snymok_ekrana_2010-11-02_v_10.28.07.png


Apparently, this is due to the laziness of the developers of game engines — because the rows of tables are visualized rarely is

the temptation uretiti himself the task, by talking only about the rendering of cells. A quick search on Google showed that the problem is long-standing and widely known, even IE this ill, or at least can survive with a small and valid Kostelka.


This can zaborot staff or better to look for cunning and crooked decisions?
by | 3 views

3 Answers

0 like 0 dislike
Itself asked — itself answered: make the rows and table cells to forget that they have to behave like a table.
\r
tr {display: block;}
td {display: inline-block; background: transparent;}
\r
After small adjustments in size (cells fell in a heap), everything falls into place.
by
0 like 0 dislike
But if
\r
table tbody { background: url(derevo.png) repeat-x repeat-y; }

?
by
0 like 0 dislike
The same thing occurs if you set the background for the tbody. At the time, was not able to solve it. Had to redo the logic of the table so as not to use a background for the tr and tbody.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
27,383 users