site news archive - layout and stylesheets

8th October 2004 - 16:03

Hopefully looking at this page at the minute you shouldn't notice that much difference, maybe you've spotted that the nav bar looks slightly different. I have changed the nav bar to use an unordered list for the display, this makes more sense in the markup, as all the nav bar really is is an unordered list.

This may seem like a waste of time, but it enables me to use different formatting options on the list, letting me free the site up from it's current layout, just by changing the css used. If you are using a browser that supports alternate stylesheets (Firefox and Opera do) have a look at your menu and change the style to expanding for a demonstration of what can be done with lists and CSS.

8th October 2004 - 21:15

I've just been having a play with changing these stylesheets around and noticed that one thing neither Firefox or Opera seem do is store the setting you've chosen. This effectively renders the whole alternate stylesheet thing pretty useless, as you can't select a sheet and have it carry around onto the whole site, or even to just one page. Each time you refresh a page it reverts back to the preferred sheet.

If I've missed something and you can actually set it to remember the setting, be it for a site or just for a single page, please let me know.

Back to site news archive.