Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace old code with Bootstrap
Message
 
 
À
04/08/2017 11:16:24
Information générale
Forum:
HTML5
Catégorie:
Conception Web réactif
Divers
Thread ID:
01653075
Message ID:
01653082
Vues:
47
>>>>Hi,
>>>>
>>>>I am beginning a new project, add-on, to my existing ASP.NET Web Forms project (VS 2015). I am looking at how my "old" pages work but want to use a more modern approach for the new project pages.
>>>>
>>>>The first thing is the block of text appearing at the top of the page. The text comes from a file header.inc (where the text can be customized by each customer). The way I show this block of text at the top of the page in the old page is as follows:
>>>>
>>>>
>>>>		<table class="HeaderText" align="center" border="1">
>>>>				<tr>
>>>>					<td>
>>>>						<p><!--#include File="header.inc"--></p>
>>>>					</td>
>>>>				</tr>
>>>>			</table>
>>>>
>>>>
>>>>What class or HTML element you would suggest I use that can be made responsive with Bootstrap?
>>>
>>>Depends what you want your site to look like :-} Maybe something as simple as:
<div class="container">
>>>    <h1 class="text-center">><!--#include File="header.inc"--></h1>      
>>> </div>
>>
>>First, thank you. This should work. I thought that the approach of Including the text file inside the comments was too outdated. But apparently it is not.
>
>I very rarely generate dynamic content on the server now - pretty much everything is static html backed with WebApi and angular....

You are light years ahead of me.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform