Navigational links

Jeroen Coumans jeroen at
Mon May 10 17:46:04 PDT 2004 said the following on 12-05-2004 00:56:

[do you live one day in the future?]

> I want a presentation like the one that we have in the previous books until 
> 5.0, but using the {ul} tags. You can change the tags in the XHTML's if 
> needed, I will made the required changes in the XSL to do that markup.

See attached file. I've changed the up and home order in the footer 
navigation to make it the same as LFS-stable. Basic CSS:

div.headernav ul, div.footernav ul { position: relative; }
li.prev { position: absolute; left: 0; } { position: absolute; right: 0;}

This trick allows you to absolutely position child elements within a 
relatively position parent element. Should work cross-browser, although 
I have only tested MozillaFirefox 0.8. Making it compatible with IE>5 
etc. is for later worry.

BTW is it possible to use <style @import> syntax instead of <link>? 
Older browsers such as NN4 and IE4 don't understand the latter, thus it 
allows us to use more advanced CSS, if needed.

Jeroen Coumans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lfs-nav.html.bz2
Type: application/octet-stream
Size: 908 bytes
Desc: not available
URL: <>

More information about the lfs-dev mailing list