Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Can’t get a container to move over (CSS)

  • Can’t get a container to move over (CSS)

    Posted by Alec Eagon on May 9, 2011 at 5:25 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 (https://peppvine.com/) 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!

    Hassan Shahab replied 14 years, 11 months ago 3 Members · 3 Replies
  • 3 Replies
  • Fernando Mol

    May 26, 2011 at 1:44 pm

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

  • Alec Eagon

    May 26, 2011 at 9:34 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)

  • Hassan Shahab

    June 22, 2011 at 3:50 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 🙂

    https://gulfesolutions.com/

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy