Permalink
Browse files

Исправление для % колонок в ie6/7 fix #2

  • Loading branch information...
1 parent 8e3ca80 commit e2ca8268017b70e04961734adef3be4c26e167ca @agat committed Apr 24, 2012
Showing with 8 additions and 11 deletions.
  1. +4 −6 css/framework.css
  2. +4 −5 less/f-columns.less
View
@@ -221,16 +221,15 @@ section {
.lt-ie8 .f-column {
padding: 0;
}
-.lt-ie8 .f-column {
+.lt-ie8 .f-column > * {
margin-left: 10px;
}
-.lt-ie8 .f-column:first-child {
+.lt-ie8 .f-column:first-child > * {
margin-right: 10px;
margin-left: 0;
}
-.lt-ie8 .f-col-4 .f-column,
-.lt-ie8 .f-col-3 .f-column .f-column {
- width: 47%;
+.lt-ie8 .f-column .f-column {
+ margin: 0;
}
body {
font: normal 13px / 18px Arial, 'Helvetica Neue', Helvetica, sans-serif;
@@ -365,7 +364,6 @@ pre {
-o-tab-size: 4;
tab-size: 4;
white-space: pre-wrap;
- white-space: pre;
word-wrap: break-word;
}
code,
View
@@ -31,14 +31,13 @@
.f-column {
padding: 0;
}
- .f-column > {
+ .f-column > * {
margin-left: @grid_gutter_width/2;
}
- .f-column:first-child > {
+ .f-column:first-child > * {
margin-right: @grid_gutter_width/2; margin-left: 0;
}
- .f-col-4 .f-column,
- .f-col-3 .f-column .f-column {
- width: 47%;
+ .f-column .f-column {
+ margin: 0;
}
}

0 comments on commit e2ca826

Please sign in to comment.