css lay-out

  • gt8ost4l
  • Student
  • Student
  • User avatar
  • Joined: Mar 17, 2008
  • Posts: 98
  • Status: Offline

Post May 4th, 2008, 5:42 pm

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

Post May 4th, 2008, 5:42 pm

  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post May 4th, 2008, 6:24 pm

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%;
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • yagas
  • Novice
  • Novice
  • User avatar
  • Joined: Jun 03, 2004
  • Posts: 25
  • Loc: China
  • Status: Offline

Post May 5th, 2008, 12:33 am

Code: [ Select ]
 
margin:0px auto;
  1.  
  2. margin:0px auto;
  • zero_digit
  • Graduate
  • Graduate
  • User avatar
  • Joined: Apr 20, 2008
  • Posts: 102
  • Status: Offline

Post May 5th, 2008, 5:17 am

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 184 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
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.