- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Having an issue at http://www.upsidecreative.com.au
All the thumbnails float left, and the small thumbnails are inside a small thumbnail holder (called “badass-holder”). The problem is, if you look at the above site and resize your screen, it breaks and gives some really weird floating.
You can see what I mean at this screenshot also http://upsidecreative.com.au/float1.jpg
Any ideas?
I like the way this image-gallery is responsive with using viewport-units, works well I think. Don’t know exactly if this is what you mean, but anyway; when the h4.year
should always stick to the most left-side, then it makes sense to clear everything that came before.
h4.year {
/* stuff */
clear: left;
}
Alternatively, one could use nth-child
selectors in mediaqueries, to clear floats after “a certain number of elements“.
Yes, VWs are the future of responsive design in my opinion
That’s not exactly the problem, I want to have the year boxes just float as part of the grid, not to the left of screen.
Does the layout break at the same point every time(, like at the start of the image wrapper “badass-holder“)?
no. i think the problem might be chrome doesnt like treating the h4 like a div