AccessShell Posted December 9, 2018 Report Share Posted December 9, 2018 I wrote a simple html page with text. When I open a new tab the page displays correctly. If I set the browser start page to the code, the text displays and very quickly repositions itself. Quote <!DOCTYPE html> <html> <head> <title>My Web Page!</title> </head> <body> <h1> </h1> <h1> <font color="blue"> <center> My Personal Home Page when using Internet Explorer 11 </center> </font></h1> <br> </br> </body> </html> Quote Can anyone explain what is happening and how to correct it. Thanks Quote Link to comment Share on other sites More sharing options...
administrator Posted December 9, 2018 Report Share Posted December 9, 2018 I am not sure what the question is. Also, you are using really old code that should be avoided: font color attribute and the center tag specifically. Stef Quote Link to comment Share on other sites More sharing options...
AccessShell Posted December 9, 2018 Author Report Share Posted December 9, 2018 Yes I am using font, color and center. I was not aware that these commands were no longer used. Quote Link to comment Share on other sites More sharing options...
AccessShell Posted December 9, 2018 Author Report Share Posted December 9, 2018 I changed my code as recommended by the admin. The new code is as follows Quote <!DOCTYPE html> <html> <head> <body> <br> </br> <div style="color:blue;text-align:center;font-size:30pt";font-family: Arial, Helvetica, sans-serif;> My Personal Home Page when using Internet Explorer 11 <br> </br> </div> </head> <body> </html> Quote The same repositioning occurs as before. I tried to follow css standards. Quote Link to comment Share on other sites More sharing options...
AccessShell Posted December 10, 2018 Author Report Share Posted December 10, 2018 I have discovered that this repositioning only happens on html-css code I hace written and resides on my computer. Quote Link to comment Share on other sites More sharing options...
administrator Posted January 25, 2019 Report Share Posted January 25, 2019 Hi, Sorry for the long delay. Your HTML coding needs work. There are errors in it that are messing things up. For example: <br> xyz </br> ... The above is bad code. There is no closing <br> tag, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.