Hallo,
leider hab ich Probleme mit CSS. :/
Bei mir wird es im IE und Opera richtig angezeigt, aber nicht im FF. Wie markiert fehlt eine Borderline im bottom des Caption-Bereichs. Das eigendliche Problem ist aber, dass das(?) Caption beim FF um ein Pixel nach rechts einrückt. Wenn ich border-left:-1px; setze, dann wird es bei FF korrekt angezeigt aber in den anderen Browsern net.
Kann mir bitte Jemand helfen? :)
Hier der Code der HTML-File:
Der CSS-Code:
Screenshots:
Firefox 3.5.7
Internet Explorer 8.0.7600
Opera 10.10
leider hab ich Probleme mit CSS. :/
Bei mir wird es im IE und Opera richtig angezeigt, aber nicht im FF. Wie markiert fehlt eine Borderline im bottom des Caption-Bereichs. Das eigendliche Problem ist aber, dass das(?) Caption beim FF um ein Pixel nach rechts einrückt. Wenn ich border-left:-1px; setze, dann wird es bei FF korrekt angezeigt aber in den anderen Browsern net.
Kann mir bitte Jemand helfen? :)
Hier der Code der HTML-File:
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="de">
<head>
<title>ThorCP - F1Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link href="../styles/gsv_grey/admin/css/contend.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../js/main.js"></script>
</head>
<body>
<p class="hfont">F1Title</p>
<hr>
<br>
<form name="form1" id="form1" method="POST" action="[MessageBox]">
<table class="stdtable">
<caption>Formular Uno</caption>
<tr>
<td colspan="2" class="stdtable_clr">
Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1 Label1
</td>
</tr>
<tr>
<th>
Input
</th>
<td align="left">
<input type="text" name="name" id="name" value="Value" size="35">
</td>
</tr>
</table>
</form>
</body>
</html>
PHP:
body,p,ul,ol,li,address,blockquote,nobr,th,td,tr,table,caption {
/*font-family:Tahoma,Verdana,Arial Narrow,Helvetica,Arial;*/
font-family: "Franklin Gothic Medium", Helvetica, Verdana, Arial, sans-serif;
font-size: 14px;
SCROLLBAR-FACE-COLOR: #eaeff3;
SCROLLBAR-HIGHLIGHT-COLOR: #eaeff3;
SCROLLBAR-SHADOW-COLOR: black;
SCROLLBAR-ARROW-COLOR: black;
SCROLLBAR-BASE-COLOR: #eaeff3;
scrollbar-3d-light-color: #296e95;
scrollbar-dark-shadow-color: #000000;
background-color: transparent;
border-collapse: collapse;
border-color: #aaaaaa;
border-width: 1px;
border-style: none;
padding: 0px;
vertical-align: top;
}
div {
/*float:right;*/
display:inline;
}
body {
margin-top:5;
/*background-color: #E0E0E0;*/
background-color: #fefefe;
}
th {
font-weight: normal;
text-decoration: none;
}
hr {
background-color: #cccccc;
color: #aaaaaa;
height: 1px;
border-style: none;
padding: 0;
/*border-bottom-color:#cccccc;
border-bottom-width:1px;
border-bottom-style:solid;*/
}
input,select {
border-style: solid;
border-width: 1px;
border-color: #aaaaaa;
background-color: #e3e3e3;
padding: 1px;
margin-top: 2px;
margin-bottom: 2px;
font-family: Tahoma, Verdana, Arial Narrow, Helvetica, sans-serif, Arial;
font-size:12px;
color: #000000;
}
button[disabled]:active, button[disabled],
input[type="reset"][disabled]:active,
input[type="reset"][disabled],
input[type="button"][disabled]:active,
input[type="button"][disabled],
select[disabled] > input[type="button"],
select[disabled] > input[type="button"]:active,
input[type="submit"][disabled]:active,
input[type="submit"][disabled] {
color: GrayText;
}
/*button[disabled]:active, button[disabled],
input[type="reset"][disabled]:active,
input[type="reset"][disabled],
input[type="button"][disabled]:active,
input[type="button"][disabled],
select[disabled] > input[type="button"],
select[disabled] > input[type="button"]:active,
input[type="submit"][disabled]:active,
input[type="submit"][disabled] {
padding: 0px 6px 0px 6px;
border: 2px outset ButtonFace;
color: GrayText;
cursor: inherit;
}*/
p {
padding:0;
position: relative;
margin-bottom: 10px;
}
A, TD, TH {
text-decoration: none;
/*color:#222C8A;*/
color: #000000;
/*font-weight:bold;*/
}
A {
text-decoration: none;
}
A:hover {
text-decoration: underline;
}
A:active {
text-decoration: underline;
}
A:visited {
text-decoration: none;
}
PRE {
text-decoration: none;
color: #000000;
font-size: 10pt;
}
:link IMG, :visited IMG {
border: #000000 1px hidden;
}
:link hover IMG {
moz-border: 1px dashed #000000;
}
:hover IMG {
border: black 1px dashed;
}
:active IMG {
border: black 1px dashed;
}
:hover IMG {
moz-border: 1px dashed black;
}
/*Start*/
.stdtable {
padding: 3px;
/*vertical-align: middle;*/
}
.stdtable table {
width: 400px;
table-layout: fixed;
}
.stdtable caption {
border-style: solid;
border-bottom: none;
/*vertical-align: middle;*/
background: url(../img/header_bg.gif);
background-repeat: repeat-x;
background-position: top;
margin: 0px;
margin-left:0px;
padding: 2px;
padding-left: 4px;
padding-right: 4px;
text-align: left;
font-weight: bold;
table-layout: fixed;
}
.stdtable th, td {
border-style: solid;
padding-left: 4px;
padding-right: 4px;
text-align: left;
vertical-align: middle;
table-layout: fixed;
width: 50%;
}
.stdtable th {
color: #444444;
}
.stdtable IMG {
vertical-align: middle;
}
.stdtable_clr {
background-color: #e3e3e3;
}
.stdtable_submit {
text-align: right;
vertical-align: middle;
padding: 1px;
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
width: 100%;
}
.stdtable_submit IMG {
border-style: none;
vertical-align: top;
padding-top: 2px;
}
#lowinfo {
color: #444444;
}
#stdtable_name {
color: red;
/*color: #444444;*/
/*font-family:Tahoma,Verdana,Arial Narrow,Helvetica,Arial;
font-size:14px;*/
/*font-family: "Franklin Gothic Medium", Verdana, Geneva, Arial, Helvetica, sans-serif;
font-family: Courier, mono;*/
}
#info_text {
font-size: 12px;
color: darkgrey;
}
#required_star {
color: red;
}
#txtbutn_back, #txtbutn_back A, #txtbutn_back A:hover, #txtbutn_back A:active, #txtbutn_back A:visited {
color: darkgrey;
}
#txtbutn_back A:hover, #txtbutn_back A:active {
text-decoration: underline;
}
.blanktable_tbl {
background-color: transparent;
border-style: none;
border-width: 0px;
padding: 0px;
padding-top: 3px;
padding-right: 0px;
padding-left: 0px;
}
.blanktable_tbl td, .blanktable_tbl th {
background: url(../img/blank.gif);
text-decoration: none;
padding-right: 0px;
padding-left: 0px;
}
.blanktable, .blanktable2, .blanktable3 {
background-color: transparent;
border-style: none;
border-width: 0px;
padding: 0px;
margin: 0px;
table-layout: fixed;
vertical-align: middle;
width: 100%;
}
.blanktable table, .blanktable2 table, .blanktable3 table {
width: 100%;
table-layout: fixed;
}
.blanktable td, .blanktable th, .blanktable2 td, .blanktable2 th, .blanktable3 td, .blanktable3 th {
background-color: transparent;
background: url(../img/blank.gif);
text-decoration: none;
padding: 0px;
margin: 0px;
vertical-align: middle;
table-layout: fixed;
}
.blanktable td, .blanktable th, .blanktable3 td, .blanktable3 th {
width: 50%;
}
.blanktable2 th {
width: 80%;
}
.blanktable2 td {
width: 20%;
}
.blanktable th {
text-align: left;
font-weight: normal;
}
.blanktable td {
text-align: right;
}
.hfont {
font-size: 20pt;
font-family: Tahoma, Verdana, Arial Narrow, Helvetica, sans-serif, Arial;
}
Firefox 3.5.7

Internet Explorer 8.0.7600

Opera 10.10
