Home > Background Image > Background Image Repeat Not Working

Background Image Repeat Not Working

Contents

Please check your inbox to confirm your subscription. Dealing With Dragonslayers How do I make an alien technology feel alien? CSS Code html { background-color: black; } body { margin: auto; width: 1000; background-image:url("../images/background.png"); background-repeat:repeat-y; } I can't figure it out. Almost every single time i've enountered CSS that appeared not to be working it's because it was being overridden someplace... http://emhsoft.net/background-image/background-image-repeat-x-not-working.php

share|improve this answer answered Mar 20 '12 at 20:42 bevacqua 20.9k25118244 add a comment| up vote 0 down vote just replace with the following code: .tab-left { background-image: url(images/left.png); background-repeat: repeat-y; Please sign in or sign up to post. Advertisement Register for Free! kgscott284 # March 15, 2012 at 1:34 am This reply has been reported for inappropriate content.

Background Image No Repeat Html Code

the background images is lost so I have edited the css like this for active links #secondary-links #subnavlist li.menu-1-1-73 a.active { color: #FFFFFF; background: url(images/icons/acil.png) no-repeat scroll left center; margin-left: 13px; successfulfail 2012-12-21 04:19:43 UTC #3 No slogan.png image file is at "img" folder. share|improve this answer answered Mar 20 '12 at 20:41 Niet the Dark Absol 210k37246375 You're right, but isn't there a way to repeat the image in relation to the

yourfile.html/img/slogan.png /* these folders are in the root directory *//css/cssfile.css /* path to image: /img/slogan.png , or ../img/slogan.png */ yourfile.htmlimg/slogan.png /* these folders are in the same directory as the html Seems fair enough to me. Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in to reply to this topic. Html Background Image No Repeat Center Please check your inbox or your spam filter for an email from us.

round As the allowed space increases in size, the repeated images will stretch (leaving no gaps) until there is room for another one to be added. Background Image Html No Repeat Full Screen Join them; it only takes a minute: Sign up background-repeat: repeat-y; not working up vote 0 down vote favorite I'm quite new to CSS and for sure I'm missing something basic Recommendation Initial definition Browser compatibility Desktop Mobile Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari Basic support 1.0 1.0 (1.7 or earlier) 4.0 3.5 1.0 (85) Multiple backgrounds 1.0 3.6 (1.9.2) http://stackoverflow.com/questions/18225388/background-image-not-repeating This: background-image" url("images/pic.jpg") no-repeat; Should actually be this: background: url("images/pic.jpg") no-repeat; EDIT: As @karlpcrowley already said.

Registering is free and only takes a second. How To Put Background Image In Html Code Specifications Specification Status Comment CSS Backgrounds and Borders Module Level 3The definition of 'background-repeat' in that specification. Sign up now Thanks! Here is the CSS code associated with it body { background-image: url(../../../../decoration/bg_b.gif); background-repeat: no-repeat; width: 798px; color: #333333; font-size: 12px; font-family: Arial, Tahoma, Verdana; margin: 0px auto 0px; padding: 0px; }

Background Image Html No Repeat Full Screen

Reply With Quote 0 06-01-2011,12:40 AM #5 n0ts0smart View Profile View Forum Posts View Forum Threads WHT Addict Join Date Apr 2010 Posts 153 Thanks for the quick response, HTML source is as follows