small CSS fixes

This commit is contained in:
Sebastian Mendel
2005-10-13 15:25:06 +00:00
parent a713ed4d80
commit 265bfe861a
2 changed files with 6 additions and 14 deletions

View File

@@ -151,6 +151,7 @@ div#left_tableList ul ul {
/* querybox */
/* Gecko bug */
div[class=formelementrow],
div[id=queryfieldscontainer] {
border: 1px solid transparent;
}
@@ -180,8 +181,9 @@ textarea#sqlquery {
div#queryboxcontainer div#bookmarkoptions {
margin-top: 0.5em;
}
/* end querybox */
fieldset .formelementrow,
fieldset .formelement {
line-height: 2.4em;
float: left;
@@ -190,23 +192,17 @@ fieldset .formelement {
white-space: nowrap;
}
/* revert for Gecko */
fieldset div[class=formelementrow],
fieldset div[class=formelement] {
white-space: normal;
}
/* IE */
fieldset .formelementrow input,
fieldset .formelementrow select,
fieldset .formelement input,
fieldset .formelement select {
margin-top: 0.5em;
margin-bottom: 0.5em;
height: 1.3em;
}
/* revert for Gecko */
fieldset div[class=formelementrow] input,
fieldset div[class=formelementrow] select,
fieldset div[class=formelement] input,
fieldset div[class=formelement] select {
margin-top: auto;
@@ -214,15 +210,10 @@ fieldset div[class=formelement] select {
height: auto;
}
fieldset .formelementrow {
clear: left;
float: none;
#fieldsetexport #exportoptions {
float: left;
}
/* end querybox */
/* Calendar */
table.calendar { width: 100%; }
table.calendar td { text-align: center; }

View File

@@ -136,6 +136,7 @@ foreach($import_list as $key => $val) {
echo '<div class="formelement">' . "\n";
echo PMA_displayMaximumUploadSize($max_upload_size);
echo '</div>' . "\n";
echo '<div class="clearfloat"></div>' . "\n";
echo '</div>' . "\n";
// some browsers should respect this :)
echo PMA_generateHiddenMaxFileSize($max_upload_size) . "\n";