sircharlo Posted July 1, 2007 Share Posted July 1, 2007 I know of the vertical-align feature, but is there a feature to center horizontally ?(I don't think text-align works with images, etc.) Link to comment Share on other sites More sharing options...
sircharlo Posted July 1, 2007 Author Share Posted July 1, 2007 I guess not Link to comment Share on other sites More sharing options...
sircharlo Posted July 2, 2007 Author Share Posted July 2, 2007 What does it take to geta reply here ? Link to comment Share on other sites More sharing options...
smartalco Posted July 2, 2007 Share Posted July 2, 2007 What does it take to geta reply here ? 1. wait longer than 3 hours2. ask a question that isnt answered on w3schoolshttp://www.w3schools.com/css/pr_pos_vertical-align.asp Link to comment Share on other sites More sharing options...
sircharlo Posted July 2, 2007 Author Share Posted July 2, 2007 ask a question that isnt answered on w3schools http://www.w3schools.com/css/pr_pos_vertical-align.asp I know of the vertical-align feature I'm looking for horizontal alignment. Does it exist ? Link to comment Share on other sites More sharing options...
AGazzaz Posted July 12, 2007 Share Posted July 12, 2007 this is the full CSS2 Referencehttp://www.w3schools.com/css/css_reference.aspand it is not listed in there you may take a look if you want Link to comment Share on other sites More sharing options...
justsomeguy Posted July 13, 2007 Share Posted July 13, 2007 Text-align does work for images, it works for whatever content is inside a container. Link to comment Share on other sites More sharing options...
Guest Radwulf Posted July 16, 2007 Share Posted July 16, 2007 I was looking for something similar to center a table that would pass HTML 4.01 validation requirements.What I have found is <table border="1" style="color: crimson; margin-left: auto; margin-right: auto">See if margin-left: auto; margin-right: auto works in your application Link to comment Share on other sites More sharing options...
sircharlo Posted July 30, 2007 Author Share Posted July 30, 2007 You're right, Radwulf, margin-auto centered my layout on my page. Thanks Link to comment Share on other sites More sharing options...
jlhaslip Posted August 3, 2007 Share Posted August 3, 2007 short version: margin: 0 auto;does the same thing using less code. Link to comment Share on other sites More sharing options...
sircharlo Posted August 3, 2007 Author Share Posted August 3, 2007 Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.