Visualizzazione dei risultati da 1 a 4 su 4
  1. #1
    Utente di HTML.it
    Registrato dal
    Mar 2011
    Messaggi
    5

    Non sò che problema ho!!

    Ciao,
    mi sono iscritto a questo forum perchè ho dei problemi con i css, premetto che non sono un esperto però ci capisco un pò!
    sto creando un tema per wordpress è ho un problema che non sò che problema è!!
    questo è il screenshot
    http://awesomescreenshot.com/0a78rnva6

    mentre questo è il codice
    codice:
    /* ########## GENERAL ########## */
    
    body {
            margin: 0px;
    	padding: 0px;
    	background: #000;
    	color: #4E4E4E;
    	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    	font-size: 12px;
    	line-height: 22px;
    }
    
    /* ######### HTML ########## */
    
    a {
    	color: #7a3737;
    }
    
    img {
    	border: none;
    }
    
    p, ul, ol, dl {
    	line-height: 22px;
    	margin: 0 0 20px 0;
    }
    
    hr {
    	height: 1px;
    	margin: 20px 0;
    	background: #eee;
    	border: none;
    	clear: both;
    }
    
    h1, h2, h3, h4, h5, h6 {
    	margin: 0 0 20px;
    	padding: 0px;
    	line-height: normal;
    }
    
    h1 {
    	font-size: 25px;
    }
    
    h2 {
    	font-size: 20px;
    }
    
    h3 {
    	font-size: 16px;
    }
    	
    h4, h5, h6 {
    	margin-bottom: 10px;
    }
    
    blockquote {
    	margin: 0 0 0 10px;
    	padding: 0 0 0 50px;
    	font-style: italic;
    }
    
    address {
    	padding: 0 0 0 15px;
    	font-style: italic;
    }
    
    code {
        font-family: "Courier New", Courier, serif;
    	overflow: auto;
    	padding: 2px;
    	background: #e4e4e4;
    	text-shadow: 1px 1px 0px #fff;
    }
    
    pre code {
    	background: none;
    }
    
    pre {
        margin: 0 0 20px;
    	padding: 10px;
    	background: #f8f8f8;
    	overflow: auto;
    	color: #646464;
    	border: 1px solid #e4e4e4;
    }
    
    dl {
        margin: 0 0 10px;
    }
    
    dt {
        font-weight: bold;
    }
    
    dd {
        padding: 0 0 10px;
    }
    
    small {
    	font-size: 10px;
    	font-weight: normal;
    }
    
    table {
    	margin: 0 0 20px;
    	border-collapse: collapse;
    }
    
    th {
    	padding: 5px;
    	background: #eee;
    	border: 1px solid #ddd;
    	text-align: left;
    }
    
    td {
    	padding: 5px;
    	border: 1px solid #ddd;
    }
    
    /* ########## BASIC LAYOUT ########## */
    
    #wrap {}
    
    #header {
    	position: relative;
    	height: 100px;
    	width: 960px;
    	margin: 0 auto;
    }
    
    #main {
    	background: #eee url(img/bg-body.jpg);
    }
    
    #footer {
    	width: 960px;
    	margin: 0 auto;
    	clear: both;
    }
    
    /* ########## HEADER ########## */
    
    #logo {
    	position: absolute;
        bottom: 15px;
    	left: 15px;
    	margin: 0px;
    }
    
    #logo h1 {
        position: absolute;
        bottom: 15px;
    	left: 15px;;
    	margin: 0px;
    	color: #E0E0E0;
    }
    
    #logo h2 {
    	margin: 0px;
    	color: #6e6e6e;
    	font-size: 12px;
    	font-weight: normal;
    	text-shadow: 1px 1px 0px #000;
    	letter-spacing: 1px;
    }
    
    /* MENU */
    /* See superfish.css */
    
    .menu-top {
    	position: absolute;
    	bottom: 15px;
    	right: 15px;
    	font-size: 14px;
    	font-family: "Myriad Pro", "Trebuchet MS", "Helvetica Neue", Helvetica, Arial, sans-serif;
    }
    
    /*########## CONTENT WRAP ##########*/
    
    #content-wrap {
    	position: relative;
    	margin: 0 auto;
    	padding: 20px;
    	width: 960px;
    }
    
    #content {
    	float: left;
        width: 650px;
    }
    
    .post {
    	margin: 0 0 40px;
    }
    
    .box1-t {
    	height: 16px;
    	background: url(img/box1-top.png) no-repeat;
    }
    
    .box1 {
    	padding: 20px 40px;
    	height: 1px;
    	background: url(img/box1.png) repeat-y;
    }
    
    .box1-b {
    	height: 16px;
    	background: url(img/box1-bottom.png) no-repeat;
    }
    
    /*sidebar*/
    
    #sidebar {
    	float: right;
    	width: 250px;
    	margin: 0 0 20px;
    }
    
    .sidebar1 {
    	margin: 0 0 40px;
    }
    
    .box2-t {
    	height: 15px;
    	background: url(img/box2-top.png) no-repeat;
    }
    
    .box2 {
    	padding: 10px 20px;
    	height: 1px;
    	background: url(img/box2.png) repeat-y;
    }
    
    .box2-b {
    	height: 15px;
    	background: url(img/box2-bottom.png) no-repeat;
    }

  2. #2
    Non so che soluzione vuoi se non spieghi il problema

  3. #3
    Utente di HTML.it
    Registrato dal
    Mar 2011
    Messaggi
    5
    hai ragione ma sinceramente non sò nemmeno io come spiegarlo!!
    tutto parte dal main che ha come sfondo un immagine, dentro il div main ci sono altri due div: content e sidebar.
    Il problema e che l'immagine di sfondo del main non copre il content e il sidebar ma solo la parte superiore di essi (guardare lo screenshot http://awesomescreenshot.com/0a78rnva6).
    Adesso arriviamo al contenuto (

    testo</p>) del content e della sidebar che esce fuori dalle immagini o meglio dire che il box1 e box2 non si ripetono per tutto il contenuto.
    Scusate se mi sono spiegato male!!

  4. #4
    Utente di HTML.it
    Registrato dal
    Sep 2001
    Messaggi
    21,188
    Purtroppo con un titolo cosi, a norma di regolamento devo chiudere.
    Rileggiti il regolamento e puoi riaprire.

    (e magari datti una ripassata all'ortografia italiana: e` frustrante vedere certi errori)
    Nuova politica di maggiore severita` sui titoli delle discussioni: (ri)leggete il regolamento
    No domande tecniche in messaggi privati

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.