Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Bootstrap - empty columns problem

Asked Modified Viewed 2,268 times
C
Catzenjaeger
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions
asked
Senior Member

i show my figures with this code in bootstrap

                               echo "<div class='container-fluid'>\n";
            echo "<div class='table-responsive'>\n";
            echo "<div class='row'>\n";   
echo "<div class='col-lg-4 col-md-4 col-sm-12 col-xs-12'>\n";
                     echo "<div class='navbar-default'><div class='text-smaller text-uppercase'><strong>".$locale['figure_441']."</strong>\n";
                  echo "</div></div></div>\n";                           
                  
                  // VARIANT DATA
                  echo "<div class='col-lg-8 col-md-8 col-sm-12 col-xs-12'>\n";
                        echo "<span class='small'>".$data['figure_variant']."</span>\n";      
                  echo "</div>\n";
         echo "</div>\n";
         echo "</div>\n";
         echo "</div>\n";


but if the column remains empty because the user has not entered text in the form, this line does not break
here 2 pics what you show my prob
what can i do that it looks always correctly?
www.php-fusion.co.uk/infusions/forum/attachments/ashampoo_snap_20160813_22h08m23s_006_.jpg

www.php-fusion.co.uk/infusions/forum/attachments/ashampoo_snap_20160813_22h09m44s_007_.jpg
Catzenjaeger attached the following file:
ashampoo_snap_20160813_22h09m44s_007_.jpg [No information available / 198 Downloads]
ashampoo_snap_20160813_22h08m23s_006_.jpg [No information available / 189 Downloads]
0 replies

2 posts

C
Catzenjaeger
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions
answered
Senior Member

for the moment i have add on all fileds add a space (&nbspwink this works .. but is this the right solution?
Edited by Catzenjaeger on 13-08-2016 22:57,
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

Try an inner div with display-block class in your value column.
0 replies

Category Forum

PHPFusion Dynamics - 9

Labels

None yet

Statistics

  • Views 0 views
  • Posts 2 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

C
C
  • Senior Member, joined since
  • Contributed 408 posts on the community forums.
  • Started 137 threads in the forums
  • Started this discussions
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet