FORUMS: list search recent posts

Can't get a container to move over (CSS)

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Alec EagonCan't get a container to move over (CSS)
by on May 9, 2011 at 5:25:56 pm

Hey Everyone,

I am doing some custom css on a tumblr site and I've run into an issue I can't seem to work around. If you look here at my site ( you can see that the first video object is just hovering in the middle with a ton of ugly white space on both sides, and then below you can see that the other videos are floating left individually rather than stacking or compiling nicely into a grid.


The CSS for the video objects is:

/* ____________________________ Video Post Styling */

#container #contain .video {
width: 422px;
{block:PermalinkPage}{block:Posts}{block:Date}width: 422px!important;{/block:Date}{/block:Posts}{/block:PermalinkPage}
{block:TagPage}width: 301px!important;{/block:TagPage}
{block:SearchPage}width: 301px!important;{/block:SearchPage}

#container #contain .video embed, #container #contain .video object, #container #contain .video iframe {
width: 412px;
{block:PermalinkPage}{block:Posts}{block:Date}width: 422px!important;{/block:Date}{/block:Posts}{/block:PermalinkPage}
{block:TagPage}max-height: 250px!important;{/block:TagPage}
{block:SearchPage}max-height: 250px!important;{/block:SearchPage}
{block:TagPage}width: 291px!important;{/block:TagPage}
{block:SearchPage}width: 291px!important;{/block:SearchPage}

I've tried adding float and it hasn't seemed to help. Any help or ideas would be most appreciated. Thanks!

Return to posts index

Fernando MolRe: Can't get a container to move over (CSS)
by on May 26, 2011 at 1:44:57 pm

I can see you fix the problem. What was it?

Return to posts index

Alec EagonRe: Can't get a container to move over (CSS)
by on May 26, 2011 at 9:34:28 pm

Looks like it was an error in an outdated version of the source CSS.
Thanks though!

Alec E.

Macbook Pro 17" / 2.16 GHz Intel Core Duo / 2GB 667Mhz DDR2 SDRAM / 300 GB HD 5000RPM / OSX 10.5.8

Editing with: FCP 6.0.6

Working off of a Firwire800 500GB Glyph HD (I believe it is 7200RPM)

Return to posts index

hassan shahabRe: Can't get a container to move over (CSS)
by on Jun 22, 2011 at 3:50:14 pm

In the absence of a url here is a thought. When using position absolute the parent of the absolute container needs to be position relative. Just a thought. Otherwise put up the url and we can have a look :)

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 All Rights Reserved