Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Combo font

  1. #1

    Combo font

    Ciao,
    come posso fare per mettere in grassetto la prima voce (LAKES...)?


    <form>
    <select onchange="self.location=this.options[this.selectedIndex].value">
    <option STYLE="background:red; color:white;" value="null; background:red; color:white">LAKES...</option>
    <option value="http://www.lake.it">LAKE</option>
    <option value="http://www.lake2.it">LAKE2</option>
    <option value="http://www.lake3.it">LAKE3</option>
    </select>
    </form>

    Grazie


  2. #2
    codice:
    <html> 
    <head> 
    <STYLE type="text/css"> 
    body {background:white; font-family:"Courier New";} 
    h1 {font-size:15px;} 
    select {background:#FFDE00; font-weight:bold;} 
    option {color:red; font-weight:bold;} 
    .op1 {color:#fff; background:green;} 
    .op2 {color:blue; background:white;} 
    .op3 {color:#000; background:red;} 
    
    </STYLE> 
    </head> 
    <body> 
    <h1>ESEMPIO FORMATTAZIONE SELECT E OPTION</h1> 
    
    <select><option value="#">-- scegli --</option> 
    <option value="1" class="op1"># op1 op1 op1 op1</option> 
    <option value="2" class="op2"># op2 op2 op2 op2</option> 
    <option value="3" class="op3"># op3 op3 op3 op3</option> 
    </select> 
    </body> 
    </html>
    .:::Longu:::.

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.