Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace old code with Bootstrap
Message
From
04/08/2017 12:26:48
 
General information
Forum:
HTML5
Category:
Responsive web design
Miscellaneous
Thread ID:
01653075
Message ID:
01653085
Views:
40
>>>>>>>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.
>>
>>Been working on apps that have to work on a slow, even intermittent, cellular connection. Round tripping whole pages wasn't really a viable option....
>
>I have a - kind of - similar situation with my iOS app where the data has to be stored locally until wi-fi is available and the data can be sent to the web api. Challenging.

Challenging is putting it mildly :-{

To test I connect my development machine via a mifi box and then stick it in a lead box to simulate losing a connection :-}
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform