karldesign Posted August 17, 2008 Share Posted August 17, 2008 Hey all, I have a website with a background image in the body. Is there a way of starting the image 300px down from top, using repeat-y? It needs to be blank until 300px, where it will loop as normal? Thanks. Link to comment https://forums.phpfreaks.com/topic/120096-css-background-position/ Share on other sites More sharing options...
TheFilmGod Posted August 17, 2008 Share Posted August 17, 2008 There is no way of doing this. You can simply edit the image to achieve the same result. Hope that helps! Link to comment https://forums.phpfreaks.com/topic/120096-css-background-position/#findComment-618690 Share on other sites More sharing options...
haku Posted August 17, 2008 Share Posted August 17, 2008 There are ways of faking this, such as having a div that starts 300 px down the page and continuing to the bottom, and setting the background image into that. Or else having a div that covers up the top 300 px of the background pic. Link to comment https://forums.phpfreaks.com/topic/120096-css-background-position/#findComment-618810 Share on other sites More sharing options...
TheFilmGod Posted August 18, 2008 Share Posted August 18, 2008 There are ways of faking this, such as having a div that starts 300 px down the page and continuing to the bottom, and setting the background image into that. Or else having a div that covers up the top 300 px of the background pic. Haku, you are completey correct - but "faking a div" like that would be counterproductive, wouldn't it be? Link to comment https://forums.phpfreaks.com/topic/120096-css-background-position/#findComment-619620 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.