Excellent, thats done it, the trick being to put the padding on the a, not the li, ul, or div as i was.
Thankyou! Peter On Mon, May 24, 2010 at 7:14 PM, Sarah King <[email protected]> wrote: > I found this worked > > #nav ul li a { > color:white; > outline:medium none; > padding-left:5px; > text-decoration:none; > > > regards > > Sarah > > > > > On 24/05/2010 5:30 p.m., Peter S wrote: > >> I have an absolute positioned div inside another absolute positioned div >> (so it bottom aligns the parent div). >> >> See nav bar here: >> >> http://www.fairylights.co.nz/cms2/page.php?view=home-page >> >> Inside the div is a nav list which is all italic. On a:hover the left >> most part of the letter f (which is sort of outside the div now that its >> italic) has no hover colouring. >> >> Ive tried addeding padding, text-indent, a child div, and all do the same >> thing. >> >> Any bright ideas? >> >> Peter >> >> -- >> NZ PHP Users Group: http://groups.google.com/group/nzphpug >> To post, send email to [email protected] >> To unsubscribe, send email to >> [email protected]<nzphpug%[email protected]> >> > > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to [email protected] > To unsubscribe, send email to > [email protected]<nzphpug%[email protected]> > -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected]
