mam problem z menu, tzn nie moge go za chiny wysrodkowac...probowalem juz wielu kodow: div, center, umieszczalem menu w wywsrodkowanej tabelce ale to nie pomoglo, nadal jest po lewej stronie, pomozcie !
menu wyglada obecnie tak: www.super1600.webpark.pl/home.html
to jest kod do html'a:
Kod: Zaznacz cały
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
<script type="text/javascript" src="home.js"></script>
<script type="text/javascript" src="menu_items.js"></script>
<link rel="stylesheet" type="text/css" href="menu_styles.css">
<title>Richard Burns Rally liga on-line klasa Super 1600</title>
</head>
<body>
<script type="text/javascript">
var lmenu = new COOLjsMenu("leftMenu", MENU_ITEMS, null);
</script>
</body>
</html>
Kod: Zaznacz cały
//menu items
var MENU_ITEMS = [
{pos:[21, 20], size:[25, 100], itemoff:[0, 99], leveloff:[0, 0], delay:600, imgsize:[16, 16], arrsize:[16, 16], style:{border:1, shadow:0, color:{border:"White", shadow:"Gray", bgON:"Red", bgOVER:"White", imagebg:"#DBD8D1", oimagebg:"#B6BDD2"}, css:{ON:'clsCMOn', OVER:'clsCMOver'}}},
{code:"strona główna", url:"http://www.super1600.webpark.pl/home.html", format:{style:{border:1, shadow:0, color:{border:"White", shadow:"Gray", bgON:"White", bgOVER:"White", imagebg:"#DBD8D1", oimagebg:"#B6BDD2"}, css:{ON:'clsCMOn', OVER:'clsCMOver'}}}},
{code:"regulamin", url:"http://www.super1600.webpark.pl/regulamin.html", format:{style:{border:1, shadow:0, color:{border:"White", shadow:"Gray", bgON:"Red", bgOVER:"White", imagebg:"#DBD8D1", oimagebg:"#B6BDD2"}, css:{ON:'clsCMOn', OVER:'clsCMOver'}}}},
{code:"kalendarz", url:"http://www.super1600.webpark.pl/kalendarz.html"},
{code:"zawodnicy",
sub:[
{size:[25, 100], itemoff:[24, 0], leveloff:[24, 0], delay:600, imgsize:[16, 16], arrsize:[16, 16], style:{border:1, shadow:0, color:{border:"White", shadow:"Gray", bgON:"Red", bgOVER:"White", imagebg:"#DBD8D1", oimagebg:"#B6BDD2"}, css:{ON:'clsCMOn', OVER:'clsCMOver'}}},
{code:"Monte Carlo", url:"http://www.super1600.webpark.pl/zawodnicy_montecarlo.html"},
{code:"Szwecja", url:"http://www.super1600.webpark.pl/zawodnicy_szwecja.html"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"}
]},
{code:"wyniki",
sub:[
{size:[25, 100], itemoff:[24, 0], leveloff:[24, 0], delay:600, imgsize:[16, 16], arrsize:[16, 16], style:{border:1, shadow:0, color:{border:"White", shadow:"Gray", bgON:"Red", bgOVER:"White", imagebg:"#DBD8D1", oimagebg:"#B6BDD2"}, css:{ON:'clsCMOn', OVER:'clsCMOver'}}},
{code:"Monte Carlo", url:"http://www.super1600.webpark.pl/wyniki_montecarlo.html"},
{code:"Szwecja", url:"http://www.super1600.webpark.pl/wyniki_szwecja.html"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"}
]},
{code:"statystyki",
sub:[
{size:[25, 100], itemoff:[24, 0], leveloff:[24, 0], delay:600, imgsize:[16, 16], arrsize:[16, 16], style:{border:1, shadow:0, color:{border:"White", shadow:"Gray", bgON:"Red", bgOVER:"White", imagebg:"#DBD8D1", oimagebg:"#B6BDD2"}, css:{ON:'clsCMOn', OVER:'clsCMOver'}}},
{code:"Monte Carlo", url:"http://www.super1600.webpark.pl/statystyki_montecarlo.html"},
{code:"Szwecja", url:"http://www.super1600.webpark.pl/statystyki_szwecja.html"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"},
{code:"?"}
]},
{code:"klasyfikacja",
sub:[
{size:[25, 100], itemoff:[24, 0], leveloff:[24, -1], delay:600, imgsize:[16, 16], arrsize:[16, 16], style:{border:1, shadow:0, color:{border:"White", shadow:"Gray", bgON:"Red", bgOVER:"White", imagebg:"#DBD8D1", oimagebg:"#B6BDD2"}, css:{ON:'clsCMOn', OVER:'clsCMOver'}}},
{code:"indywidualna", url:"http://www.super1600.webpark.pl/klasyfikacja_indywidualna.html"},
{code:"teamów", url:"http://www.super1600.webpark.pl/klasyfikacja_teamow.html"}
]},
{code:"komentarze", url:"http://www.super1600.webpark.pl/komentarze.html"}
];
