![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: in your head
Posts: 3,625
|
Any bootstrap experts around?
Got an annoying problem, im trying to make a tube layout using bootstrap, so far so gooed, header navbar all weent well, even a carrousel and advert next to it no fucking problem. Until i hit the thumbnails :D
To clarify, i made a screenshot of whats going on: ![]() Now the code i use for the first thumbnail (the one that works): Code:
<li class="span2"> <div class="thumbnail"> <a href="#"> <img src="tn.jpg" alt=""> </a> <h6>Tanner sucks hard cock</h6> <span>See tanner mayes suck her boyfriends cock dry</span> <hr> <div class="thumbinfo1">250.345</div> <div class="thumbinfo2">25:00</div> <div class="thumbinfo1"><img src="5-stars.png"></div> <div class="thumbinfo2">2 days ago</div> <hr> <center>...</center> </div> </li> then the second thumb i use the following code: Code:
<li class="span2"> <div class="thumbnail"> <a href="#"> <img src="tn.jpg" alt=""> </a> <h6>Tanner sucks hard cock</h6> <span>See tanner mayes suck her boyfriends cock dry</span> <hr> <div class="thumbinfo1">250.345</div> <div class="thumbinfo2">25:00</div> <div class="thumbinfo1"><img src="5-stars.png"></div> <div class="thumbinfo2">2 days ago</div> <hr> </div> </li> So how to bloody fix this so it normally wraps around the entire cell and not just the thumbnail? tia, Ed
__________________
icq:148573096 skype:dabone2 email:boneless(a)mgpteam(.)com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Jul 2009
Posts: 217
|
no idea about bootstrap... but assuming thumbinfos are floating elements, it may help using something like <br clear="all" /> after them instead of <hr>... also i would use image sprite for stars
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jan 2013
Posts: 2,620
|
Code:
<div class="thumbnail cf"> add this to your css Code:
.cf:before, .cf:after { content: " "; /* 1 */ display: table; /* 2 */ } .cf:after { clear: both; } /** * For IE 6/7 only * Include this rule to trigger hasLayout and contain floats. */ .cf { *zoom: 1; } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: in your head
Posts: 3,625
|
Excellent guys, both solutions work but the latter makes my hr work as well.
muchas gracias! regards, Ed
__________________
icq:148573096 skype:dabone2 email:boneless(a)mgpteam(.)com |
![]() |
![]() ![]() ![]() ![]() ![]() |