Showing posts with label bootstrap. Show all posts
Showing posts with label bootstrap. Show all posts

Sunday, April 3, 2016

My binary world

I am a coder and so I view this world in binary....

Zeros and Ones. Good and Bad. Heroes and Villains. Black and White.

So how the heck am I supposed to create a green button? :)



Tuesday, March 22, 2016

Bootstrap makes overflow hidden automatically.

My Div

 <div class="form-group" >

contained a table far too wide. But instead of showing the horizontal scrollbar, the table was just brutally cut off and we couldn't see it.





Simple fix:

 <div class="form-group" style="overflow:scroll" >

Of course, later I decided to use an IFRAME and so it didn't matter anymore!

Friday, March 18, 2016


Code using Bootstrap to wrap text around a embedded video:







<div class="widget-content">
<h1 class="page-title">Welcome!</h1>
<div class="separator-2"></div>


<div class="row">
<div class="col-md-12">
                               
                                        <div class="pull-right" style="position:relative;padding-bottom:2%; padding-left:2%">

<div class="embed-responsive embed-responsive-16by9">
                                            <iframe width="420" height="315" src="https://www.youtube.com/embed/R-TBYP0xZCw" frameborder="0" allowfullscreen></iframe>

</div>
                                    </div>

                          
Blah blah blah blah.







</div>
</div>