Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Nested UL inheriting anchor styles, please help! Re: Nested UL inheriting anchor styles, please help!

#74860
TheDoc
Member

clear: inherit probably isn’t doing what you think it is. It isn’t clearing the inheriting styles, it’s inheriting the clearing property of the parent element. So if your parent had clear: both, so to would the child.

The nested UL will inherit all styles unless you specifically overwrite them.