Jump to content
php.lv forumi

Responsive design kājenes nobīde


wonder

Recommended Posts

Lūgums pēc palīdzības.

Veidoju lapu ar responsive dizainu, bet saskāros ar problēmu pie footer. Footers ir 680px liels, bet viņš negrib nocentrēties lapas apakšā.

Ja lapu skatos nemainot tās lielumu viss ir labi, bet ja sāk mainīt tad footers nobīdās.

Mēģināju ar sticky footer, bet nevaru viņu ieimplentot lapā dēļ citām fīčam. Varbūt ir kāds risinājums nelietojot sticky footer vai citus variantus!?

 

 

 

#footer1 {
        position:fixed;
        bottom:0;
        left: 33%;
        width:680px;
        height:80px;
        padding:8px;
        color:rgba(255,255,255,0.8);
        font-size:12px;
        text-align:center;
        -moz-box-shadow: inset 0 0 30px rgba(0,0,0,0.3); 
        -webkit-box-shadow: inset 0 0 30px rgba(0,0,0,0.3); 
        box-shadow: inset 0 0 30px rgba(0,0,0,0.3);
    }
 

 

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...