Title: CSS Problem
Last modified: August 19, 2016

---

# CSS Problem

 *  Resolved [jayt85](https://wordpress.org/support/users/jayt85/)
 * (@jayt85)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/css-problem-5-2/)
 * Hi Folks,
 * you can see my problem here: [http://tiny.cc/11LWT](http://tiny.cc/11LWT)
 * The single games should appear side by side. Can anyone help me?
 * Here you can find a zip file with the page_spielhalle.php and the style.css: 
   [http://tiny.cc/zO9aA](http://tiny.cc/zO9aA)
 * Thank You!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/css-problem-5-2/#post-1344171)
 * Delete `<div style="clear:both;"></div>` from the page_spielhalle.php
    which 
   you’ll find around this area:
 *     ```
       <?php // check if leaderboard is enabled
                           if ( function_exists('myscore_check_leaderboard') ) myscore_check_leaderboard();
                         ?>
                       </a>
                     </div>
       <div style="clear:both;"></div>
              <?php endforeach; ?>
       ```
   
 * therefore
 *     ```
       <?php // check if leaderboard is enabled
                           if ( function_exists('myscore_check_leaderboard') ) myscore_check_leaderboard();
                         ?>
                       </a>
                     </div>
              <?php endforeach; ?>
       ```
   
 * Then in your style.css, you should change
 *     ```
       .game_title {
       float:left;
       margin:0 0 0 5px;
       padding:0;
       text-align:center;
       }
       ```
   
 * to something like one below or change margin/padding to taste
 *     ```
       .game_title {
       float:left;
       margin:0 0 10px 10px;
       padding:0;
       text-align:center;
       }
       ```
   
 *  Thread Starter [jayt85](https://wordpress.org/support/users/jayt85/)
 * (@jayt85)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/css-problem-5-2/#post-1344176)
 * I tried to use the problem with this solution but it solved the problem only 
   partly.
 * Every category show 6 posts sorted randomly. If a category have less than 6 posts
   the list is bad.
 * You can see it here: [http://tiny.cc/11LWT](http://tiny.cc/11LWT)
 *  Thread Starter [jayt85](https://wordpress.org/support/users/jayt85/)
 * (@jayt85)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/css-problem-5-2/#post-1344191)
 * I solved the problem!
 * I put to my style.css:
 *     ```
       #cat_view h4 {
         padding:  5px 5px 0px 0px;
       }  
   
       .cat_link {
         float: right;
         text-align: right;
         font-weight: bold;
         height:  17px;
         width:  600px;
         margin:  7px 5px 0 2px;
         padding-right:  17px;
         background:  url(images/more.png) no-repeat 0 0;
         background-position:  right;
       }
       ```
   
 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/css-problem-5-2/#post-1344256)
 * It may look good now in Internet Explorer but it’s not looking good in Firefox.
   Add the `<div style="clear:both;"></div>` back but this time look below:
 *     ```
       <?php endforeach; ?>
                   <div class="cat_link"><a href="<?php echo get_category_link($cat_id); ?>">... weitere Spiele dieser Kategorie</a></div>
       	<div style="clear:both;"></div>
                 </div>
               <?php endif;
             }
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘CSS Problem’ is closed to new replies.

## Tags

 * [CSS problem](https://wordpress.org/support/topic-tag/css-problem/)

 * 4 replies
 * 2 participants
 * Last reply from: [@mercime](https://wordpress.org/support/users/mercime/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/css-problem-5-2/#post-1344256)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
