Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Span Style
Message
De
15/05/2014 04:20:59
 
 
Information générale
Forum:
HTML5
Catégorie:
HTML
Titre:
Divers
Thread ID:
01599989
Message ID:
01600010
Vues:
44
Hint from expirience: unless you work from inside the browser, skip "view source" and always use the raw stuff. Even if you work from inside the browser, different versions might throw wrenches into the working, if you plan to run on different machines. If you are in total control of the executing HW, basing your work on the possibly altered parsing done/shown by "view source" can save you manual parsing, but even that depends....

>I am looking at a web site where a text is rendered as paragraphs. For example:
>
>
>Lorem ipsum dolor sit amet, 
>
>consectetuer adipiscing elit, sed diam nonummy nibh 
>
>volutpat. Ut wisi enim ad minim veniam, quis 
>
>
>The HTML code (from View Source) for the above paragraphs is something like this:
>
>
><span id="id1" class="unknownclassname">
>   <a href="#">Lorem ipsum dolor sit amet, </a></span>
>
><span id="id2" class="unknownclassname">
>   <a href="#">consectetuer adipiscing elit, sed diam nonummy nibh </a></span>
>
><span id="id3" class="unknownclassname">
>   <a href="#">volutpat. Ut wisi enim ad minim veniam, quis </a></span>
>
>
>When I copy the above source into my blank HTML file all text appears as one continuous text, without breaks. As Span tag is supposed to do. Yet on the web site where I see this, it is all rendered as paragraphs. As if instead of Span they used P tag.
>
>Is this in their Span class? Or in other words, if you were to create a style for this "unknownclassname" what would be there to make the text appear in paragraphs?
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform