css error in opera and chrome
css error in opera and chrome
Ivan1986
Posts: 3Questions: 0Answers: 0
When the table is already half of the container, it crawls to the left
Can be fix by:
[code]
diff --git a/public_html/tables/css/demo_table.css b/public_html/tables/css/demo_table.css
index e6b4d31..89d0afa 100644
--- a/public_html/tables/css/demo_table.css
+++ b/public_html/tables/css/demo_table.css
@@ -60,8 +60,8 @@
}
.dataTables_filter {
- width: 50%;
- float: right;
+ position:relative;
+ right:0;
text-align: right;
}
[/code]
Can be fix by:
[code]
diff --git a/public_html/tables/css/demo_table.css b/public_html/tables/css/demo_table.css
index e6b4d31..89d0afa 100644
--- a/public_html/tables/css/demo_table.css
+++ b/public_html/tables/css/demo_table.css
@@ -60,8 +60,8 @@
}
.dataTables_filter {
- width: 50%;
- float: right;
+ position:relative;
+ right:0;
text-align: right;
}
[/code]
This discussion has been closed.
Replies
[code]
@@ -55,8 +55,10 @@
}
.dataTables_length {
+ position: relative;
width: 40%;
float: left;
+ z-index: 1;
}
.dataTables_filter {
[/code]