2013-04-20, 10:19 AM
I was just looking at the new theme:
http://www.mybbsecurity.net/18/index.php
It's awesome. I'm loving the buttons specially. It's not the default OS style. I do have some suggestions though:
http://www.mybbsecurity.net/18/index.php
It's awesome. I'm loving the buttons specially. It's not the default OS style. I do have some suggestions though:
- Can you guys try to remove those <br>'s and use CSS instead.
The HTML scares me to not develop themes. The inline styles, <br>'s, and now [fixed] in 1.8 was the .gifs and conflicting jQuery with Prototype. I'm not sure if removing them from template files would break it or not and not sure if plugins require these inline styles and <br>'s.... If only these can be fixed I would LOVE to start developing... I just don't want anyone looking at my forums code and see a bunch of WTFHTML.....I'm excited for 1.8 since half of these problems seem to be fixed and developing MyBB themes wouldn't scare me as much.... (I'm sensitive about my code)
- Also, instead of "style="clear: both;"" Which adds more markup, why not just make a class name .clearfix, or even better .group (semantics<3.group & a less html using ether or). .group/.clearfix would contain:
.clearfix:before, .clearfix:after { content: "."; display: block; height: 0; overflow: hidden; } .clearfix:after { clear: both; } .clearfix { zoom: 1; /* IE < 8 */ }
- Not really a suggestion but a tip. type="text/css" is kinda pointless nowadays. You can just use <style>
- Remove style="text-align: center; and add css / a align-center class? Please.
- Please play with Media Queries and give mobile users some attention.
- Give classnames to video and image bbcode for designing purposes.