Visualizzazione dei risultati da 1 a 8 su 8

Discussione: Menù interno

Hybrid View

  1. #1
    Utente di HTML.it
    Registrato dal
    Dec 2006
    Messaggi
    95

    Menù interno

    Ciao, dovrei fare un div contente dei link interni come nel file allegato.
    Il massimo che sono riuscito a fare è il codice che ho allegato però la proprietà word-spacing viene applicata correttamente tra un link e l'altro però viene applicata anche tra le parole di un link, ad esempio "Early career".
    Riuscite ad aiutarmi? Grazie.


    Brian.html
    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    	<head>
    		<title>Brian Johnson</title>
    		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    		<link rel="stylesheet" type="text/css" href="Danno.css">
    	</head>
    	<body>
    		<div id="content_header">
    			<a href = "#early_career">Early career</a>
    			<a href = "#AC/DC">AC/DC</a>
    			<a href = "#helen_of_Troy_musical">Helen of Troy musical</a>
    			<a href = "#other_activities">Other activities</a>
    		</div>
    	</body>
    </html>
    Danno.css
    codice:
    #content_header {
    	background-color: #333333;
    	text-align:center;
    	word-spacing: 0.5cm;
    }
    
    #content_header a {
    	color: white;
    }
    Immagini allegate Immagini allegate

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.