Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2010
    Messaggi
    16

    Modificare i bordi di un frame

    ciao a tutti,
    voglio fare una griglia 4 x 4 ma nella visualizzazione noto che ogni frame ha un piccolo bordo bianco, c'e' un modo per rimuoverlo?
    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
    <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    
    	frameset{
    		border-color: black;
    		border-style: solid;
    		border-width: 10px;
    	}
    	frame{
    		border-color: black;
    		border-style: solid;
    		border-width: 1px;
    	}
    
    </style>
        </head>
        
        <frameset class="frameBorder" rows='25%,25%,25%,25%' cols= '25%,25%,25%,25%'  bordercolor="#000000" scrolling="no" noresize="noresize">
                <frame name = 'screen_0_0' src = "color/frame_black.htm"  >
                <frame name = 'screen_0_1' src = "color/frame_black.htm"  >
                <frame name = 'screen_0_2' src = "color/frame_black.htm"  >
                <frame name = 'screen_0_3' src = "color/frame_black.htm"  >
            
                <frame name = 'screen_1_0' src = "color/frame_black.htm"  >
                <frame name = 'screen_1_1' src = "color/frame_black.htm"  >
                <frame name = 'screen_1_2' src = "color/frame_black.htm"  >
                <frame name = 'screen_1_3' src = "color/frame_black.htm"  >
        
                <frame name = 'screen_2_0' src = "color/frame_black.htm"  >
                <frame name = 'screen_2_1' src = "color/frame_black.htm"  >
                <frame name = 'screen_2_2' src = "color/frame_black.htm"  >
                <frame name = 'screen_2_3' src = "color/frame_black.htm"  >
        
                <frame name = 'screen_3_0' src = "color/frame_black.htm"  >
                <frame name = 'screen_3_1' src = "color/frame_black.htm"  >
                <frame name = 'screen_3_2' src = "color/frame_black.htm"  >
                <frame name = 'screen_3_3' src = "color/frame_black.htm"  >
        
            <noframes><body id="FrameBody">
    
    Sorry, but your browser doesn't support frames</p></body>
            </noframes>
        </frameset>
    </html>
    dove color/frame_black.htm è semplicemente
    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//IT">
    <html>
        <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>BlackFrame</title>
        </head>
        <body bgcolor="#2D2D2D">
        </body>
    </html>
    so che probabilmente non e' la tecnica piu' elegante, ma non ho trovato altre soluzioni con le mie attuali conoscenze
    grazie in anticipo

  2. #2
    Utente di HTML.it L'avatar di Prill
    Registrato dal
    Oct 2006
    Messaggi
    2,947
    Se puoi evitare i frames è meglio. Esistono attributi non standard per evitare la spaziatura tra i diversi frame, oltre al border anche frameborder e framespacing (da settare su zero), sarebbero anch'essi da evitare ma comunque rendono l'effetto voluto

  3. #3
    Utente di HTML.it
    Registrato dal
    Oct 2010
    Messaggi
    16
    il problema non sono gli spazi, ma il bordino bianco intorno ai frames, penso sia un campo editabile in css, ma non l'ho ancora trovato.

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.