•  vcsharp
  • 88.4% (Honored)
  • YAF Commander Topic Starter
The following code in Footer.cs under YAF.Controls is causing the width to be more than phone's width for phone with a width less than 500px . The result is a bad looking layout since horizontal scroll bars appear just for this extra wide div.

				@"<br /><br /><div style=""width:500px;margin:auto;padding:5px;text-align:right;font-size:7pt;""><span style=""color:#990000"">YAF Compiled in <strong>DEBUG MODE</strong></span>.<br />Recompile in <strong>RELEASE MODE</strong> to remove this information:");
			footer.Append(@"<br /><br /><a href="""" >XHTML</a> | ");
			footer.Append(@"<a href="""" >CSS</a><br /><br />");

If the width=500px is removed from above C# code, then the layout on mobile phone does not become wider than phone width and layout is properly maintained on mobile devices.
Thanks this will be fixed with the next release!

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved