Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. <div id="masthead">
  2. <div class="container">
  3. <div class="row">
  4. <div class="col-md-7 header-logo">
  5. <div class="header-logo" style="color: white;">
  6. <img src="/img/gros_buck_175.png" class="img-responsive" align="left" style="padding-right: 1.5em;padding-top: 0px; max-width: 184px;">
  7. <br>
  8. TEL: 450 955-3422 <br>
  9. 182 CHEMIN D'ADAMSVILLE <br>
  10. J2L 2Y6, BROMONT<br>
  11. laboucheriedugrosbuck@gmail.com
  12. <br clear="all">
  13. </div>
  14. </div>
  15. <div class="col-md-5">
  16. <div class="well well-lg">
  17. <div class="row">
  18. <div class="col-sm-12">
  19. <img src="/img/sceau_140.png" class="img-responsive" align="left" style="padding-right: 1.2em;">
  20. <h3 style="margin-top:0px; margin-bottom: 1em;">PROMO</h3>
  21. FAITES VOTRE PLAN DE VIANDE:<br>
  22. ACHETEZ POUR PLUS DE 100$ DE PRODUITS
  23. À L'UNITÉ ET RECEVEZ 10% EN SAUCISSES.
  24. </div>
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. </div><!--/container-->
  30. </div><!--/masthead-->
  31.  
  32. <img src="/img/gros_buck_175.png"
  33. class="img-responsive"
  34. align="left"
  35. style="padding-right: 1.5em;padding-top: 0px;">
  36.  
  37. <img src="/img/gros_buck_175.png" class="img-responsive" id="myLogo" align="left">
  38.  
  39. #myLogo {
  40. padding-right: 1.5em;
  41. padding-top: 0px;
  42. }
  43.  
  44. #myLogo {
  45. all: initial!important;
  46. width: 100%!important;
  47. height: auto!important;
  48. }
  49.  
  50. Object.assign(document.getElementById('myLogo').style, {
  51. all: 'initial',
  52. width: '100%',
  53. height: 'auto'
  54. });
  55.  
  56. img {
  57. display:table-cell;
  58. width:100%;
  59. height:auto;
  60. }
  61.  
  62. img {
  63. display:inline-block;
  64. }
  65.  
  66. <div class="inline-wrap">
  67. <img src="http://placehold.it/150x150" />
  68. <div class="text-wrap">Lorem Ipsum is simply dummy text Lorem Ipsum is simply dummy text Lorem Ipsum is simply dummy text</div>
  69. </div>
  70.  
  71. *,*:before,*:after {
  72. box-sizing: border-box;
  73. }
  74. .inline-wrap {
  75. white-space: nowrap;
  76. font-size: 0;
  77. height: 150px;
  78. }
  79. .inline-wrap img {
  80. width: 150px;
  81. }
  82. .inline-wrap .text-wrap {
  83. white-space: initial;
  84. font-size: initial;
  85. display: inline-block;
  86. height: 100%;
  87. width: 65%; /* Fallback */
  88. width: calc(100% - 150px);
  89. }
  90.  
  91. <table>
  92. <tr>
  93. <td class="img-wrap">
  94. <img src="http://placehold.it/150x150" />
  95. </td>
  96. <td class="text-wrap">Lorem Ipsum is simply dummy text Lorem Ipsum is simply dummy text Lorem Ipsum is simply dummy text</td>
  97. </tr>
  98. </table>
  99.  
  100. *, *:before, *:after {
  101. box-sizing: border-box;
  102. }
  103. table, tr, td {
  104. border: 0;
  105. padding: 0;
  106. margin: 0;
  107. border-collapse: collapse;
  108. }
  109. table {
  110. width:100%;
  111. }
  112. table .img-wrap {
  113. font-size: 0;
  114. }
  115. table .text-wrap {
  116. width: 100%;
  117. height: 100%;
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement