Visualizzazione dei risultati da 1 a 6 su 6

Discussione: Gestione <em>

  1. #1

    Gestione <em>

    Mi capita che quando uso il tag [i] si allargi di qualche pixel la larghezza del <div>.

    Come posso gestirlo???
    .Kilotto.

  2. #2
    posta il codice Html/Xhtml e quello Css pls..

  3. #3
    Uso WordPress, quindi inserisco i vari file.

    index.php
    Codice PHP:
    <?php get_header(); ?>

    <div id="content">
     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
      <div class="title">[url="<?php bloginfo('url'); ?>/feed"][img]<?php bloginfo('stylesheet_directory'); ?>/images/feed.gif[/img][/url] [url="<?php the_permalink() ?>"]<?php the_title(); ?>[/url]</div>
      <div class="time"><?php the_time('l, d M Y',display); ?></div>
      <div class="text"><?php the_content(__(''._MORE.'')); ?></div> 
      <div class="info"><?php edit_post_link(__(''._EDIT_THIS.' ·')); ?> Postato in <?php the_category(''._AND.''?> | <?php comments_popup_link(__('Commenti [ 0 ]'), __('Commenti [ 1 ]'), __('Commenti [ % ]')); ?> | Ore [url="<?php the_permalink() ?>"]<?php the_time('H:i'?>[/url]</div>
     <?php endwhile; else: ?>
      <?php _e(''._NO_POSTS_MATCHED_YOUR_CRITERIA.''); ?>
     <?php endif; ?>
      <div id="nav-post">
       <div id="nav-post-left"><?php next_posts_link('&laquo; '._PREVIOUS_ENTRIES.''?></div>
       <div id="nav-post-right"><?php previous_posts_link(''._NEXT_ENTRIES.' &raquo;'?></div>
      </div> 
    </div> 

    <?php get_sidebar(); ?>
     
    <?php get_footer(); ?>
    sidebar.php
    Codice PHP:
    <div id="sidebar">

    <div id="banner">
    -banner-
    </div>

    <div id="navigation">
     <div>[img]<?php bloginfo('stylesheet_directory'); ?>/images/title_blogtimes.gif[/img]</div> 
      <div id="calendar-box">
      <?php get_calendar(); ?>
      </div>
     <div>[img]<?php bloginfo('stylesheet_directory'); ?>/images/title_pages.gif[/img]</div> 
      <div class="box">
      <ul>
       <?php wp_list_pages('title_li=' ); ?>[/list]
      </div>
     <div>[img]<?php bloginfo('stylesheet_directory'); ?>/images/title_categorie.gif[/img]</div> 
      <div class="box">
      <ul>
      <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>[/list]
      </div>
     <div>[img]<?php bloginfo('stylesheet_directory'); ?>/images/title_archivio.gif[/img]</div>
      <div class="box">
      <ul>
      <?php wp_get_archives('type=monthly'); ?>[/list]
      </div>
     <div>[img]<?php bloginfo('stylesheet_directory'); ?>/images/title_links.gif[/img]</div>
      <div class="box">
      <ul>
      <?php get_links_list(); ?>[/list]
      </div>
     <div>[img]<?php bloginfo('stylesheet_directory'); ?>/images/title_contattami.gif[/img]</div>
      <div class="box">
      [img]<?php bloginfo('stylesheet_directory'); ?>/images/contact_msn.gif[/img] kilotto[at]gmail.com 

      [img]<?php bloginfo('stylesheet_directory'); ?>/images/contact_email.gif[/img] kilotto[at]gmail.com
      </div>
    </div>

    <div id="extra">
     <div>[img]<?php bloginfo('stylesheet_directory'); ?>/images/title_commenti.gif[/img]</div>
      <div class="box1">
       <div id="recent-comments">
       <?php k_recent_comments('10','10','','','true'); ?>
       </div>
      </div>
    </div>

    </div>
    style.css
    Codice PHP:
    /*  
    Theme Name: kOra
    Theme URI: [url]http://www.kilotto.com[/url]
    Description: Theme by [url="http://www.kilotto.com"]Kilotto[/url]
    Version: 1.0
    Author: Kilotto
    Author URI: [url]http://www.kilotto.com[/url]
    */

    A:LINKA:HOVER  {
        
    text-decorationnone;
        
    color#0066CC;
    }
    A:VISITED {
        
    text-decorationnone;
        
    color#004080;
    }
    BODY {
        
    text-aligncenter;
        
    background-imageurl(images/bg.gif);
        
    font-family"Trebuchet MS"Arial;
        
    font-size10pt;
        
    color#333;
        
    margin0px auto;
        
    padding0;
    }
    BLOCKQUOTE {
        
    font-styleitalic;
        
    margin0 0 0 15px;
        
    padding0 15px 0 10px;
        
    border-left3px solid #666;
    }
    EM {
        
    margin0;
        
    padding0;
    }
    h1h2h3h4h5h6 {
        
    font-size12pt;
        
    margin0;
        
    padding0;
    }
    IMG {
        
    bordernone;
    }
    LI {
        
    margin0;
        
    padding0;
        list-
    style-typenone;
    }
    OL {
        
    margin0;
        
    padding0;
    }
    UL {
        
    margin0;
        
    padding0;
    }

    /*** TEMPLATE ***/
    #container {
        
    background-imageurl(images/body-bg.gif);
        
    margin0px auto;
        
    width814px;
        
    background-repeatrepeat-y;
        
    overflowhidden;
    }
    #header {
        
    background-imageurl(images/head-bg.gif);
        
    width814px;
        
    height170px;
    }
    #content {
        
    floatleft;
        
    text-alignleft;
        
    margin0 0 0 3px;
        
    padding10px 10px 0 5px;
        
    _padding10px 5px 0 5px;
        
    width440px;
        
    _width450px;
    }
    #sidebar {
        
    floatleft;
        
    text-alignleft;
        
    width350px;
    }
    #banner {
        /* clear: both; */
        
    background#FFF;
        
    margin0 10px 0 5px;
        
    padding10px 0;
    }
    #navigation {
        
    floatleft;
        
    text-aligncenter;
        
    margin10px 0 0 0;
        
    padding0 0 0 0;
        
    width186px;
        
    _width190px;
    }
    #extra {
        
    floatleft;
        
    text-aligncenter;
        
    margin10px 0 0 5px;
        
    _margin10px 0 0 0px;
        
    width156px;
        
    _width160px;
    }
    #footer {
        
    clearboth;
        
    background-imageurl(images/foot-bg.gif);
        
    margin0px auto;
        
    width814px;
        
    height60px;
    }

    /*** FORMATTING ***/
    .box {
        
    text-alignleft;
        
    font-size8pt;
        
    margin5px 0 15px 0;
        
    padding0 12px 0 12px;
    }
    .
    box1 {
        
    text-alignleft;
        
    font-size8pt;
        
    margin5px 0 15px 0;
        
    padding0 15px 0 10px;
    }
    .
    box li {
        
    margin0;
        
    padding0 0 0 5px;
    }
    .
    info {
        
    text-alignright;
        
    font-size8pt;
        
    padding0 2px 20px 0;
    }
    #nav-post {
        
    displayinline;
        
    font-size8pt;
        
    color#666;
        
    padding0 0 0 0;
        
    margin20px 10px 10px 10px;
    }
    #nav-post-left {
        
    displayinline;
        
    floatleft;
        
    padding10px 0 0 10px;
        
    margin0;
    }
    #nav-post-right {
        
    displayinline;
        
    floatright;
        
    padding10px 10px 0 0;
        
    margin0;
    }
    .
    pagetitle {
        
    font-size12pt;
        
    padding0 0 10px 15px;
    }
    .
    text {
        
    text-alignjustify;
        
    margin0;
        
    padding0 5px 0 15px;
    }
    .
    text a {
        
    font-weightbold;
        
    color#0066CC;
    }
    .
    text a:visited {
        
    font-weightbold;
        
    color#004080;
    }
    .
    text a:hover {
        
    font-weightbold;
        
    color#FF3333;
    }
    .
    time {
        
    font-size8pt;
        
    margin0;
        
    padding0 0 0 10px;
    }
    .
    title {
        
    font-size14pt;
        
    font-weightbold;
        
    margin0;
        
    padding0 5px 0 5px;
    }
    .
    title a, .title a:visited {
        
    color#0066CC;
    }
    #strip {
        
    text-alignleft;
        
    margin0 0 0 20px;
        
    padding100px 0 0 0;
    }

    /*** COMMENTS ***/
    .comment {
        
    padding0;
        
    margin0 0 0 0px;    
    }
    #comments {
        
    padding0 0 10px 10px;
        
    margin0 0 0 0;
    }
    #commentform {
        
    margin0 0 0 0;
        
    padding0 0 0 15px;
    }
    .
    comment-area {
        
    background-color#F8FAFC;
        
    padding5px 10px;
        
    margin0px 5px 10px 5px;
        
    /* border-top: none;
        border-bottom: 1px solid #CCC;
        border-right: none;
        border-left: none; */
        
    border1px solid #CCC;
    }
    .
    comment-area p {
        
    padding0 0;
        
    margin10px 0;
    }
    #comment-author {
        
    font-size12pt;
        
    font-weightbold;
        
    padding0;
        
    margin0;
    }
    #comment-author a, #comment-author a:hover, #comment-author a:visited {
        
    color#0066CC;
    }
    #comment-n {
        
    floatright;
        
    font-size14pt;
        
    font-weightbold;
        
    color#0066CC;
        
    padding0;
        
    margin0;
    }
    #comment-n a, #comment-n a:hover, #comment-n a:visited {
        
    color#A7C1E2;
    }
    #comment-RSS, #comment-RSS a, #comment-RSS a:hover, #comment-RSS a:visited {
        
    font-size10px;
        
    color#0066CC;
        
    margin0 0 10px 15px;
    }
    #comment-text p {
        
    margin10px 10px 10px 5px;
        
    padding0;
    }
    #comment-time {
        
    font-size8pt;
        
    color#999;
        
    padding0 0 0 5px;
        
    margin0;
    }
    #comment-time a, #comment-time a:hover, #comment-time a:visited {
        
    color#0066CC;
    }
    #postcomment {
        
    background-color#000;
        
    color#FFF;
        
    padding0 10px 0 10px;
        
    margin0 0px 0 5px;
    }

    /*** CALENDAR ***/
    #calendar-box {
        
    margin0 0 15px 0;
        
    padding0;
    }
    #wp-calendar {
        
    background-color#FAF9FA;
        
    border1px solid #ddd;
        
    empty-cellsshow;
        
    font-size9pt;
        
    padding0 0 0 0;
        
    margin0px 10px;
        
    width160px;
    }
    #wp-calendar #next a {
        
    padding-right9pt;
        
    text-alignright;
    }
    #wp-calendar #prev a {
        
    padding-left9pt;
        
    text-alignleft;
    }
    #wp-calendar a {
        
    displayblock;
        
    background#F2F2F2;
        
    border1px dashed #CCC;
        
    text-decorationnone;
    }
    #wp-calendar a:hover {
        
    background#E2E2E2;
        
    color#333;
    }
    #wp-calendar caption {
        
    color#525E69;
        
    text-aligncenter;
        
    font-size12pt;
        
    font-weightbold;
    }
    #wp-calendar td {
        
    color#ccc;
        
    fontnormal 9pt "Trebuchet MS"Arial;
        
    letter-spacingnormal;
        
    padding0px 0;
        
    text-aligncenter;
    }
    #wp-calendar th {
        
    font-stylenormal;
        
    text-transformcapitalize;
    }
    #wp-calendar #today{
        
    background-color#E2E2E2;
        
    color#333;
        
    border1px solid #CCC;
    }

    /*** RECENT COMMENTS ***/
    #recent-comments {
        
    font-size8pt;
    }
    #recent-comments {
        
    color#555;
        
    margin10px 0 0 0;
        
    padding0 0 0 0;
        
    word-wrap: break-word;
    }
    #recent-comments a {
        /* color: #555; */
    }
    .
    rec-com-title {
        
    text-alignleft;
        
    font-weightbold;
        
    margin1px 0 0 0;
        
    padding0;
        
    border-bottom1px solid #ccc;
    }
    .
    rec-com-title a,.rec-com-title a:visited  {
        
    color#0066CC;
    }
    .
    rec-com-text {
        
    text-alignleft;
        
    margin0 0 0 5px;
        
    padding0;
    }
    .
    rec-com-text a,.rec-com-text a:visited  {
        
    color#555;
    }
    .
    rec-com-author {
        
    text-alignright;
        
    font-weightbold;
        
    margin0 5px 5px 0;
        
    padding0;

    .Kilotto.

  4. #4
    Il campo in questione è il TEXT.
    .Kilotto.

  5. #5
    Utente di HTML.it L'avatar di salasir
    Registrato dal
    Apr 2004
    Messaggi
    1,887
    Forse il tuo problema è l'Italig Bug.

    Guarda qui: Risoluzione dei problemi dei CSS


  6. #6
    Si, era proprio questo. Grazie.
    .Kilotto.

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.