0

我的复选框由 img 提供。我尝试将它们并排放置,但没有成功。

我想要这个:http ://tinyurl.com/8g8ev2m (我是通过使用重力形式做到的,但不幸的是它不能满足我的需求)

看起来像这样:http ://tinyurl.com/8m7g295

我附加的第二个代码。

谢谢你的帮助。

.DesignCheckBox label {
               background-repeat: no-repeat;
               border: 2px solid #DDD;
                       height: 150px!important;
                       font-size: 150%;
                       -moz-border-radius: 20px;
                       -webkit-border-radius: 20px;
            border-radius: 20px; 
            -khtml-border-radius: 20px; 
                       background-image: url(http://doarna.com/wp-content/uploads/2012/09/XCellcom.gif);
                       }

<?php
global $wpdb;
 $query = "SELECT * FROM wp_organization where type='תקשורת'";
 $results = $wpdb->get_results( $query );

       foreach ($results as $result) {
                   $MEATZBEN= $result->NAME;
                   $MEATZBENID= $result->ID;
                   echo "<input type='checkbox' name='$MEATZBENID' value='$MEATZBEN'><label class='Checkboxstyle'>$MEATZBEN";

}
?>
4

0 回答 0