Visualizzazione dei risultati da 1 a 9 su 9

Discussione: <div> tratteggiati

  1. #1

    <div> tratteggiati

    Salveee Qualcuno sa se è possibile dare un effetto linea tratteggiata alla cella di una tabella che imposto come <div> ?

    esempio:
    normale linea <div> _______________________________
    è possibil averla così? ----------------------------

    ciao ciao

  2. #2
    mi sembra che .....devi impostare il border-style: dashed

    UNA COSA DEL GENERE
    <table style="border-style: dashed" border=1>
    <tr>
    <TD>
    CIAO CIAO
    </TD>
    </tr>

    </table>
    Z@rigo

  3. #3
    <DIV style="border-style: dashed" BORDER=1>
    CIAOOOOOO
    </DIV>

    QUESTA FUNZIA.... PERò FA I TRATTINI LEGGERMENTE ENORMI... MI SA CHE DEVI GESTIRE LA GRANDEZZA DEL BORDO; SEMPRE CON GLI STYLE
    Z@rigo

  4. #4
    Utente di HTML.it L'avatar di Francis87
    Registrato dal
    Jun 2003
    Messaggi
    5,970
    scritto coerentemente
    codice:
    style="border: 1px dashed #ff0000;"
    Heaven's closed. Hell sold out.

    Linux 2.6.26-2-amd64
    Debian squeeze

  5. #5
    Originariamente inviato da Francis87
    scritto coerentemente
    codice:
    style="border: 1px dashed #ff0000;"
    Mi sembra che dobrebbe essere invertito l'ordina dashed (dotted/solid etc) con lo spessore es:

    codice:
    style="border: dotted 1px rgb(127,127,255);"

  6. #6
    Utente di HTML.it L'avatar di Francis87
    Registrato dal
    Jun 2003
    Messaggi
    5,970
    anke se potrebbe esser cmq letto, l'ordine giusto è quello ke ho scritto io.

    'border'
    Value:
    [ <'border-width'> || <'border-style'> || <color> ] | inherit

    Initial:
    see individual properties

    Applies to:
    all elements

    Inherited:
    no

    Percentages:
    N/A

    Media:
    visual
    da http://www.w3.org/TR/REC-CSS2/box.ht...der-properties
    Heaven's closed. Hell sold out.

    Linux 2.6.26-2-amd64
    Debian squeeze

  7. #7
    uhm...provati, anche se questi qua li conoscevo anch'io, ma non alludevo al bordo della tabella tratteggiato, ma alla linea div Non so se è possibile farlo, vi posto un esempio:

    codice:
    <table width="75%" border="0">
    <tr>
        <td>testo</td>
      </tr>
      <tr>
        <td bgcolor="#000000">
    <div></div></td>
      </tr>
      <tr>
        <td>testo</td>
      </tr>
    </table>
    la linea nera la vorrei tratteggiata, non continua, è possibile? Se si mi mettete il codice nel mio esempio? Grazie 1000

  8. #8
    Utente di HTML.it
    Registrato dal
    Sep 2002
    Messaggi
    4,127
    <table width="75%" border="0">
    <tr>
    <td style="border-bottom: 1px dashed black;">testo</td>
    </tr>
    <tr>
    <td>testo</td>
    </tr>
    </table>

    ciao!

  9. #9
    Originariamente inviato da sms
    <table width="75%" border="0">
    <tr>
    <td style="border-bottom: 1px dashed black;">testo</td>
    </tr>
    <tr>
    <td>testo</td>
    </tr>
    </table>

    ciao!
    Perfetto! Grazieee

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.