Tabelle
Christian
- html
Hi, ich möchte mit einer Tabelle einen Schatteneffekt erzeugen. Unten habe ich eine lösung von mir eingefügt allerdings glaube ich nicht das dies bei allen Browsern funktioniert. Habe z.Z. nur IE installiert könnt ihr den Code vielleicht mal mit einem anderen Browser testen?
<html>
<head>
<title>500 Internal Server Error</title>
<style type="text/css">
body { font-family:verdana; }
table.error404 { border:2px solid red;font-size:12px }
span.error_nr { font-size:24px; color:red; }
span.error_head { font-size:18px; }
span.error_text { font-size:14px; }
span.error_link { font-size:12px; }
</style>
</head>
<body bgcolor="#F3F2F2" link="#12B409" alink="#12B409" vlink="#12B409">
<table width="100%" height="100%">
<tr>
<td align="center" valign="middle">
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td colspan="2" rowspan="2">
<table width="600" class="error404" cellpadding="20">
<tr>
<td>
<span class="error_nr">
<b>500 Internal Server Error</b>
</span>
</td>
</tr>
<tr>
<td>
<span class="error_head">
There is an internal server error on the site you are trying to contact.
</span>
<p></p>
<span class="error_text">
Unfortunately, there's nothing you can do other than contact the site administrator.<p></p>
</span>
</td>
</tr>
</table>
</td>
<td style="width:7px;"></td>
</tr>
<tr>
<td bgcolor="#CCC7C7" style="height:15px;"></td>
</tr>
<tr>
<td style="height:7px;"></td>
<td bgcolor="#CCC7C7" style="width:36px;"></td>
<td bgcolor="#CCC7C7"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
Hallo Christian,
Hi, ich möchte mit einer Tabelle einen Schatteneffekt erzeugen. Unten habe ich eine lösung von mir eingefügt allerdings glaube ich nicht das dies bei allen Browsern funktioniert.
naja, als Schatteneffekt würde ich das jetzt nicht bezeichen - ich sehe nur einen Text der auf der rechten Seite und teilweise unten einen grauen Balken hat (Opera7.03).
Habe z.Z. nur IE installiert könnt ihr den Code vielleicht mal mit einem anderen Browser testen?
dann installier dir doch noch andere (das wirst du früher oder später sowieso machen müssen, wenn du html-Seiten schreibst):
Opera: http://www.opera.com/download/
Mozilla: http://mozilla.org/
Grüße aus Nürnberg
Tobias
Hi!
Der HTML-Check von webmasterplan sagt folgendes:
1: <html>
2: <head>
3: <title>500 Internal Server Error</title>
4:
5: <style type="text/css">
6: body { font-family:verdana; }
7: table.error404 { border:2px solid red;font-size:12px }
8:
9: span.error_nr { font-size:24px; color:red; }
10: span.error_head { font-size:18px; }
11: span.error_text { font-size:14px; }
12: span.error_link { font-size:12px; }
13:
14: </style>
15: </head>
16: <body bgcolor="#F3F2F2" link="#12B409" alink="#12B409" vlink="#12B409">
--Tip: should set all or none of BGCOLOR, TEXT, LINK, ALINK, VLINK attributes on BODY element
17: <table width="100%" height="100%">
--Fehler: illegal value for HEIGHT attribute of TABLE (100%)
18: <tr>
19: <td align="center" valign="middle">
20:
21: <table align="center" cellspacing="0" cellpadding="0" border="0">
22: <tr>
23: <td colspan="2" rowspan="2">
24:
25: <table width="600" class="error404" cellpadding="20">
26: <tr>
27: <td>
28: <span class="error_nr">
29: <b>500 Internal Server Error</b>
30: </span>
31:
32: </td>
33: </tr>
34: <tr>
35: <td>
36: <span class="error_head">
37: There is an internal server error on the site you are trying to contact.
38: </span>
39: <p></p>
--Warnung: empty container element <P>.
40:
41: <span class="error_text">
42: Unfortunately, there's nothing you can do other than contact the site administrator.<p></p>
--Warnung: empty container element <P>.
43: </span>
44:
45: </td>
46: </tr>
47: </table>
48:
49: </td>
50: <td style="width:7px;"></td>
51: </tr>
52:
53: <tr>
54: <td bgcolor="#CCC7C7" style="height:15px;"></td>
55: </tr>
56:
57: <tr>
58: <td style="height:7px;"></td>
59: <td bgcolor="#CCC7C7" style="width:36px;"></td>
60: <td bgcolor="#CCC7C7"></td>
61: </tr>
62:
63: </table>
64:
65:
66:
67: </td>
68: </tr>
69: </table>
70:
71: </body>
72: </html>
jo? ;-)
Marc Reichelt || http://www.marcreichelt.de/