New Theme and an Irritating bug

Hey, so guess what? I’ve got a new theme :)

I’ve actually been spending some time making to get this theme work, as it wasn’t designed for WP, and the port wasn’t complete. I think it looks a lot better now and I almost happy with the results.

Because, as you might have guessed, there’s a problem with this theme, and I simply can’t find the reason for it. When I want to display code on more than one line, there’s created an empty space on 13 px under the codebox and I simply can’t get rid of it. I’ve literally spend hours trying to remove it and even posted on the WordPress support forum. But no luck, it’s still there. If you have any ideas of how to get rid of it, please let me know.

// See that irritating scroll bar on the right ?
// I don't like that at all!
// Please help me!

 

// this is a very long line to prove that the CSS property overflow is not set to 'scroll'. But is in fact set to auto.

 

Posted on October 2nd, 2010
Filed under This Blog |

2 Responses to “New Theme and an Irritating bug”

  1. Dom
    October 3rd, 2010 at 17:19

    It’s a css Overflow property. Try overflow: hidden or overflow: auto and it should get rid of it: http://www.w3schools.com/css/pr_pos_overflow.asp

  2. Rasmus Wriedt Larsen
    October 4th, 2010 at 16:30

    Thanks for your reply!

    I had the same idea! and I’ve made sure it’s on auto (it it were “scroll” it would also have a horizontal scroll bar). I’ve just added a new line that’s very long, so you can see that it is actually the case. Setting it to hidden would not be possible, as people would not be able to see long lines of code..

Leave a Reply