mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/9220] Remove margin on table.table1 so it's centered in the blue box.
The problem here was, that we use width: 100% in combination with the negative margin. This causes the element to be just moved to the side, so it's not centered anymore. width: auto would fix this, but it causes strange behaviour on IE and looks even more ugly. So I decided to just remove the margin at all. The border is now 1px thicker for all sides. PHPBB3-9220
This commit is contained in:
@@ -418,7 +418,19 @@ table.info tbody th {
|
||||
}
|
||||
|
||||
.forumbg table.table1 {
|
||||
margin: 0 -2px -1px -1px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.forumbg-table > .inner {
|
||||
margin: 0 -1px;
|
||||
}
|
||||
|
||||
.forumbg-table > .inner > span.corners-top {
|
||||
margin: 0 -4px -1px -4px;
|
||||
}
|
||||
|
||||
.forumbg-table > .inner > span.corners-bottom {
|
||||
margin: -1px -4px 0 -4px;
|
||||
}
|
||||
|
||||
/* Misc layout styles
|
||||
|
@@ -87,10 +87,6 @@ dl.icon {
|
||||
float: none;
|
||||
}
|
||||
|
||||
* html .forumbg table.table1 {
|
||||
margin: 0 -2px 0px -1px;
|
||||
}
|
||||
|
||||
/* Headerbar height fix for IE7 and below */
|
||||
* html #site-description p {
|
||||
margin-bottom: 1.0em;
|
||||
|
Reference in New Issue
Block a user