CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
Help Needed CSS Background Template Issue.
davito
Permalink to comment
#
May 2012
Hey guys,
I am having issues with this template I am trying to use. See this->
Click
There is that really annoying white space there and I can't figure out what to change in the coding to make it go away. Thoughts?
Senff
Permalink to comment
#
May 2012
Ouch...animated background! :-$
It's because you set your background to repeat horizontally only. The white space is the background where the image doesn't appear.
Removing
background-repeat: repeat-x
would probably help, or adding a background color before the background image declaration.
davito
Permalink to comment
#
May 2012
Omg I love you! You are saint. You have no idea how crazy this drove me. Mucho Gracias
Add a Comment
I am having issues with this template I am trying to use. See this->Click
There is that really annoying white space there and I can't figure out what to change in the coding to make it go away. Thoughts?
It's because you set your background to repeat horizontally only. The white space is the background where the image doesn't appear.
Removing
background-repeat: repeat-xwould probably help, or adding a background color before the background image declaration.