This is a feature that is found in SMF, and a lot of MyBB users I know have asked about a similar feature. While this is not a simple preference pane value, it is easy to set up, and anyone should be able to do so.
Continue reading ‘Limiting signature image width/height in MyBB’
Tag Archive for 'css'
Many advanced web designers know of this trick, but there doesn’t seem to be any documentation about it anywhere. It is a simple css trick to allow a user viewing a table with no cell borders to see what all lies in a row.
The trick is to make it so when a user hovers over a cell, the entire row changes some fundamental manner (background color, font size, font color, etc) to show that those cells are connected. While you could do this with Javascript, a better alternative is to use CSS[1. Using CSS when avalible to do what is usually done with Javascript is ALWAYS better, as it is faster and usually easier to debug]. When you have a well defined table, add this to the table’s css:
1 2 3 | tr:hover td { background: blue; } |
You don’t have to use a background to do the changing, you can use any entry you want there, i just used background for an example.
This will make it so when a user hovers over a row, all the cells in that row change their background colors.
This makes it easy for a user to identify elements, while still keeping tables stylish. If you have headers, you can do a similar trick, but you want to use a different hover color. To do that, replace the td portion with th
One more tweak. The time is now displayed more prominently for posts, this is to make it easier to browse via date.
The update took a bit longer than i had anticipated, so there were some times when things may not have looked right. Rest assured that everything has since been fixed. However, if you see a bug, please tell me in the comments on this post.
Many sites use loads of <blockquote> and <code> tags (or other types of block text tags) to house text. Most of these are inserted in a post, be it a forum, blog, or other post. Problem is, if there is a load of content in these blocks, it can quickly take over your whole post, and give users a never ending scrollbar. With 2 css properties, you can change this, without adding load to your server.
815417267f76f6f460a4a61f9db75fdb%3Ca%20href%3D%22http%3A%2F%2Fparadoxdgn.com%2Farchives%2F71%23more-71%22%20class%3D%22more-link%22%3EContinue%20reading%20%27Make%20your%20code%20and%20blockquotes%20scroll%27%3C%2Fa%3E%0A%3C%2Fpre%3E0fbd1776e1ad22c59a7080d35c7fd4db
There comes a time in every web developers life when he or she needs to make a directory listing. There are many ways to do this, and some of the most common are to either just use apache for a barebones one, or use php for a styled one. I prefer Apache, because it has untapped possibilities, and almost EVERY webserver has it. You can see what a well designed apache index looks like here







Well, to make my site appear better, and more like what i had originally invisioned, i have spent the afternoon tweaking my css and php files to generate the newish version of the site. You should see the changes immediatly, but if you don’t, i will explain them. First off, each post now appears in a little box. The title is at the top, metadata is below it, content is in the center, and comment and view information is at the bottom. The comment count has been moved to the bottom of the post, to remedy some complaints about the word wrap eating it. Along it joins a new feature, views. These count how many times a post is viewed. They do not count my views.
Hope you guys enjoy these features.