Try a CSS design that imitates the watercress FM Effect

Source: Internet
Author: User

I want to create an interface application based on the effect of Douban FM, but I only finished the work in FF, so it is really difficult to implement compatibility in IE ~~ Is it really so difficult to fix ed and center both left and right and vertically ?!!

 <  Html  >  <  Head  >  <  Title  > Test for div CSS </  Title  >  <  Style  > <! -- Body  {  Background-color  :  #333  ;  Margin  :  0  ;  Padding  : 0  ;  Height  :  100%  ;  Overflow  :  Auto  ;  }  Div. FD {  Width  :  500px  ;  Height  :  Pixel PX  ;  Position  :  Fixed ;  Top  :  50%  ;  Left  :  50%  ;  Margin  :  -95px 0 0-250px ;  Background  :  Url('frame.png ')  ;  _ Position  :  Absolute  ;  _ Top  : Expression(eval(document.doc umentelement. scrolltop ))  ;  _ Margin  :  0  ;  }  P. CP  {  Word-wrap  : Break-word  ;  Word-break  :  Break-all  ;  Background-color  :  White  ;  Padding :  48px  ;  Width  :  400px  ;  Margin  :  0 auto  ;  Font-size :  100px  ;  Line-height  :  Pixel PX  ;  }  -->  </  Style  >  </ Head  >  <  Div  Class  = "FD"  > </  Div  >  <  P  Class  = "CP"  >  The impact of internal factors of the structure design seller in the interface design on the effective response of the questionnaire survey... the information organization model (price sensitivity test) of the mobile web design is in the network Questionnaire  </ P  >  </  Body  >  </  Html  > 
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.