Hérna er css fælinn:
.left { float: left; width: 217px; } #tpl_main { width: 490px; margin: 0 0px 0 221px; } .right { float: right; width: 227px; }
Vona að þið skiljið mig og getið hjálpað…
…
.left { float: left; width: 217px; } #tpl_main { width: 490px; margin: 0 0px 0 221px; } .right { float: right; width: 227px; }
[color=red]div.vefur{ [b]margin: auto; width: 934px;[/b] }[/color] [color=blue]div.vinstri{ [b]float: left;[/b] width: 217px; }[/color] [color=green]div.midja{ [b]float: left;[/b] width: 490px; }[/color] [color=magenta]div.haegri{ [b]float: left;[/b] width: 227px; }[/color]
[color=red][b]<div class="vefur">[/b][/color] [color=blue][b]<div class="vinstri">[/b]</div>[/color] [color=green][b]<div class="haegri">[/b]</div>[/color] [color=magenta][b]<div class="haegri">[/b]</div>[/color] [color=red]</div>[/color]