iarp Posted October 2, 2008 Share Posted October 2, 2008 Hey, Trying to make a page that has a box 100% wide, 75px high has an image being repeated on the x axis and another image center in the middle. That way any screen size, the image centered will always be in the middle of the page. I've tried tables and divs and such and can't get anything to float in the center vertically. Any help? Quote Link to comment Share on other sites More sharing options...
sKunKbad Posted October 2, 2008 Share Posted October 2, 2008 http://www.joe2torials.com/css/examples/horizontal_and_vertical_centering_example.html Quote Link to comment Share on other sites More sharing options...
purplenewt Posted October 2, 2008 Share Posted October 2, 2008 if its just an image and you want centered and you are going to be declaring the height you could make the image into a background and then use the following css. background: url(image_name.jpg) center no-repeat #color; Hope this helps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.