HTML - redirect page from http-equiv

HTML - redirect page from http-equiv Intro We can use JavaScript or PHP redirect page, we also can only use HTML redirect page But not suggest use this way Note: The value “refresh” should be used carefully, as it takes the control of a page away from the user. Using “refresh” will cause a failure in W3C’s Web Content Accessibility Guidelines. 使用 標籤進行重新導 [Read More]

Web Develop - Flexible Footer

Web Develop - Flexible Footer Sometimes we think footer must fixed in website bottom or put it in last of content. I provide a idea may be a good way. Content less browser view height, footer fixed in bottom. When content too much over browser view height, footer be put last of content. Feature flexible only use CSS Usage min-height: calc(100% - <footer height>); #hd { height: 50px; background: #aaa; /*display: none;*/ } #bd { text-align: center; min-height: calc(100% - 50px); /* important */ background: #ccc; } #content { padding-bottom: 60px; } #footer { position: relative; bottom: 50px; text-align: center; height: 50px; background: #999; } 50px is footer height [Read More]