Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
CSS box problem (one piece falls away from the others)
Old 06-05-2007, 09:18 PM CSS box problem (one piece falls away from the others)
Novice Talker

Posts: 5
Trades: 0
Hello!

I'm trying to build up a box with rounded corners and some more details using CSS. My major problem is that one of the pieces in this box fall away from the other in some webbrowsers (works fine with latest firefox though).

Here is the code:

div.container_news {
width: 320px;
background: url(pics/news_middle.gif) repeat-y center center;
}
div.footer_news {
background: url(pics/news_bottom.gif) no-repeat center bottom;
width: 320px;
height: 8px;
}
div.topper_news {
background: url(pics/news_top.gif) no-repeat center bottom;
width: 320px;
height: 9px;
margin-top:17px;
}

And here is the html:

<div class="topper_news"></div>
<div class="container_news">
News Input Text
</div>
<div class="footer_news"></div>

My problem is that the last div class (footer_news) fall away from the other two. It's just a small gap, but it looks annoying when I have made alot of squares. For this I can't publish my website, it's just too embarrassing! Some browsers manages to keep them all together so they form a nice box with rounded corners, but the most normal case is that they fall apart.

Anyone who could find a solution to this? It would really be a appreciated deed!

Sincerely,

Undrium
Undrium is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-06-2007, 05:16 PM Re: CSS box problem (one piece falls away from the others)
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
The problem browser is IE right ?? Where is the gap appearing ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-06-2007, 08:27 PM Re: CSS box problem (one piece falls away from the others)
Novice Talker

Posts: 5
Trades: 0
LadynRed: Thanks for the reply, the problem appears at the footer (footer_news) where a gap is created in IE.
Undrium is offline
Reply With Quote
View Public Profile
 
Old 06-06-2007, 09:14 PM Re: CSS box problem (one piece falls away from the others)
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Try putting the footer image inline into the HTML rather than as a bg image. I wrestled with a similar issue the other day, and putting the image inline solved the problem for me.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-07-2007, 06:08 AM Re: CSS box problem (one piece falls away from the others)
Novice Talker

Posts: 9
Trades: 0
overflow?
dalailama is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS box problem (one piece falls away from the others)
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15235 seconds with 12 queries