css lay-out

  • gt8ost4l
  • Student
  • Student
  • User avatar
  • Posts: 99

Post 3+ Months Ago

I been wondering what would be the best method for layout centering a design using fixed width or liquid
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8399
  • Loc: USA

Post 3+ Months Ago

Centering left to right would be the following...
Code: [ Select ]
margin-left: auto;
margin-right: auto;
  1. margin-left: auto;
  2. margin-right: auto;

About left to top. (I think that's how you do it... too lazy to check).
Code: [ Select ]
margin-top: 50%;
margin-bottom: 50%;
  1. margin-top: 50%;
  2. margin-bottom: 50%;
  • yagas
  • Novice
  • Novice
  • User avatar
  • Posts: 25
  • Loc: China

Post 3+ Months Ago

Code: [ Select ]
 
margin:0px auto;
  1.  
  2. margin:0px auto;
  • zero_digit
  • Graduate
  • Graduate
  • User avatar
  • Posts: 102

Post 3+ Months Ago

fixed width, if it fixed all the pictures and format of the page will intact, on any kind of resolution that user have....

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 43 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.