Forum Moderators: not2easy
Anyway, in my #sidebar I have aligned the 'ul ul li' as 'text align: right'.
The problem is, I want to define one of my 'ul ul li's as an image rollover, where the text is indented out of the screen and the overflow is hidden.
The problem is, when you have the 'text-align' defined in the parent element it seems to overide the 'overflow: hidden' and/or the 'text-indent', so the text that I want hidden shows up.
I'd imagine there is a simple fix to this problem but I can't work it out.
Has anyone come across this and fixed it before?
The #sidebar ul ul li had the property 'text align: right'.
That conflicted with the rollover style, which had 'text-indent: -5000px;', where '-' is obviously left.
So I just added 'text-align: left' to the rollover element style and that fixed the problem.
I'd like to give thanks to FireBug.
[edited by: PublicSphere at 3:28 pm (utc) on Aug. 28, 2007]