iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2008, 04:24 PM
WebProWorld New Member
 
Join Date: Apr 2008
Posts: 4
judithm RepRank 0
Default White spaces between sliced background images

Hi! I am using 3 background images for a website. The one in the middle is enlarging in height as the content is long or not. There is a white space appearing in Safari and Firefox but not in IE between my images. Here is the link : Charlotte en fête

And here is my CSS :

#ColRightWrapper {
margin: 0px;
padding: 0px;
height: 100%;
}

#ColRight {
background: url(images/fond_ColRight_02.gif) repeat top;
width: 517px;
margin: 0px;
padding: 0;
top: 0px;
}
#ColRightBottom {
background: url(images/fond_ColRight_03.gif) no-repeat;
width: 517px;
margin: 0px;
padding: 0px;
text-align: center;
height: 48px;
#ColRightTop {
background: url(images/fond_ColRight_01.gif) no-repeat bottom;
height: 45px;
width: 517px;
margin: 0px;
padding: 0px;
}

#ColRightTop, #ColRight, #ColRightBottom {
margin: 0px;
padding: 0px;
}


Thanks for helping

Judithm
Reply With Quote
  #2 (permalink)  
Old 04-07-2008, 10:32 PM
sands's Avatar
WebProWorld Veteran
 
Join Date: Sep 2005
Location: Kerala, India
Posts: 395
sands RepRank 1
Default Re: White spaces between sliced background images

Just add:
Code:
float:left;
to both #ColRight and #ColRightBottom.
__________________
My Nook | My Biz | My Photos
Reply With Quote
  #3 (permalink)  
Old 04-07-2008, 10:52 PM
WebProWorld New Member
 
Join Date: Apr 2008
Posts: 4
judithm RepRank 0
Default Re: White spaces between sliced background images

That simple Thanks Sands.

Can you explain to me why it fixes my problem.

Judithm
Reply With Quote
  #4 (permalink)  
Old 04-07-2008, 11:10 PM
sands's Avatar
WebProWorld Veteran
 
Join Date: Sep 2005
Location: Kerala, India
Posts: 395
sands RepRank 1
Default Re: White spaces between sliced background images

Quote:
Originally Posted by judithm View Post
That simple Thanks Sands.

Can you explain to me why it fixes my problem.

Judithm
Just the way browsers interpret code. To know more about the Float Property check out these links:
Using CSS Floats for Layout - Understanding CSS Float
Does CSS float?
__________________
My Nook | My Biz | My Photos

Last edited by sands; 04-07-2008 at 11:37 PM.
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why use background images? frobn Accessibility and Usability Forum 11 03-04-2008 05:09 PM
Black background with white text. Any chance of a penalty? Aldo Google Discussion Forum 18 07-19-2005 04:35 AM
Sliced Background Image Hush Graphics & Design Discussion Forum 1 02-04-2004 03:16 AM
Photos on White Background Shot From Above nokturnalmuse Graphics & Design Discussion Forum 11 11-27-2003 10:43 AM
How do I get rid of white around images on Web photos vintagedge Graphics & Design Discussion Forum 5 11-01-2003 11:51 AM


All times are GMT -4. The time now is 04:38 PM.



Search Engine Optimization by vBSEO 3.3.0