- This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
If you go here http://www.tvguide.com/news you would see that the BG stays and the only thing scrolling is the content. can some tell me how this is done please.
Regards :)
its CSS.
add that rule to your body :)
How would I place the div Body content in the center of the image?
Regards
By the way greg.mcausland thanks for your help before it works!… :D
Welcome !
to center your main content div, all you have to do is give the right-left margins the auto attribute.
you can write it short hand like so
note, i also added a width value, being the only other pre-requisite for this to work.