Click to See Complete Forum and Search --> : <ul>


Yalldoor
01-16-2006, 01:04 PM
I'm wondering if there's a way to stop the <ul> tag from indenting to the right. It's just I can't centralise my navigation bar at the moment, because it has a big gap at the left.

Thanks.

Fang
01-16-2006, 01:15 PM
<style type="text/css">
ul {margin:0;padding:0;}
</style>

Yalldoor
01-16-2006, 01:25 PM
Ah, thanks. I missed off the margin.

ray326
01-16-2006, 03:09 PM
Some browsers indent with margin, some with padding. You have to use both to CYA.