Visualizzazione dei risultati da 1 a 10 su 11

Visualizzazione discussione

  1. #1
    Utente di HTML.it L'avatar di grungi
    Registrato dal
    Dec 2002
    Messaggi
    106

    Posizionamento immagine

    Perche' l'immagine (header.jpg) mi si posiziona tutta a dx invece di rimanere centrata??
    ho provato con proprieta' background, center, coi margini ma niente.
    Tks!


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html" />

    <title>Untitled Document</title>
    <style>

    html,body {

    margin:0; padding: 0
    }

    body {

    background-color:#666666;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #009900;
    font-size:13px;
    }


    #container {

    width: 830px;
    height:799px;
    background-image:url(img/intBg.gif);
    background-repeat: repeat-x;
    margin: 0px auto;
    position:relative;
    background-color:#FFFFFF
    }


    #h2 {
    width: 817px;
    height: 188px;
    background-image:url(img/header.jpg);
    }


    #linkList {

    margin: 0;
    margin-left:7em;
    padding: 0;
    min-width: 37em;
    list-style-type: none
    }


    #linkList li {
    float:left;
    border-left:1px dashed #bbb;
    height:1em;
    width:8em;
    padding-top: 15px;
    padding-left: 0.5em
    }


    </style>
    </head>

    <body>
    <div id="container">
    <ul id="linkList">
    [*]home[*]soluzioni[*]offerte[*]pacchetto
    [*]pacchetto
    [*]pacchetto[/list]

    <div id="h2"></div>

    </div>
    </body>
    </html>
    Immagini allegate Immagini allegate
    Chiara

    Fun and mental is FUNDAMENTAL

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.