I am testing the idea of inserting Text Rollovers into an unordered list. Although the functionality works, styling is problematic. One issue I can’t get past is the large gap on the left before the first Text Rollover item in the list. Is there some automatic formating added to Text Rollovers?
I am testing the idea of inserting Text Rollovers into an unordered list. Although the functionality works, styling is problematic. One issue I can’t get past is the large gap on the left before the first Text Rollover item in the list. Is there some automatic formating added to Text Rollovers?
Sorry, no test page to peruse.
There’s automatic formatting in a list that forces space at the left. If you make a style that sets margin and padding to zero, you can get rid of it that way.
There’s automatic formatting in a list that forces space at the left. If you make a style that sets margin and padding to zero, you can get rid of it that way.
That’s what i’ve already tried. Doesn’t work as a #id selector. I haven’t tried a regular class yet.
Try this. Click on the HTML box that the list is in, and note its
name in the Inspector. Then make styles like this (let’s say it’s
called item4):
div#item4 ul { padding: 0; margin: 0; }
div#item4 ul li { padding: 0; margin: 0; list-style-type: none; }
That should get you a “zeroed” list, nothing but a shrink-wrapped
shell around the text rollovers inside it.
Walter
On Oct 23, 2008, at 7:01 PM, chuckamuck wrote:
There’s automatic formatting in a list that forces space at the
left. If you make a style that sets margin and padding to zero,
you can get rid of it that way.
That’s what i’ve already tried. Doesn’t work as a #id selector. I
haven’t tried a regular class yet.