^maikl11 Posted March 6, 2021 Report Share Posted March 6, 2021 I am using TNG 13.0.3, template 12! under Setup >> Configuration >> Template Settings I enter the following in "Left image caption": ....<center> Family Landgraf and Eckart from Hawaii in 1905 <br> <hr> <hr> <div class = "header"> Info </div> <br> </center> <hr> <! - Start Log In button (Language Switching) -> </p> <div class = "mybutton smallbutton"> <a href="login.php"> 🔒 Login </a> </div> <! - End Log In button–> <! - Start Register button (Language Switching) -> <div class = "mybutton smallbutton"> <a href="newacctform.php"> ✎ Register </a> </div> <! - End Register button–> </center> <! - Start suppress login and registration chapter once user logged in–>..... So far so good! If I now go to save, the index page is completely shifted! I know it has to do with these characters (& # x1f512; and & # 9998;, (because as soon as I leave it out, everything is saved)) How can I elegantly solve this so that these symbols remain ??? I would be grateful for a solution! Thank you! Quote Link to comment Share on other sites More sharing options...
RickM Posted March 6, 2021 Report Share Posted March 6, 2021 Your page appears to load correctly in Firefox (Windows 10 environment). I see what looks like some extra text per snippet attached. Your comments are not correct per html standard and there are a couple of tags that are closed without an open one </p> and one </center>. I have taken the liberty and cleaned your code up as below. <center> Family Landgraf and Eckart from Hawaii in 1905 <br> <hr> <hr> <div class = "header"> Info </div> <br> <hr> <!-- Start Log In button (Language Switching) --> <div class = "mybutton smallbutton"> <a href="login.php"> 🔒 Login </a> </div> <!-- End Log In button -–> <!-- Start Register button (Language Switching) --> <div class = "mybutton smallbutton"> <a href="newacctform.php"> ✎ Register </a> <!--End Register button --></div></center> <!-- Start suppress login and registration chapter once user logged in -–> If there is further code maybe recheck it for correct syntax etc.. Quote Link to comment Share on other sites More sharing options...
^maikl11 Posted March 7, 2021 Author Report Share Posted March 7, 2021 Thank you ... I have now downloaded Microsoft Expression Web and it showed me even more errors! I removed the hex code and replaced it with a picture! This is what the code looks like now and it is stable! <div class="mybutton smallbutton"> <a href="login.php"> <img alt="" height="20" src="img/schloss.png" width="15" /> Anmelden </a></div> <div class="mybutton smallbutton"> <a href="newacctform.php"> <img alt="" height="17" src="img/account.png" width="20" /> Neues Benutzerkonto </a></div> 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.