Pure CSS layout working with FF. (at least for the webmail)

Trying to make it work with IE6+...
This commit is contained in:
tonio
2010-02-19 18:17:19 +01:00
parent 24f40685c7
commit 9da21cb347
11 changed files with 233 additions and 116 deletions
+14 -5
View File
@@ -3,18 +3,28 @@
{% block html_head %}
<style type="text/css">
#listing {
position: absolute;
left: 155px;
right: 0px;
top: 130px;
height: expression(document.body.clientHeight - 35 + "px");
overflow: auto;
border-top: 1px solid #C8D6E8;
}
html > body #listing {
position: fixed;
bottom: 35px;
}
#navbar {
padding: 0;
margin: 0;
background: white;
height: 25px;
height: 40px;
width: 100%;
text-align: right;
border-top: 1px solid #C8D6E8;
/*border-top: 1px solid #C8D6E8;*/
display: none;
}
#navbar label {
@@ -40,7 +50,6 @@ window.addEvent("domready", function() {
});
}
{% block js %}{% endblock %}
setDivHeight("listing", 0, 25);
});
</script>
{% endblock %}
@@ -48,5 +57,5 @@ window.addEvent("domready", function() {
{% block leftcol %}{% endblock %}
<div id="listing">{{ listing }}</div>
<div class="spacer"></div>
<div id="navbar">{{ navbar }}</div>
<div id="navbar"></div>
{% endblock %}
+13
View File
@@ -0,0 +1,13 @@
<tbody>
{% for row in table.rows %}
<tr id="{{ row.id }}" class="{% cycle 'odd' 'even' %}">
{% for cell in row.cols %}
{% if cell.safe %}
<td width="{{ cell.width }}">{{ cell.value|safe }}</td>
{% else %}
<td width="{{ cell.width }}" class="{{ cell.class }}">{{ cell.value }}</td>
{% endif %}
{% endfor %}
</tr>
{% endfor %}
</tbody>
+10
View File
@@ -0,0 +1,10 @@
<thead>
<tr>
{% for c in table.columns %}
<th id="{{ c.name }}" class="sortable" width="{{ c.width }}">
{{ c|safe }}
<span style="float: right"><img src="" style="display:none" /></span>
</th>
{% endfor %}
</tr>
</thead>
+1
View File
@@ -9,6 +9,7 @@
{% endfor %}
</tr>
</thead>
<tbody>
{% for row in table.rows %}
<tr id="{{ row.id }}" class="{% cycle 'odd' 'even' %}">