Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it L'avatar di [trodat]
    Registrato dal
    Oct 2004
    Messaggi
    2,135

    Menu di navigazione verticale con css

    Ciao, ho questo foglio di stile, che richiama un menu di navigazione verticale in una pagina htm:
    codice:
    <style type="text/css"><!--
    #containerul, #containerul ul{
      text-align:left;
      margin:0; /* Removes browser default margins applied to the lists. */
      padding:0; /* Removes browser default padding applied to the lists. */
    }
    
    #containerul li{
      margin:0 0 0 30px; /* A left margin to indent the list items and give the menu a sense of structure. */
      padding:0; /* Removes browser default padding applied to the list items. */
      list-style-type:none; /* Removes the bullet point that usually goes next to each item in a list. */
    }
    
    #containerul .symbols{ /* Various styles to position the symbols next to the items in the menu. */
      float:left;
      width:12px;
      height:1em;
      background-position:0 50%;
      background-repeat:no-repeat;
    }
    --></style>
    Che richiamo con:

    codice:
    [*]
        Blog Sites
        <ul>[*]
            Tommy Olsen
          [*]
            Jeffrey Zeldman
          [*]
            Eric Meyer
          [/list]
      [*]
        Other Sites
        <ul>[*]
            Accessify
          [*]
            World Wide Web Consortium
            <ul>[*]
                The W3C Markup Validator
              [*]
                The W3C CSS Validator
              [*]
                The Web Content Accessibility Guidelines
              [/list]
          [/list]
      [/list]
    Se volessi utilizzare con questo foglio di stile un secondo menu di navigazione verticale nella stessa pagina htm, come devo fare ?

    Grazie
    Lo Stato dà un posto. L’impresa privata dà un lavoro. – Indro Montanelli

  2. #2
    Utente di HTML.it L'avatar di floyd46
    Registrato dal
    Feb 2002
    residenza
    Apulia
    Messaggi
    2,641

    Re: Menu di navigazione verticale con css

    lo puoi fare assegnanmdo una classe ad ul e li.
    Floyd
    "Le persone che realizzano layout con tabelle annidate, spacer gif o che ignorano l'accessibilità non possono più definirsi professionisti." Andy Clarke
    --------------------------------

    www.extrowebsite.com

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 © 2025 vBulletin Solutions, Inc. All rights reserved.