george Posted March 28, 2012 Share Posted March 28, 2012 This sounds like it should be so easy. But the vertical align has proven a real problem for me. I may have to resort to JavaScript to calculate the height and width of the screen, and then absolutely position my image accordingly. But I am hoping there is a CSS way to do this.I am trying to center a small "loading" image. There will be nothing else on the screen. Anyone have the answer? Link to comment Share on other sites More sharing options...
george Posted March 28, 2012 Author Share Posted March 28, 2012 Problem solved -> I cheated. Made the image a background image, which is easily centered in CSS. Now after the page loads, I should be able to swap out the background image. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.