Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5
Mis Letras Aparecen Muy Juntas
#1
Hola! Bueno Este es mi Problema Como Veran Cuando Escribo una Palabra muy Larga me Aparecen Todas Juntas a las Letras un Ej:

http://frases-sky.skn1.com/like.php?id=56

Veran Que no hay espacio me Gustaria que alla un espacio y que se vean bien. Que Archivo Tengo que Editar? el Index o Sytles que vendria ser Como un CSS

Dejo el Index.php:

Código:
<?
include ("config.php");
if ($_POST["like"]) {
    $like=filtro($_POST["like"]);
    mysql_query("INSERT INTO fblike VALUES(NULL, '$like', '1')");
    $x=mysql_query("SELECT * FROM fblike ORDER BY id DESC LIMIT 1");
    while ($y=mysql_fetch_assoc($x)){
$id=$y['id'];
}
    ?>
    <script type="text/javascript"> window.location.href="<?=$url_site?>like.php?id=<?=$id?>";</script>
    <?
}
?>

<?
function filtro($cadena){
    $carac = array("<",">","'",'"');
    $sust = array("&lt;","&gt;","\'",'\"');
    return str_replace($carac,$sust,$cadena);
}
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>Palabras Sky! - Las mejores Frases - Agrega la tuya y busca la que mas te guste!</title>
<META NAME="author" CONTENT="Maxi Perez">
<META NAME="subject" CONTENT="Frases, Encontrar, Amor, Amistad">
<META NAME="Mssmarttagspreventparsing" CONTENT="true">
<META NAME="Keywords" CONTENT="Frases, Frases De Amor, Frases De Amigos, Frases De Amistad, Frases de Inteligencia, Frases De la Vida, Poemas, Frases Facebook, Frases Me Gusta, Me Gusta, Facebook.">
<META NAME="Geography" CONTENT="Argentina">
<META NAME="Language" CONTENT="Spanish">
<META HTTP-EQUIV="Expires" CONTENT="never">
<META NAME="Copyright" CONTENT="SKY">
<META NAME="Designer" CONTENT="Maxi Perez">
<META NAME="Publisher" CONTENT="Maxi Perez">
<META NAME="Revisit-After" CONTENT="1 days">
<META NAME="distribution" CONTENT="Global">
<META NAME="Allow-search" CONTENT="yes">
<META NAME="city" CONTENT="Buenos Aires">
<META NAME="country" CONTENT="Argentina">
<META CONTENT='All' NAME='audience'/>
<META CONTENT='General' NAME='Rating'/>
<META CONTENT='Global' NAME='Distribution'/>
<META CONTENT='Document' NAME='ObjectType'/>
<META CONTENT='index follow' NAME='googlebot'/>
<META CONTENT='index,follow,all' NAME='robots'/>
<META CONTENT='1 Days' NAME='revisit-after'/>
<META CONTENT='1 days' NAME='revisit'/>
<META CONTENT='Diseño,http://frases-sky.skn1.com/NAME='Maxi Perez'/>
<META CONTENT='http://frases-sky.skn1.com/' NAME='Identifier' scheme='URI'/>
<META CONTENT='http://frases-sky.skn1.com/' NAME='Publisher'/>
</head>

        <link rel="stylesheet" href="styles.css">
        
        <script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" src="js/jquery.corner.js"></script>
        <script type="text/javascript" src="js/main.js"></script>

            
        </script><link type="image/x-icon" href="images/facebook.gif" rel="icon" />
        <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17325205-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
    </head>
    
    <body>
        <div id="fb-root"></div>
        <script>
          window.fbAsyncInit = function() {
            FB.init({appId: '48272f6b9a278d88b2ec480da8790513', status: true, cookie: true,
                     xfbml: true});
          };
          (function() {
            var e = document.createElement('script'); e.async = true;
            e.src = document.location.protocol +
              '//connect.facebook.net/en_US/all.js';
            document.getElementById('fb-root').appendChild(e);
          }());
        </script>
        
    
<div id="header"> <a href="index.php" id="branding"><span>LikeItNow</span></a>
  <p id="total_pages" class="rounded"><span id="count">
    <?
        $x=mysql_query("SELECT * FROM fblike ORDER BY id DESC LIMIT 0,1");
        $nr=0;
        while ($y=mysql_fetch_assoc($x)) {
            $id=$y['id'];
            $like=$y['like'];
            ?>
    <?=$id?>
    <? echo substr(0,44);?>
    <?
    }
    ?>
    </span> <strong><em>Frases Creadas <img src="images/smyle.png"/><br> <iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.frases-sky.skn1.com/index.php%2F&amp;layout=button_count&amp;show_faces=true&amp;width=120&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:120px; height:20px"></iframe></em><br></strong></p>
        </div>
        
        <div id="page_details" class="rounded">
            <h2>Crear Nueva Frase ▼ </h2>
            
<!-- Histats.com  START  (standard)-->
<script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
<a href="http://www.histats.com" target="_blank" title="contador de visitas gratis" ><script  type="text/javascript" >
try {Histats.start(1,1754820,4,506,95,18,"00010000");
Histats.track_hits();} catch(err){};
</script></a>
<noscript><a href="http://www.histats.com" target="_blank"><img  src="http://sstatic1.histats.com/0.gif?1754820&101" alt="contador de visitas gratis" border="0"></a></noscript>
<!-- Histats.com  END  -->
  <form method="POST" action="index.php">
                <input type="text" name="like" class="comments" maxlength="1000" value="Escribi lo que pensas aca...!" onkeyup="htmlspecialchars(this.value, ENT_QUOTES);
" onfocus="if(this.value=='Escribi lo que pensas aca...!')this.value=''" />
                <p id="url"></p>

            Pega tus simbolos: ♡ | ♥ | ★ | ♀ | ♂ | ♠ | ♤ | ♣ | ♧ | © | ± | ☺ | ☻ | ☼ | ☎ | ♨ | ☞ | ♩ | ♪ | ♫
    <button id="create_button" type="submit"></button>
            </form>
        <br> </div>
        
<div id="page_details" class="rounded">
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-6657899295798788";
/* 728x90, creado 10/09/10 */
google_ad_slot = "0820173058";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</div>


        <div id="popular_pages" class="rounded box_420">
            <h2>Frases más populares</h2>
            <ul>
                                    <?
    $x=mysql_query("SELECT * FROM fblike ORDER BY hits DESC LIMIT 0,50");
    $nr=0;
    while ($y=mysql_fetch_assoc($x)) {
        $id=$y['id'];
        $like=$y['like'];
        ?>
<font size=1>
              <li><a href='like.php?id=<?=$id?>'><iframe src="http://www.facebook.com/widgets/like.php?href=<?=$url_site?>like.php?id=<?=$id?>&amp;layout=button_count&amp;show_faces=false&amp;width=120&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:21px;" allowTransparency="true"></iframe><? echo substr($like, 0,45);?>...</a><br></li></font>
         <?
    }
    ?>
                            </ul>
        </div>
        
        <div id="new_pages" class="rounded box_420">
            <h2>Frases del momento</h2>
            <ul>
                                     <?
        $x=mysql_query("SELECT * FROM fblike ORDER BY id DESC LIMIT 0,50");
        $nr=0;
        while ($y=mysql_fetch_assoc($x)) {
            $id=$y['id'];
            $like=$y['like'];
            ?>
<font size=1>          
           <li><a href='like.php?id=<?=$id?>'><iframe src="http://www.facebook.com/widgets/like.php?href=<?=$url_site?>like.php?id=<?=$id?>&amp;layout=button_count&amp;show_faces=false&amp;width=120&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:21px;" allowTransparency="true"></iframe><? echo substr($like, 0,45);?>...</a><br></li></font>
             <?
        }
        ?>

                                
            </ul>
        </div>
        
            
<strong><center><p id="footer" class="rounded">Frases Sky! &copy; 2011. - By SKY | Frases, Comparte y Busca las Que mas Te Gusten!
                   </p></center>

    </body>
</html>
<script>var _wau = _wau || []; _wau.push(["tab", "to6f8e0fh37o", "nvi", "left-middle"]);(function() { var s=document.createElement("script"); s.async=true; s.src="http://widgets.amung.us/tab.js";document.getElementsByTagName("head")[0].appendChild(s);})();</script>

styles:
Código:
html * {margin: 0; padding: 0;}

body {
  margin: 0 auto;
  width: 940px;
  background: #cae4f1;
  font-family: Verdana;
  font-size: 62.5%;
  line-height: 1.2em;
  letter-spacing: 0;
  text-align: left;
  word-spacing: normal;
  text-decoration: none;
  color: #444;}


UL {
font-size : 10pt;
font-family : "Trebuchet MS", arial, helvetica, sans-serif;
color : #003366;
;
}

UL UL LI {
font-size : 10pt;
font-family : "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color : #003366;
;
}

UL UL UL LI {
font-size : 10pt;
font-family : "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
color : #003366;
;
}

#branding {display: block; width: 390px; height: 97px; background: url('images/logo.gif') no-repeat left center; margin-top: 10px;}
#branding span {position: absolute; left: -9999px;}

h2 {color: #464646; font-size: 2em; margin-bottom: 10px;}

ul {}
li {list-style: none;}

input {
  font-family: Verdana;
  color: #c4c4c4;
  font-size: 1.8em;
  padding: 8px;
  border: #ececec 2px solid;
  margin-top: 5px;
}

p {font-size: 1.4em;}

button {width: 124px; height: 21px; border: none; cursor: pointer; display: block;}

.rounded {
  background: #fff;
  margin-top: 20px;}
  .rounded {
     -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
}



.box_420 {width: 420px; padding: 20px; float: left; overflow: hidden; margin-bottom: 20px;}
.box_420 li {overflow: hidden; border-bottom: #e2e2e2 1px solid;}
.box_420 li .like_button {float: left; margin-right: 30px; width:55px; height:25px; padding-top: 6px;}
.box_420 ul li a {display: block; color: #686868; font-size: 1.2em; text-decoration: none; float: left; padding: 10px 0;}
.box_420 ul li.last {border: none;}

#create_page, #page_details {padding: 20px; overflow: hidden; clear: both;}
#create_page input, #page_details input {width: 880px;}
#character_count {float: right; font-size: 1.2em; color: #7d7d7d; margin: -10px 0 10px 0;}
#url {font-size: 1.4em; margin-top: 10px; color: #aeaeae; display: none;}
#create_button {float: right; margin-top: 10px; width: 124px; height: 21px; background: url('images/create_button.gif') no-repeat left center;}
#create_button span {position: absolute; left: -999px;}

#total_pages {
  padding: 20px;
  width: 200px;
  text-align: center;
  font-size: 1.4em;
  float: right;
  margin: -80px 0 10px 0;}
#total_pages span#count {
  font-weight: 700;}


#popular_pages ul li, #new_pages ul li {overflow: hidden;}

#popular_pages ul li a:hover, #new_pages ul li a:hover {color: #464646;}

ul li a.last {border: none !important;}

#popular_pages h2, #new_pages h2 {
  padding: 12px 0 12px 45px;
  font-size: 1.8em;
  margin-top: -20px;
  background: url('images/star.gif') left center no-repeat;
}

#new_pages, #statistics, #useful_links {margin-left: 20px;}

#share {overflow: hidden;}
#share li {float: left; margin-right: 10px;}
#share li a {color: #7d7d7d; font-size: 1.2em;}

#footer {padding: 20px; font-size: 1.2em; clear: both; margin-bottom: 20px;}

sifr
Código:
/*****************************************************************************
scalable Inman Flash Replacement (sIFR) version 3.

Copyright 2006 – 2008 Mark Wubben, <http://novemberborn.net/>

Older versions:
* IFR by Shaun Inman
* sIFR 1.0 by Mike Davidson, Shaun Inman and Tomas Jogin
* sIFR 2.0 by Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben

See also <http://novemberborn.net/sifr3> and <http://wiki.novemberborn.net/sifr3>.

This software is licensed and provided under the CC-GNU LGPL.
See <http://creativecommons.org/licenses/LGPL/2.1/>
*****************************************************************************/

@media screen {
  .sIFR-flash {
    visibility: visible !important;
    margin: 0;
    padding: 0;
  }
  
  .sIFR-replaced, .sIFR-ignore {
    visibility: visible !important;
  }
  
  .sIFR-alternate {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    display: block;
    overflow: hidden;
  }
  
  .sIFR-replaced div.sIFR-fixfocus {
    margin: 0pt;
    padding: 0pt;
    overflow: auto;
    letter-spacing: 0px;
    float: none;
  }
}

@media print {
  .sIFR-flash {
    display    : none !important;
    height     : 0;
    width      : 0;
    position   : absolute;
    overflow   : hidden;
  }
  
  .sIFR-alternate {
    visibility : visible !important;
    display    : block   !important;
    position   : static  !important;
    left       : auto    !important;
    top        : auto    !important;
    width      : auto    !important;
    height     : auto    !important;
  }
}

/*
Place CSS rules for to-be-replaced elements here. Prefix by .sIFR-active
so they only apply if sIFR is active. Make sure to limit the CSS to the screen
media type, in order not to have the printed text come out weird.
*/
@media screen {
  /* Example:
  .sIFR-active h1 {
    font-family: Verdana;
    visibility: hidden;
  }
  */
}

Esos Codigo son para Editar! Espero sus Respuesta.
Small Pirate! Peliculas Online en Calidad De Dvd y HD

[Imagen: 1317323629.png]
WWW
#2
lo logico es que toques el styles que es el que marca las carcteristicas del texxto los margenes y demas Guiño
WWW


Posibles temas similares...
Tema Autor Respuestas Vistas Último mensaje
  Signos raros en acentos y letras Cine-lan 11 741 06-08-2014, 03:29 AM
Último mensaje: craick



Usuarios navegando en este tema: 1 invitado(s)