Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS trying to get an adobe edge responsive design that works…little help

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #44022
    drotar
    Participant

    I have been trying to add an edge animation to my responsive site with no luck. does anybody have any idea how to go about doing this? i’ve already tried the
    width=”100%” height=”100% and also made the edge itself responsive by using %

    i can get the width to work but the height doesn’t, also i am getting those unwanted scrollbars

    any ideas would be greatly appreciated…

    please feel free to email me at: [email protected]

    the test site i am working on is http://www.johnbehring.tv/test/

    #131311
    Paulie_D
    Member

    Remove the `padding-top` from the body **and** the `bottom:2px` from the footer.

    Scrollbar disappeared when I did that on my laptop.

    #131319
    ElijahFowler
    Participant

    Remove both of the width=”100%” and height=”100%” on the Edge object, then place a class on it (class=”your_class_here”) and then place this style in your stylesheet:

    .your_class_here {
    min-height: 320px;
    min-width: 360px;
    vertical-align: middle;
    }

    That should get you going in the right direction.
    Hope it helps.

    -Elijah

    #131321
    drotar
    Participant

    thanks paulie_d for the scroll but still trying to figure out the edge

    #131323
    drotar
    Participant

    elijahF,
    thanks for the excellent try but no go. i have been wrestling with this for two days. Arhhhgggghhhhhh!

    d

    #131334
    drotar
    Participant

    this is the answer:

    markup :

    content

    css:

    .obj-wrapper {
    position:relative;
    width:50%;
    padding-bottom:40%;
    height:0;
    overflow:hidden;
    }
    .content {
    position:absolute;
    width:100%;
    height:100%;
    background:red;
    }

    #131335
    drotar
    Participant

    even better, the link to fixing it. http://stackoverflow.com/questions/9432029/setting-element-height-in-responsive-layout

    thanks again, P, for the advice on getting rid of the scrollbars.

    #131340
    ElijahFowler
    Participant

    Well, that won’t take into account of the element’s ratio, but if it’s working like you need it to then by all means use it.

    Glad you got it working.

    -Elijah

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘CSS’ is closed to new topics and replies.