Posted by Ben C on 10/18/06 20:43
On 2006-10-18, Nico Schuyt <nschuyt@hotmail.com> wrote:
> Ben C wrote:
[snip]
>> ul
>> {
>> position: absolute;
>> left: 0px;
>> right: 0px;
>> width: 100px;
>> margin-left: auto;
>> margin-right: auto;
>> padding: 0px;
>> }
>> li
>> {
>> list-style-type: none;
>> border: 1px solid black;
>> }
>> </style>
>> </head>
>> <body>
>> <ul>
>> <li>apples</li>
>> <li>pears</li>
>> <li>oranges</li>
>> </ul>
>> </body>
>> </html>
> In IE there΄s a vertical list on the left
Oh dear...
> In FF the (vertical) list is centered on the page
Yes, that was intended (and I thought the effect you wanted?)
Navigation:
[Reply to this message]
|