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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-03-2013, 03:57 AM   #1
boneless
Confirmed User
 
boneless's Avatar
 
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>
It works cause of the added three dots on the bottom, also the second hr doesnt show up, annoying!

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>
Now this one screws up big time as yall can see (border surrounding the entire cell is now only around the thumb cell).

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
boneless is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-03-2013, 05:50 AM   #2
miXXXture
Confirmed User
 
miXXXture's Avatar
 
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
__________________
I use Namesilo for domains and Mojohost, DigitalOcean & Vultr for hosting
miXXXture is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-03-2013, 05:58 AM   #3
Manfap
Confirmed User
 
Manfap's Avatar
 
Industry Role:
Join Date: Jan 2013
Posts: 2,620
Code:
<div class="thumbnail cf">
http://nicolasgallagher.com/micro-clearfix-hack/

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;
}
Manfap is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-03-2013, 06:06 AM   #4
boneless
Confirmed User
 
boneless's Avatar
 
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
boneless is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.