brown2005 Posted March 1, 2007 Share Posted March 1, 2007 #contentWrapper { width: 100%; margin-top: 0px; background: url("../images/topbar/main.gif") no-repeat; } how do i make my image the full height of the <div> please... Quote Link to comment https://forums.phpfreaks.com/topic/40696-image-background-height/ Share on other sites More sharing options...
jcombs_31 Posted March 1, 2007 Share Posted March 1, 2007 you didn't really specifiy enough information, but based on what you have posted: The image will not stretch, but more will become exposed based on the image size and container size. If you are using an image you want to repeat, then you must specifiy that. Right now you declared no repeat. How big is your background image, how big is the container? More info please to better assist. Quote Link to comment https://forums.phpfreaks.com/topic/40696-image-background-height/#findComment-197047 Share on other sites More sharing options...
mainewoods Posted March 4, 2007 Share Posted March 4, 2007 specify your background image like this: background-image: url(../images/topbar/main.gif); --no quotes around url --use "background-image:" --if you specify no more attributes, it will default to tiling into the whole area Quote Link to comment https://forums.phpfreaks.com/topic/40696-image-background-height/#findComment-198967 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.