Visualizzazione risultati 1 fino 4 di 4

Discussione: Modificare template

  1. #1
    Guest

    Predefinito Modificare template

    Salve ragazzi.
    Sto impazzendo nel cercare di modificare la larghezza delle 3 colonne del template.

    Da quanto ho capito dovrei modificare il file css del template, ma non riesco a capire quale sono i campi precisamente.

    ora incollo qui il sontenuto del file e spero voi possiate aiutarmi.

    Codice:
    /* begin Page */
    
    /* Generated by TechLine */
    
    body
    {
      margin: 0 auto;
      padding: 0;
      background-color: #FFFFFF;
      background-image: url('images/Page-BgTexture.jpg');
      background-repeat: repeat;
      background-attachment: scroll;
      background-position: top left;
    }
    
    .Main
    {
      position: absolute;
      width: 100%;
      left: 0;
      top: 0;
    }
    
    
    .PageBackgroundGradient
    {
      background-image: url('images/Page-BgGradient.jpg');
      background-repeat: repeat-x;
      height: 900px;
    }
    
    
    .cleared
    {
      float: none;
      clear: both;
      margin: 0;
      padding: 0;
      border: none;
      font-size:1px;
    }
    
    
    /* end Page */
    
    
    
    /* begin Header */
    div.Header
    {
      margin: 0 auto;
      position: relative;
      width: 978px;
      height: 225px;
      background-image: url('images/Header.png');
      background-repeat: no-repeat;
      background-position: left top;
    }
    
    
    div.Header  div.Header-c
    {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url('images/Header.jpg');
      background-repeat: no-repeat;
      background-position: center center;
    }
    /* end Header */
    
    /* begin Logo */
    .logo
    {
      display : block;
      position: absolute;
      left: 10px;
      top: 87px;
      width: 958px;
    }
    
    h1.logo-name, h1.logo-name a, h1.logo-name a:link, h1.logo-name a:visited, h1.logo-name a:hover
    {
      display: block;
      text-align: center;
      font-family: Georgia, "Times New Roman", Times, Serif;
      font-size: 26px;
      font-style: normal;
      font-weight: bold;
      text-decoration: none;
      padding:0;
      margin:0;
      color: #000000 !important;
    }
    
    .logo-text, .logo-text a
    {
      display: block;
      padding:0;
      margin:0;
      text-align: center;
      font-family: Georgia, "Times New Roman", Times, Serif;
      font-size: 18px;
      font-style: normal;
      font-weight: normal;
      color: #000000 !important;
    }
    /* end Logo */
    
    
    /* menu structure */
    
    .nav
    {
      position: relative;
      margin: 0  auto;
      width: 978px;
      height: 36px;
      z-index: 100;
    }
    
    .artmenu
    {
      padding: 8px 4px 0px 4px;
    }
    
    
    .nav .l, .nav .r, .nav .r div
    {
      top: 0;
      position: absolute;
      z-index: -1;
      overflow: hidden;
      height: 36px;
    }
    
    .nav .l
    {
      left: 0;
      right: 0px;
    }
    
    
    .nav .r
    {
      right: 0;
      width: 0px;
    }
    
    
    .nav .r div
    {
      width: 978px;
      right: 0;
    }
    
    
    .nav .l, .nav .r div
    {
      background-position: left top;
      background-repeat: no-repeat;
      background-image: url('images/nav.png');
    }
    
    /* end Menu */
    
    
    
    /* begin Box, Block */
    .Block
    {
      overflow: hidden;
      min-width:21px;
      min-height:21px;
      margin: 0 auto;
      position: relative;
      z-index: 0;
    }
    
    
    .Block-body
    {
      position: relative;
      z-index: 0;
      margin: 10px;
    }
    
    .Block-tl
    {
      position: absolute;
      overflow: hidden;
      z-index: -1;
      top: 0;
      left: 0;
      width: 16px;
      height: 16px;
      background-image: url('images/Block-s.png');
    }
    
    .Block-tr
    {
      position: absolute;
      overflow: hidden;
      z-index: -1;
      top: 0;
      right: 0;
      width: 16px;
      height: 16px;
    }
    
    .Block-tr div
    {
      position: absolute;
      z-index: -1;
      top: 0px;
      left: -16px;
      width: 32px;
      height: 32px;
      background-image: url('images/Block-s.png');
    }
    
    .Block-bl
    {
      position: absolute;
      overflow: hidden;
      z-index: -1;
      bottom: 0;
      left: 0;
      width: 16px;
      height: 16px;
    }
    
    .Block-bl div
    {
      position: absolute;
      z-index: -1;
      top: -16px;
      left: 0;
      width: 32px;
      height: 32px;
      background-image: url('images/Block-s.png');
    }
    
    .Block-br
    {
      position: absolute;
      overflow: hidden;
      z-index: -1;
      bottom: 0;
      right: 0;
      width: 16px;
      height: 16px;
    }
    
    .Block-br div
    {
      position: absolute;
      z-index: -1;
      top: -16px;
      left: -16px;
      width: 32px;
      height: 32px;
      background-image: url('images/Block-s.png');
    }
    
    .Block-tc
    {
      position: absolute;
      overflow:hidden;
      z-index: -1;
      top: 0;
      left: 16px;
      right: 16px;
      height: 16px;
    }
    
    .Block-tc div
    {
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      width: 100%;
      height: 32px;
      background-image: url('images/Block-h.png');
    }
    
    .Block-bc
    {
      position: absolute;
      overflow:hidden;
      z-index: -1;
      bottom: 0;
      left: 16px;
      right: 16px;
      height: 16px;
    }
    
    .Block-bc div
    {
      position: absolute;
      z-index: -1;
      top: -16px;
      left: 0;
      width: 100%;
      height: 32px;
      background-image: url('images/Block-h.png');
    }
    
    .Block-cl
    {
      position: absolute;
      overflow:hidden;
      z-index: -1;
      top: 16px;
      left: 0;
      width: 16px;
      bottom: 16px;
    }
    
    .Block-cl div
    {
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      width: 32px;
      height: 100%;
      background-image: url('images/Block-v.png');
    }
    
    .Block-cr
    {
      position: absolute;
      overflow:hidden;
      z-index: -1;
      top: 16px;
      right: 0;
      width: 16px;
      bottom: 16px;
    }
    
    .Block-cr div
    {
      position: absolute;
      z-index: -1;
      top: 0;
      left: -16px;
      width: 32px;
      height: 100%;
      background-image: url('images/Block-v.png');
    }
    
    .Block-cc
    {
      position: absolute;
      overflow:hidden;
      z-index: -2;
      top: 16px;
      left: 16px;
      right: 16px;
      bottom: 16px;
      background-image: url('images/Block-c.png');
    }
    
    
    .Block
    {
      margin: 10px;
    }
    
    .Block table.table
    {
      border-collapse: collapse;
      margin: 1px;
    }
    
    .Block table.table th, .Block table.table td
    {
      padding: 2px;
    }
    
    
    .Block table.table td
    {
      vertical-align: top;
    }
    /* end Box, Block */
    
    /* begin BlockHeader */
    .BlockHeader
    {
      position: relative;
      overflow: hidden;
      height: 30px;
      z-index: 0;
      line-height: 30px;
      padding: 0 8px;
      margin-bottom: 2px;
    
    }
    
    .BlockHeader-text
    {
      white-space : nowrap;
      color: #000000;
      font-family: Georgia, "Times New Roman", Times, Serif;
      font-size: 12px;
      font-variant: small-caps;
      line-height: 30px;
    }
    
    
    .BlockHeader .l, .BlockHeader .r, .BlockHeader .r div
    {
      top: 0;
      position: absolute;
      z-index: -1;
      overflow: hidden;
      height: 30px;
    }
    
    .BlockHeader .l
    {
      left: 0;
      right: 7px;
    }
    
    
    .BlockHeader .r
    {
      right: 0;
      width: 7px;
    }
    
    
    .BlockHeader .r div
    {
      width: 978px;
      right: 0;
    }
    
    
    .BlockHeader .l, .BlockHeader .r div
    {
      background-position: left top;
      background-repeat: no-repeat;
      background-image: url('images/BlockHeader.png');
    }
    
    
    
    .header-tag-icon
    {
      display:inline-block;
      background-position:left top;
      background-image: url('images/BlockHeaderIcon.png');
      padding:0 0 0 26px;
      background-repeat: no-repeat;
      min-height: 18px;
      margin: 0 0 0 5px;
    }
    
    
    
    
    /* end BlockHeader */
    
    /* begin Box, BlockContent */
    .BlockContent
    {
      overflow: hidden;
      min-width:1px;
      min-height:1px;
      margin: 0 auto;
      position: relative;
      z-index: 0;
    }
    
    
    .BlockContent-body
    {
      position: relative;
      z-index: 0;
      margin: 11px;
    }
    
    
    .BlockContent-body
    {
      color:#3F2F0D;
      font-family: Georgia, "Times New Roman", Times, Serif;
      font-size: 12px;
      font-style: normal;
      font-weight: normal;
      letter-spacing: 0px;
    }
    
    .BlockContent-body a:link
    {
      color: #326C76;
      font-family: Georgia, "Times New Roman", Times, Serif;
      text-decoration: none;
    }
    
    .BlockContent-body a:visited
    {
      color: #65797B;
      font-family: Georgia, "Times New Roman", Times, Serif;
      text-decoration: none;
    }
    
    .BlockContent-body a:hover
    {
      color: #20A7BC;
      font-family: Georgia, "Times New Roman", Times, Serif;
      font-style: normal;
      font-weight: bold;
      text-decoration: underline;
    }
    
    
    .BlockContent-body ul
    {
      list-style-type: none;
      color: #475557;
      margin:0;
      padding:0;
    }
    
    .BlockContent-body li
    {
      font-family: Georgia, "Times New Roman", Times, Serif;
      font-size: 12px;
      text-decoration: none;
    }
    
    .BlockContent-body ul li
    {
      padding:1px 0 1px 20px;
      background-image: url('images/BlockContentBullets.png');
      background-repeat:no-repeat;
      margin:0.5em 0 0.5em 0;
      line-height:1.2em;
    }
    
    /* end Box, BlockContent */




    Grazie in anticipo.
    Ultima modifica di dreadnaut : 09-03-2009 alle ore 02.24.43 Motivo: + tag [code]

  2. #2
    Guest

    Predefinito

    Posta anche il codice della pagina!

  3. #3
    L'avatar di dreadnaut
    dreadnaut non è connesso Super Moderatore
    Data registrazione
    22-02-2004
    Messaggi
    6,266

    Predefinito

    la pagina sembra creata con il metodo delle colonne assolute. L'articolo dovrebbe chiarirti le idee

  4. #4
    Guest

    Predefinito

    Quale è il codice della pagina?
    Ho letto l'articolo ma cmq nn riesco a capire chi sono column-left e column-right nel file css ammesso che ci siano solo due colonne esplicitate.

    aiuto...

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •