|
|
 |
Re: FN-FORUM: why is this wrong?
date posted 13th January 2005 15:38
At 16:10 on Thursday, 13 Jan 2005, Luke Perman wrote:
>
> On 13 Jan 2005, at 15:50, nick b wrote:
>>> but my code won't validate...
>>
>> You don't say what the error is.. I assume it's because you're not
>> meant to have anything but s inside a - try moving the
>> inside the divs, something like:
>
> sorry - i thought that was implied ;-)
>
> yes - of course it won't validate cos i've put and tags
> inside the UL...
>
> but your example won't work for me as it won't render the way i want.
>
> i should have been clearer with my subject line - i mean 'why is this
> wrong to do?' as in it not being able to validate - because it still
> seems semantically correct to me in terms of opening and closing tags.
nope.
you have block elements inside elements they're not allowed in, esp the
div.
why can't you have two lists? and apply the positioning to the ul? ul is
a block level element too...
don't understand why you've done it that way.
;o)
|
 |
|