Editing a line on a Web Page

RCL_Burco
RCL_Burco used Ask the Experts™
on
This question is kind of a continuation of our previous question which was solved. This was the previous question: How to Edit an .aspx page: We have a new website and one of the pages when opened in a browser is like a form, and the boxes are not lined up correctly and the page is dark.
Is there a program that I could open up the page and edit it, such as lining up the boxes and making the page brighter? We have Visual Studio 2015 and when I open the page up in design view, I can align the boxes but when I save it, it doesn't keep the changes.
New question:
We've been able to edit this page with Visual Studio 2015 somewhat but now I'm stuck. We have a label on this page called "Amount" which spans 2 columns and is centered. We would like to be able to put the text "Total" to the left of the "Amount", kind of like below:
                                                             Total                                 Amount
Please see the code below, thanks for your help.
<td colspan="2">
                             <asp:Label ID="lblAmount" runat="server" ForeColor="Black" BackColor="White" Font-Names="Calibri" />
                        </td>
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Chinmay PatelChief Technology Ninja
Distinguished Expert 2018

Commented:
Hi RCL_Burco,

You can try:
<td>Total</td>
<td>
                             <asp:Label ID="lblAmount" runat="server" ForeColor="Black" BackColor="White" Font-Names="Calibri" />
                        </td>

Open in new window


Regards,
Chinmay.
Nicolas LecanuAnalyst developer

Commented:
Hi, if you want to put labels in the same line, and have difficulty to, you can try this:

<NOBR>"the elements you want to be in the same line"</NOBR>

Hope this will fix your problem.

Author

Commented:
Chinmay, this worked, but the text "Total" is almost impossible to see because of the background.
I tried this below.
<td>Total</td> ForeColor="Black" Font-Bold="True" but this didn't work.

Thanks.
Chief Technology Ninja
Distinguished Expert 2018
Commented:
Hi RCL_Burco,

Please use
<td style="background-color:white" >Total</td>

Open in new window

and I would recommend you check out: https://www.w3schools.com/CSSref/default.asp
and
https://www.w3schools.com/html/default.asp

A quick primer on HTML and CSS will help you quickly fix your web page.

Regards,
Chinmay.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial