Answer the question
In order to leave comments, you need to log in
CSS: border-radius and first row in table with background?
Hello!
I ran into a problem: you need to make a table with rounded corners and so that the first row of the table is filled with gray. The problem is that when filling the first line, it goes beyond the rounding.
How to arrange / remove the jamb?
I hope I have clearly described the problem.
It turned out to be done in abstruse ways, but a simpler option is needed.
Thank you.
Answer the question
In order to leave comments, you need to log in
make the line border-top-left-radius and border-top-right-radius similar to a table?
With the rounding of tables, complete hemorrhoids, wrap the table in a div and round it, if it still pops out, give overflow: hidden;
I had a similar problem on cellular phones and a search on the net gave a solution - I put a transparent one-pixel gif in the background:
.border
{
border-radius: 5px;
border: 1px solid #749a02;
-webkit-border-radius: 5px;
-op-border-radius: 5px;
-moz-border-radius: 5px;
background: url(/images/blank.gif) repeat-x;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question