Blackeye
09-13-2011, 03:01 PM
Hej!
I've got a little problem with some border styling. I want a border-bottom and a border-top on a table row. In IE 6, IE 7 and IE 8 there is no border. It works in all other browsers.
Here is my css:
.switchcontentZi {
border-top: 1px solid black !important;
border-bottom: 1px solid black !important;
}
And here is my HTML-Construct:
<table class="medium" width="720">
<tr id="room1" class="switchcontentZi" style="display: block;">
<tr id="room2" class="switchcontentZi" style="display: block;">
<tr id="room3" class="switchcontentZi" style="display: block;">
<tr id="room4" class="switchcontentZi" style="display: block;">
<tr id="room5" class="switchcontentZi" style="display: block;">
</table>
I've already searched in this forum and via google and found some hints that the "display: block" could be the problem. But I couldn't solve this problem.
Can someone help me and fix this problem?
Blackeye
I've got a little problem with some border styling. I want a border-bottom and a border-top on a table row. In IE 6, IE 7 and IE 8 there is no border. It works in all other browsers.
Here is my css:
.switchcontentZi {
border-top: 1px solid black !important;
border-bottom: 1px solid black !important;
}
And here is my HTML-Construct:
<table class="medium" width="720">
<tr id="room1" class="switchcontentZi" style="display: block;">
<tr id="room2" class="switchcontentZi" style="display: block;">
<tr id="room3" class="switchcontentZi" style="display: block;">
<tr id="room4" class="switchcontentZi" style="display: block;">
<tr id="room5" class="switchcontentZi" style="display: block;">
</table>
I've already searched in this forum and via google and found some hints that the "display: block" could be the problem. But I couldn't solve this problem.
Can someone help me and fix this problem?
Blackeye