joemorris86 Posted August 14, 2011 Share Posted August 14, 2011 Ive seen a few ways to center text both vertically and horizontally, and they all seem a little drawn out, mainly to support ie i think. i was just wondering if there are any simple ways to do it, i dont care about ie loli have this, but it seems to display my text a little off center, more towards the top of my page .centered {position: absolute;top: 0;right: 0;bottom: 0;left: 0;width: 50%;height: 50%;margin: auto;} Link to comment Share on other sites More sharing options...
jeffman Posted August 14, 2011 Share Posted August 14, 2011 FWIW, vertically-centered text often looks pushed up a bit because very few words contain letters with descenders (p, q, y, etc.). This is especially noticeable if your text is in all-caps. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.