Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
[CSS] Footer Image?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Patriik" data-source="post: 379645" data-attributes="member: 67102"><p>Well my CSS is now:</p><p>[CODE]</p><p>#footer {</p><p> background-image: url('/css/images/footer.png');</p><p> background-repeat: repeat-x;</p><p> background-position: center 20px;</p><p> width: 100%;</p><p> margin: 50px auto 0px auto;</p><p> overflow: auto;</p><p> display: block;</p><p> clear: both;</p><p> color: #fff;</p><p>}</p><p></p><p>#footercontent {</p><p> width: calc(100% - 40px);</p><p> max-width: 1000px;</p><p> padding: 150px 20px 20px 20px;</p><p> margin: 0px auto;</p><p> color: #fff;</p><p> overflow: auto;</p><p>}</p><p>[/CODE]</p><p>and my index page looks like this:</p><p><img src="http://image.prntscr.com/image/cf3c8c2da6e343a289f84415371fe9af.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </p><p></p><p>I assume that blue area is the footer.. Its not displaying the image....</p><p></p><p>this is my index pages code:</p><p>[CODE]</p><p><?php require 'extra/header.php';?></p><p></p><p><title>MuddyMice</title></p><p></p><p><div id="footer"></p><p> <div id="footercontent"></p><p> testing this..</p><p> </div></p><p></div></p><p>[/CODE]</p><p></p><p>So something is wrong? but what?</p></blockquote><p></p>
[QUOTE="Patriik, post: 379645, member: 67102"] Well my CSS is now: [CODE] #footer { background-image: url('/css/images/footer.png'); background-repeat: repeat-x; background-position: center 20px; width: 100%; margin: 50px auto 0px auto; overflow: auto; display: block; clear: both; color: #fff; } #footercontent { width: calc(100% - 40px); max-width: 1000px; padding: 150px 20px 20px 20px; margin: 0px auto; color: #fff; overflow: auto; } [/CODE] and my index page looks like this: [IMG]http://image.prntscr.com/image/cf3c8c2da6e343a289f84415371fe9af.png[/IMG] I assume that blue area is the footer.. Its not displaying the image.... this is my index pages code: [CODE] <?php require 'extra/header.php';?> <title>MuddyMice</title> <div id="footer"> <div id="footercontent"> testing this.. </div> </div> [/CODE] So something is wrong? but what? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
[CSS] Footer Image?
Top