Jump to content

With a fixed top how do I get a list to always start below the fixed section?


phpjayx
Go to solution Solved by phpjayx,

Recommended Posts

I have fixed some entry boxes on the list with the following....

 

#fixed_top
{
    z-index:1;
    position:fixed;
    top:0%;
    height: auto;
    background-color:#ffffff;
    width: 99%;
}

 

 

 

I have a list below it, but the first item is alway behind the fixed area.  How can I alway start it so the list starts below the "fixed_top"?

 

 

Link to comment
Share on other sites

So everything below the SUBMIT button is the list... but the first item on the list is behind the top section..... I was able to FIX the top section so it doesn't move with the above code, but I can't get the list to start below the Fixed section..... I need it assign it relative to the top section so it works on any device.... IPAD, PC, Android... etc...

 

post-133784-0-56097300-1367952532_thumb.jpg

Link to comment
Share on other sites

  • Solution

Ok... figured it out..... the simple line of the following worked.....

 

margin-top:95px

 

 

I assumed it wouldn't because I wanted it to work on different devices so I thought that it would differ from an IPAD to a PC to a IPhone, etc.... but it works fine

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.