such problem with firefox.
<td height="10" style="border:1px solid #990000;"> </td>
gives red line border, but I need height 10, with it doens’t stand height 10, without it firefox doesn’t show the red line.
anyone one a way?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Make sure your table does not have the CSS
empty-cells:hide;applied to it. You can apply the direct opposite value inline (opposite isshow), but this is the default value so unless you’re setting it tohidein some page-level CSS, this should not even be necessary.Another CSS item that can affect empty table cells is
border-collapse. Ensure that you are not setting it tocollapse. The default isseparate, again you can either ensure that no page-level CSS changes this style, or you can explicitly add it to the table inline.http://jsfiddle.net/yHrhu/
In fact, using the non-breaking space (
) may cause the cell to be larger than the specified 10px, since the space will be of the same font size as any text in the element. If you are using any font size that is larger than 10px, the cell would be bigger than intended.