se seguiamo la strada delle gif e doctype xhtml, possiamo scrivere una navigazione semantica (dove l'informazione non è veicolata dalle immagini) e usare una sprite come immagine
codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="it" xml:lang="it"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>xhtml 1.0</title> <style type="text/css"> ul { height : auto; overflow : hidden; } ul li { background-image : url(nav.gif); background-repeat : no-repeat; overflow : hidden; line-height : 100em; } ul li, ul a { float : left; display : inline; width : 53px; height : 53px; } #prev { background-position : 0 -53px; } #next { background-position : 0 -106px; } #start { margin : 0 50px;} /* definisce lo spazio tra le icone </style> </head> <body> <ul> <li id="prev">Indietro <li id="start">Indice <li id="next">Avanti[/list] </body> </html>
l'immagine utilizzata è allegata a questo post (salvala con nome 'nav.gif')

Rispondi quotando