/* \*/
* html #tlc, * html #trc {height: 1%;}
#tlc, #trc { zoom: 1 }
/* */
/* General layout */
body {background-image: url(images/bakgrnd/greyblue_line.gif); background-repeat: repeat-x; color:#000000; font:76% tahoma, verdana, sans-serif; margin:0; padding:0 0 0;}
#container {margin:0 auto 0; padding:0px 0px 0px; width:950px;}
/* Tags */
a {color:#000000; text-decoration:none;}
a:hover {color:#000000; text-decoration:none;}
a img {border:0;}
/* Toptabs menu */
#toptabs {font-size:.8em; margin:5px auto -13px; width:674px; text-align:right; float:left;}
.toptab {margin:0 5px 0 0; padding:4px 5px 4px; text-decoration:none;}
.toptab:hover { text-decoration:underline;}
/* Logo */
#logo {margin:0 auto 0; width:276px; text-align:left; float:left;}
/* Searchfield */
#Searchfield {width:950px; font-size: 1.1em; margin:0px auto 0px; color:#3066a9; text-align:center; font-weight:bold; padding:10px 0px 0px; float:left;}
/* Navigation */
#navigation {width:674px; font-size: 1.1em; padding-top: 0px; margin:44px auto -13px; float:left;}
#navigation ul, #navigation ul li {list-style: none; margin: 0; padding: 0;}
#navigation ul { padding: 5px 0 4px; text-align: right;}
#navigation ul li {display: inline;margin-right: -5px;}
#navigation ul li.last {margin-right: 0;}
#navigation ul li a {background: url("images/knappar/tab-right.gif") no-repeat 100% 0; color: #FFFFFF;padding: 7px 0; text-decoration: none;}
#navigation ul li a span {background: url("images/knappar/tab-left.gif") no-repeat; padding: 7px 1em;}
#navigation ul li a:hover span {color: #CCCCCC; text-decoration: underline;}
* html #navigation ul li a {padding: 0;}
.activetab {background: url("images/knappar/tab-right.gif") no-repeat 100% 0; color: #06C;padding: 7px 0; text-decoration: none;}
Sen har jag en extrafundering kring menyn som är uppbyggd av en punktlista
När man har klickat på en sida så att en flik blir active så vill jag att den ska ändra färg dvs byta bild på bara den fliken. så som jag har illustrerat på bilden jag har bifogat (nu är alla blåa enl css koden)
Jag löste det med en annan formatering av punktmenyn men är fortfarande lite fundersam kring placeringen av divarna... skulle någon kunna titta på det kodmässigt annars är allt löst.
se mitt första inlägg på bild webforum.jpg det är så jag vill att det ska vara placerat fast med csskod istälet för tabell ska man använda sig av absolut eller relative placaring vilket är "bäst"