Przystosowanie skórki pod IE


(Piotrnawrocki23) #1

Witam mam taki problem ściągnąłem skórkę i trochę ją przerobiłem ale nie nie chce mi ta skórka chodzić pod IE na firefoxie ładnie wygląda a na IE jest rozwalona o to theme:

<?php

if (!defined("IN_FUSION")) { die("Access Denied"); }


define("THEME_BULLET", "·");


require_once INCLUDES."theme_functions_include.php";


function render_page($license=false) {


	global $settings, $main_style, $locale;






 	//Header

echo "\n";



	echo "

| ".THEME." | subheader-left.gif | ".showsublinks(" ", "white")." | subheader-right.gif |\n"; echo "

| ".THEME." |
\n"; //Content echo "

| ".LEFT." | ".U_CENTER.CONTENT.L_CENTER." | ".RIGHT." |

\n"; //Footer echo "\n\n"; echo "

| footerl.gif]() | SP Granowo".showcounter()." Powered by [PHP-Fusioncopyright 2002 - 2008 by Nick Jones. Released as free software without warranties under GNU Affero GPL v3. | footerr.gif |\n"; echo "

| endbg.gif |
"; } function render_news($subject, $news, $info) { echo "

| cap-left.png | ".$subject." | cap-right.png |\n"; echo "

| ".$news." |

\n"; echo "

| \n"; echo newsposter($info," ·").newsopts($info,"·").itemoptions("N",$info['news_id']); echo " |

\n"; echo "

| capb-left.png | | |
\n"; echo "

| | \n |

\n"; } function render_article($subject, $article, $info) { echo "

| cap-left.png | ".$subject." | cap-right.png |\n"; echo "

| ".($info['article_breaks'] == "y" ? nl2br($article) : $article)." |
| \n"; echo articleposter($info," ·").articleopts($info,"·").itemoptions("A",$info['article_id']); echo " |

\n"; echo "

| capb-left.png | | |
\n"; echo "

| | \n |

\n"; } function opentable($title) { echo "

| cap-left.png | ".$title." | cap-right.png |\n"; echo "

| \n"; } function closetable() { echo " |

\n"; echo "

| capb-left.png | | |
\n"; echo "

| | \n |

\n"; } function openside($title, $collapse = false, $state = "on") { global $panel_collapse; $panel_collapse = $collapse; echo "

| side-left.png | $title | side-right.png | ".panelbutton($state, $boxname)." |\n"; echo "

| \n"; if ($collapse == true) { echo panelstate($state, $boxname); } } function closeside() { global $panel_collapse; if ($panel_collapse == true) { echo "\n"; } echo " |

\n"; echo "

| sideb-left.png | | sideb-right.png |\n"; echo "

| | \n |

\n"; } ? [/code] a tutaj style:
[code]/* Comment element properties */ a { color: #000; text-decoration: none; } a:hover { color: #555; text-decoration: none; } a.side { color: #000; text-decoration: none; } a:hover.side { color: #555; text-decoration: none; } a.white, li.white a { color: #79a93a; text-decoration: none; text-transform: uppercase; background-image: url(images/sub.png); background-repeat: no-repeat; background-position: center; padding: 6px 10px 6px 10px; border-width: 0px 0px 0px 0px; border-color: #c4ff77; border-style: solid; } a:hover.white, li.white a:hover { color: #fff; text-decoration: none; text-transform: uppercase; background-image: url(images/bg.gif); background-repeat: no-repeat; background-position: top-center; padding: 16px 30px 12px 30px; border-width: 0px 0px 0px 0px; border-color: #292a2c; border-style: solid; } body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000; background: #fff; background-image: url(images/bg.gif); background-repeat: repeat-y; background-position: center; padding: 0px 1px 0px 0px; margin: 0px; } hr { height: 1px; border: 1px solid #eee; } hr.side-hr { height: 1px; border: 1px solid #eee; } td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } pre { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } .alt { color: #000; } .spacer { margin-bottom: 0px; } .admin-message { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; text-align: center; color: #fff; background-color: #transparent; border: 1px solid #e1e1e1; padding: 3px 4px 5px 4px; margin-bottom: 5px; } /* Form element properties */ form { margin: 0px; } .button { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #fff; background-color: #111; background-image: url(images/button.gif); height: 20px; border: 1px solid #000; margin-top: 2px; } .bbcode { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000; background-color: #eee; border: 1px solid #ccc; margin-top: 2px; } .textbox { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000; background-color: #transparent; border: 1px solid #888; } /* Header and footer properties */ .sub-header { font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 10px; color: #fff; background-color: #fff; background-image: url(images/subheader-mid.gif); background-repeat: repeat-x; vertical-aling: middle; padding: 30px 5px 0px 5px; } .sub-header ul{ margin: 0; padding: 0; } .sub-header ul li{ display: inline; } .sub-header ul li.first-link .bullet{ display: none; } .full-header { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #fff; background-color: #fff; padding: 30px 5px 0px 5px; } .main-footer { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #fff; background-color: #transparent; padding: 5px; } .bottom-footer { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000; background-color: #transparent; background-image: url(images/footer.gif); background-repeat: repeat-x; padding: 0px 4px 10px 4px; } .main-body { font-size: 10px; color: #000; background-color: #transparent; background-image: url(images/mainbg.png); background-repeat: repeat; background-position: center; padding: 4px; } /* Side-Panel properties */ .side-border-left { color: #fff; background-color: #transparent; padding: 10px 10px 10px 0px; width: 175px; } .side-border-right { color: #fff; background-color: #transparent; padding: 10px 0px 10px 10px; width: 175px; } .sideb { background-image: url(images/sideb.png); background-repeat: repeat-x; } .sideline { background-image: url(images/sidelineleft.gif); background-repeat: repeat-y; } .sideline2 { background-image: url(images/sidelineleft2.gif); background-repeat: repeat-y; } .sideline3 { background-image: url(images/sidelineleft3.gif); background-repeat: repeat-y; } .sideliner { background-image: url(images/sidelineright.gif); background-repeat: repeat-y; } .sideliner2 { background-image: url(images/sidelineright2.gif); background-repeat: repeat-y; } .sideliner3 { background-image: url(images/sidelineright3.gif); background-repeat: repeat-y; } .scapmain { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #fff; background-color: #transparent; background-image: url(images/side.png); background-repeat: mo-repeat; padding: 6px 4px 6px 4px; } .a4fbar { background-image: url(images/a4fbar.png); background-repeat: no-repeat; background-color: #transparent; } .side-body { font-size: 10px; color: #000; background-color: #transparent; background-image: url(images/sidebg.png); background-repeat: repeat; border: 0px solid #000; padding: 4px; } /* Center-Panel properties */ .news-category { border: 0; margin: 3px 5px 0 0; float: left; } .news-footer { font-size: 10px; color: #494949; background-color: #transparent; background-image: url(images/mainbg.png); background-repeat: repeat; padding: 4px 4px 4px 4px; } .capmain { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #fff; background-color: #transparent; background-image: url(images/cap.png); background-repeat: mo-repeat; padding: 6px 4px 6px 4px; } .caparticle { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #fff; background-color: #transparent; background-image: url(images/cap.png); background-repeat: repeat-x; padding: 6px 4px 6px 4px; } .capb { background-image: url(images/capb.png); background-repeat: repeat-x; } .main-bg { color: #000; background-color: #transparent; padding: 10px 0px 5px 0px; } /* General table properties */ .center { margin: 0 auto; } .tbl-border { border: 0px solid #000; } .tbl { font-size: 11px; color: #000; background-color: #transparent; padding: 4px; } .tbl1 { font-size: 11px; color: #000; background-color: #transparent; padding: 4px; } .tbl2 { font-size: 11px; color: #000; background-color: #transparent; padding: 4px; } .forum-caption { font-size: 11px; font-weight: bold; color: #000; background-color: #transparent; padding: 2px 4px 4px 4px; } .quote { font-size: 11px; color: #000; background-color: #fff; padding: 4px; margin: 0px 20px 0px 20px; border: 0px solid #bbb; } .poll { height: 12px; border: 1px solid #000; } .comment-name { font-weight: bold; color: #788a00; } .shoutboxname { font-weight: bold; color: #fff; } .shoutbox { color: #a4ff2e; } .shoutboxdate { font-size: 10px; color: #333; } .small { font-size: 10px; font-weight: normal; } .small2 { font-size: 10px; font-weight: normal; color: #fff; } .side-small { font-size: 10px; font-weight: normal; color: #fff; } .side-label { color: #222; margin: 2px 0 2px 0; padding: 2px 2px 3px 2px; } /* Vertical Navigation */ #navigation h2 { font-size: 10px; font-weight: normal; background-color: #f1f1f1; margin: 0; padding: 4px; } #navigation ul { margin: 0; padding: 0; list-style-type: none; } * html #navigation ul li{ height: 1%; } #navigation a { display: block; color: #555; padding: 2px; text-decoration: none; } #navigation a:hover { color: #222; background-color: #c0c0c0; } /* Page Navigation */ .pagenav { padding: 4px; } .pagenav span { color: #000; background-color: #c0c0c0; border: 1px solid #ddd; padding: 2px 4px 2px 4px; margin: 2px; } .pagenav a { color: #555; background-color: #f1f1f1; border: 1px solid #ddd; padding: 2px 4px 2px 4px; margin: 2px; text-decoration: none; } .pagenav a:hover { color: #000; background-color: #c0c0c0; margin: 2px; text-decoration: none; }

Nie wiem jak naprawić ten problem adres strony to www.spgranowo.pl

Z góry dzięki za pomoc


(WooQash) #2

Mi na Internet Explorerze 7 i 8 chodzi. A jeśli chodzi o IE6 to radze się nie mocić tylko zablokować dostęp z tej przeglądarki.


(Piotrnawrocki23) #3

Aha a jak zablokować przeglądarkę IE6 w taki sposób żeby np. była zablokowana tylko przeglądarka IE6 z komunikatem że żeby otworzyć stronę wymagana jest przeglądarka nowsza itp. jak zrobić??


(ra-v) #4

W $_SERVER['HTTP_USER_AGENT''] szukaj ciągu "msie 6.0" lub podobnego i porównaj funkcją strchr() lub preg_match()

_________ EDIT ________

zmieniłem coś bo był kiks


(WooQash) #5
<?php