B
berliner93
Hallo Helden,
ich habe wieder mal ein Problem mit einem Script!
Ich hab es jetzt perfekt für Firefox geschrieben. (also Design)
Hier sind die Code:
common.php
main.css
Ich hoffe ihr könnte helfen. Wie mache ich das Design Kompatible für IE & Firefox?
DANKE!
ich habe wieder mal ein Problem mit einem Script!
Ich hab es jetzt perfekt für Firefox geschrieben. (also Design)
Hier sind die Code:
common.php
PHP:
function counter()
{
$ip = $_SERVER['REMOTE_ADDR'];
$herkunft = $_SERVER['HTTP_REFERER'];
$browser = $_SERVER['HTTP_USER_AGENT'];
$time = time();
$control = $db->query("SELECT * FROM `counter` WHERE ip = '$ip'");
$num = $control->num_rows;
if($num == 0)
{
$db->query("INSERT INTO counter (ip, herkunft, browser, time) VALUES('$ip', '".$db->real_escape_string($herkunft)."', '".$db->real_escape_string($browser)."', '$time')");
}
$abfrage = $db->query("SELECT * FROM `counter`");
$besucher = $abfrage->num_rows;
}
function page_header()
{
$lang = $_GET['lang'];
echo"
[URL='https://finale.freesoft-board.to/geschichte.php']Über uns [/URL]•
[URL='http://forum.feuerwehr-diedersdorf.de/']Forum[/URL] •
[URL='https://finale.freesoft-board.to/impressum.php']Impressum[/URL]
[IMG]https://finale.freesoft-board.to/images/design/banner_jf.gif[/IMG]
[URL='https://finale.freesoft-board.to/index.php']Home[/URL]
[URL='https://finale.freesoft-board.to/aktuell.php']Aktuell[/URL]
[URL='https://finale.freesoft-board.to/termine.php']Termine[/URL]
[URL='https://finale.freesoft-board.to/einsatzabteilung.php']Einsatzabteilung[/URL]
[URL='https://finale.freesoft-board.to/jugendfeuerwehr.php']Jugendfeuerwehr[/URL]
[URL='https://finale.freesoft-board.to/foerderverein.php']Förderverein[/URL]
[URL='https://finale.freesoft-board.to/fahrzeuge.php']Fahrzeuge[/URL]
[URL='https://finale.freesoft-board.to/gallerie.php']Galerie[/URL]
[URL='https://finale.freesoft-board.to/index.php']» Home[/URL]
[URL='https://finale.freesoft-board.to/aktuell.php']» Aktuell[/URL]
[URL='https://finale.freesoft-board.to/termine.php']» Termine[/URL]
[URL='https://finale.freesoft-board.to/einsatzabteilung.php']» Einsatzabteilung[/URL]
[URL='https://finale.freesoft-board.to/jugendfeuerwehr.php']» Jugendfeuerwehr[/URL]
[URL='https://finale.freesoft-board.to/foerderverein.php']» Förderverein[/URL]
[URL='https://finale.freesoft-board.to/fahrzeuge.php']» Fahrzeuge[/URL]
[URL='https://finale.freesoft-board.to/gallerie.php']» Galerie[/URL]
";
}
function page_footer()
{
echo"
Freiwillige Feuerwehr Diedersdorf • Dorfstraße 15i • 15831 Diedersdorf
";
}
?>
Code:
body {
background: #DFC783;
}
/* LINKS*/
a:link { color:#ffffff; text-decoration:none; }
a:hover { color: yellow; text-decoration:underline; }
a:active { color: red; text-decoration:underline; }
/*H3*/
h3 {color: #ffffff;}
/*Bilder*/
img {border: 0px;}
/*Kontakt- & Impressumleiste*/
#header {
width: 735px;
height:20px;
color: #ffffff;
text-align: right;
text-decoration: none;
font-family: Verdana;
font-size: 10px;
margin-left: 15px;
margin-right: 15px;
float: center;
}
.header {
color:#ffffff;
text-decoration: none;
font-family: Verdana;
font-size: 10px;
}
#f_links { color: #ffffff;
text-decoration: none;
text-align:left;
font-family: Verdana;
font-size: 10px;
float: left;
}
#f_rechts { color: #ffffff;
text-decoration: none;
text-align: right;
font-family: Verdana;
font-size: 10px;
float: right;
}
/*Hauptdesign*/
#box{ position: relative; width: 780px; margin: 10px auto; text-align: left;}
/*Banner*/
#banner {
width: 780px;
height: 180px;
}
/*Menü*/
#navi_top {
position: absolute; top: 170px; left: 146px;
width: 780px;
height: 27px;
color: #ffffff;
text-align:center;
}
#menu_top {
display: block;
width: auto;
color:#f7f7f7;
background-color: #303285;
line-height: 30px;
text-decoration:none ;
font-size: 14px;
font-family: arial, helvetica, tahoma ,verdana, sans-serif;
padding-left: 6px; padding-right: 6px;padding-bottom: 0px; padding-top:0px;
text-align:left;
float: left;
}
#menu_top:hover {
color:#ffffff;
background: #2f2c2c;
text-decoration:none ;
font-size: 14px;
font-family: arial, helvetica, tahoma ,verdana, sans-serif;
padding-left: 6px; padding-right: 6px;padding-bottom: 0px; padding-top:0px;
text-align:left;
}
#navi_left {
width: 146px;
height: 300px;
color: #ffffff;
background-color: #8f0000;
line-height: 30px;
text-align:left;
float: left;
}
#menu_left {
display: block;
width: 133px;
border-bottom: 1px solid #ffffff;
color:#f7f7f7;
background-color: #303285;
line-height: 25px;
text-decoration:none ;
font-size: 14px;
font-family: arial, helvetica, tahoma ,verdana, sans-serif;
padding-left: 6px; padding-right: 6px;padding-bottom: 0px; padding-top:0px;
text-align:left;
}
#menu_left:hover {
color:#ffffff;
background: #2f2c2c;
text-decoration:none ;
font-size: 14px;
font-family: arial, helvetica, tahoma ,verdana, sans-serif;
padding-left: 6px; padding-right: 6px;padding-bottom: 0px; padding-top:0px;
text-align:left;
}
/*Inhaltteil*/
#main {
display: block;
color: #ffffff;
background-color: #ffffff;
text-align:justify;
width: 780px;
height: auto;
float: left;
}
#main_text {
padding: 15px;
line-height: 25px;
float:left;
}
/*Footer*/
#footer {
margin-top: 5px;
margin-bottom: 5px;
}
#footer_text {
background: #8f0000;
letter-spacing: 3px;
color:#f7f7f7;
text-decoration:none ;
font-size: 11px;
font-style: italic;
font-family: helvetica, tahoma ,verdana, sans-serif;
text-align:center;
}
Ich hoffe ihr könnte helfen. Wie mache ich das Design Kompatible für IE & Firefox?
DANKE!
Zuletzt bearbeitet: