Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pre tag - is it possible to make full width?
Message
De
23/12/2014 13:07:59
 
 
Information générale
Forum:
CSS
Catégorie:
Autre
Divers
Thread ID:
01612577
Message ID:
01612656
Vues:
33
>>>>Doesn't setting width to 100% work ?
>>>>IAC the pre tag seems a slightly odd choice. FWIW in most of my modals I use an angular form for the modal-body content - which will give you all of the layout options you can require.....
>>>
>>>What do you normally use when you want to display long formatted text with tabs and carriage returns? We use ace editor in our application, I can look into using it in that form too, but I thought I need something nice and pre tag seems to work good.
>>
>>Didn't know where your text comes from. A quick glance at the JPEG looked to me like it was a JSON object and, if so, you could have bound the properties in angular to a 'prettier' layout. That said it appears to be doing the job :-}
>
>This text comes from the SQL Server saved as quazi XML and then massaged in the C# code to make it the way it looks. I can post the XMLDisplay function code if needed, I developed it a while ago I am guessing with some help from here (most likely by Rob or you).

My only (mild) objection to that approach is that, by not returning an object, you are limiting the way the data can be utilized in the IDE....
But I'm thinking AJAXy rather than constructing the page on the ASP.NET side.....
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform