Télécharger
Développer
Compte
Télécharger
Développer
Connexion
Mot de passe oublié ?
Créer un compte
Langue
Aide
Langue
Aide
×
Connexion
Nom du compte
Mot de passe
×
Mot de passe oublié ?
Traduction statut du Français
Catégorie :
Logiciel
Peuple
PersonalForge
Magazine
Wiki
Recherche
OSDN
>
Trouver un logiciel
>
Internet
>
WWW/HTTP
>
Dynamic Content
>
XOOPS
>
Ticket List/Search
>
Ticket #9514
XOOPS
Description
Résumé du projet
Dashboard - Développeur
Page Web
Développeurs
Galerie d'images
Liste des flux RSS
Activité
Statistiques
Historique
Téléchargements
List of Releases
Stats
Code Source
Liste des dépôts de code
CVS
Voir le référentiel
Ticket
Liste des tickets
Liste des Jalons
Liste des types
Liste des composants
Liste des tickets/RSS fréquemment utilisés
Soumettre un nouveau ticket
Documents
Communication
Forums
Liste des forums
Forum d’aide (1)
Discussion-Ouverte (1)
Listes de diffusion
Liste de ML
xoops-cvslog
Nouvelles
Ticket #9514
Liste des tickets
Soumettre un nouveau ticket
RSS
CSS to make preformatted text wrap
Date d'ouverture:
2006-12-03 22:30
Dernière mise à jour:
2007-01-11 21:39
monitor
ON
OFF
Rapporteur:
gigamaster
Propriétaire:
tom_g3x
Type:
XOOPSCube2.1 Bugs
État:
Atteints
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
Aucun
Détails
Répondre
Themes "cube_default"
style.css
Replace the following code:
/************************************/
div.xoopsCode pre {
border: solid 1px #c0c0c0;
margin:0;
overflow:auto;
padding:0 1em;
min-height:4em;
height:auto;
}
/* for IExplorer */
* html div.xoopsCode pre {
height:4em;
height:auto; /* IE 6.x */
width:40em;
}
/************************************/
By the following one:
/************************************/
/* Browser specific (not valid) styles to make
preformatted text wrap */
div.xoopsCode pre {
border: solid 1px #FF0000; /* Design Optional Border */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
/************************************/
If it is not W3C validated at least it will not break
the page layout on the most common browsers.
Ticket History (3/4 Histories)
Show older Histories
2006-12-03 22:31
Updated by:
gigamaster
Résolution
Update from
Aucun
to
Works For Me
2007-01-10 11:06
Updated by:
minahito
Propriétaire
Update from
(Aucun)
to
tom_g3x
(Catégorie change on Tracker)
Résolution
Update from
Works For Me
to
Accepted
Commentaire
Répondre
Logged In: YES
user_id=8353
Thank you for your patches. Tom_G3X will consider these
suggestions. Please, Tom_G3X! ;-)
[JA]
パッチありがとうございます。Tom_G3Xさんがこの提案をどうする
かやってくださると思います。Tomさんよろしくおねがいします~
2007-01-11 21:39
Updated by:
tom_g3x
Résolution
Update from
Accepted
to
Fixed
État
Update from
Ouvert
to
Atteints
Commentaire
Répondre
Logged In: YES
user_id=6745
Marged code. thanks gigamaster!
2007-01-11 21:39
Updated by:
tom_g3x
Ticket Close date
is changed to
2007-01-11 21:39
Attachment File List (
0
)
Attachment File List
No attachments
Modifier
Ajouter un commentaire
You are not logged in.
I you are not logged in, your comment will be treated as an anonymous post. »
Connexion
Ajouter un commentaire
Aperçu
Soumettre
Themes "cube_default"
style.css
Replace the following code:
/************************************/
div.xoopsCode pre {
border: solid 1px #c0c0c0;
margin:0;
overflow:auto;
padding:0 1em;
min-height:4em;
height:auto;
}
/* for IExplorer */
* html div.xoopsCode pre {
height:4em;
height:auto; /* IE 6.x */
width:40em;
}
/************************************/
By the following one:
/************************************/
/* Browser specific (not valid) styles to make
preformatted text wrap */
div.xoopsCode pre {
border: solid 1px #FF0000; /* Design Optional Border */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
/************************************/
If it is not W3C validated at least it will not break
the page layout on the most common browsers.