Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Now on HTML5 Reply #30 - Oct 23rd, 2014 at 4:45pm Mark & QuoteQuote Looks like a few of the "divs" are too wide... SlimBrowser uses Trident engine, which uses implicit padding of elements, and that creates weird effects when you assume the whole width of screen or outer element is 100%, when it actually is slightly less, somewhere around 99.4% depending on number of elements in a horizontal row and width of the window. Sometimes using spans instead of divs makes things look better, especially if everything is supposed to be fit and align on same physical horizontal row. GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Now on HTML5 Reply #31 - Oct 23rd, 2014 at 5:28pm Mark & QuoteQuote I think the html5 version may be offered as an add-on template rather than main-line code for some time. However, working on it has pointed out some interesting issues in terms of things being hard-coded in Mods. There are a lot of unexpected things that have shown up in this particular exercise. It's also been pointed out that I may have been moving too fast on this. So expect some changes as I rearrange things like templates and do some work in the AdminCenter. Monni wrote on Oct 23rd, 2014 at 4:45pm:Sometimes using spans instead of divs makes things look better, especially if everything is supposed to be fit and align on same physical horizontal row. Good advice. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Now on HTML5 Reply #32 - Oct 23rd, 2014 at 6:59pm Mark & QuoteQuote Dandello wrote on Oct 23rd, 2014 at 5:28pm:Good advice. Eh... I used to be member of the IE beta team IE is the main browser using Trident engine GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Now on HTML5 Reply #33 - Oct 23rd, 2014 at 9:57pm Mark & QuoteQuote I was playing with the top stuff using spans... Code <div class="menutop"> <span class="small" style="display: inline-block; padding-left:1%; width: 20%; line-height:2.6em; vertical-align: top;" id="yabbclock">23. lokakuuta 2014 klo 00:52<script type="text/javascript"> WriteClock('yabbclock','23. lokakuuta 2014 klo ',' '); </script></span> <span class="small center" style="display: inline-block; width: 57%; line-height:2.6em; vertical-align: top;">Change Template: <form name="styleswitcher" action="http://yabbforumsoftware.com/cgi-bin/yabb2/YaBB.pl" method="post"> <input type="hidden" name="redir" value=""> <select name="template" onchange="submit()"> <option value="Forum default" selected="selected">Forum default</option> <option value="New Fall">New Fall</option> </select> <input type="hidden" name="formsession" value="477F5C5C3E5A7B687B72716E737B706A3E387F736E253E53717A6D5377757F521E0"> </form> </span> <span style="display: inline-block; width: 20%; padding-right: 1%"> <span class="yabb_searchbox"> <form action="http://yabbforumsoftware.com/cgi-bin/yabb2/YaBB.pl?action=search2" method="post" accept-charset="UTF-8"> <input type="hidden" name="searchtype" value="allwords"> <input type="hidden" name="userkind" value="any"> <input type="hidden" name="subfield" value="on"> <input type="hidden" name="msgfield" value="on"> <input type="hidden" name="age" value="31"> <input type="hidden" name="oneperthread" value="1"> <input type="hidden" name="searchboards" value="!all"> <input type="text" name="search" size="16" id="search1" value="Haku" style="font-size: 11px;" onfocus="txtInFields(this, 'Haku');" onblur="txtInFields(this, 'Haku')"> <input type="image" src="http://yabbforumsoftware.com/yabbfiles/Templates/Forum/default/search.png" alt="Viestit ei vanhempia kuin 31 päivää" title="Viestit ei vanhempia kuin 31 päivää" style="background-color: transparent; margin-right: 5px; vertical-align: middle;"> <input type="hidden" name="formsession" value="477F5C5C3E5A7B687B72716E737B706A3E387F736E253E53717A6D5377757F521E0"> </form></span><span class="yabb_rss"><a href="http://yabbforumsoftware.com/cgi-bin/yabb2/YaBB.pl?action=RSSrecent" target="_blank"><img src="http://yabbforumsoftware.com/yabbfiles/Templates/Forum/default/rss.png" alt="RSS-syöte" title="RSS-syöte"></a></span> </span> <div class="clear"></div> </div> This is uncleaned raw html straight from debugger session 20%+57%+20% = 97%, which was few pixels too small. GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Now on HTML5 Reply #34 - Oct 28th, 2014 at 2:03pm Mark & QuoteQuote The Calendar XHTML rollup doesn't work in in HTML5 - probably a tag mismatch. However the Marquee rollup does work. Go figure, the better one is the one that's deprecated. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Now on HTML5 Reply #35 - Oct 28th, 2014 at 3:38pm Mark & QuoteQuote Dandello wrote on Oct 28th, 2014 at 2:03pm:The Calendar XHTML rollup doesn't work in in HTML5 - probably a tag mismatch. However the Marquee rollup does work. Go figure, the better one is the one that's deprecated. It obviously needs complete redesign as it is using single column table and we already decided that was bad design idea... GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Now on HTML5 Reply #36 - Oct 28th, 2014 at 8:32pm Mark & QuoteQuote I found the tag mismatch - I had moved the table-display styling into a class in the css file - but for the Calendar roll-up it needed to remain as a style rather than a class. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Monni Language Offline Min izāmō Posts: 413 Location: Kaarina, Finland Joined: Jul 16th, 2014 Gender: Mood: Frustrated Zodiac sign: Re: Now on HTML5 Reply #37 - Oct 28th, 2014 at 10:26pm Mark & QuoteQuote Dandello wrote on Oct 28th, 2014 at 8:32pm:I found the tag mismatch - I had moved the table-display styling into a class in the css file - but for the Calendar roll-up it needed to remain as a style rather than a class. We always learn something new by making mistakes... GTalk Skype/VoIP Facebook Twitter YouTube ICQ IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: Now on HTML5 Reply #38 - Oct 31st, 2014 at 4:55am Mark & QuoteQuote The XHTML default template is back and the HTML5 is now an optional template. I still have some tweaking to do. The UBBC folders have been moved out of Templates/Forum/ and into yabbfiles/UBBCbuttons so there only needs to be one copy of the UBBC buttons. I think the 'new message' button can be styled using just css. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged