• Before posting a question, please check our Frequently Asked Questions page as well as previous threads here. Odds are you aren't the first to ask, and you may find the answer without having to post!

Question about paralla/background pictures using html

Bacon is fluffy

Wut'n th'name of davy jonez lockr is uh sall-add?
http://www.w3schools.com/howto/howto_css_parallax.asp


Basically I went to google and searched: html scrolling background image


Ended up being lead to this parallax page,but it ends up empty in my test posts in my workshop thingy. Does this just not work with da ferum? If it's not compatible with our posts, what type of thingy do I look up to put pictures in the background of my posts? D: 

<style type="text/css">
.parallax {
/* The image used */
background-image: url("http://i.imgur.com/LWUoY5v.jpg");


/* Set a specific height */
height: 500px;


/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position:center;
background repeat:no-repeat;
background-size:cover;
}</style>
<!-- Container element -->
<div class="parallax">
    &nbsp;
</div>
 
 
ALWAYS begin coding with an empty paragraph before adding your CSS.  For some reason, it won't work without it.
 

Users who are viewing this thread

Back
Top