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



Closed Thread
Adding spaces above MSN applet
Old 12-29-2008, 11:46 PM Adding spaces above MSN applet
Truly's Avatar
Ultra Talker

Posts: 322
Trades: 0
Hey all,

Stupidly but stubbornly I always make my webpages in IE first and then make them work in FF after. Well I'm at that stage now . On the bottom of the right column I have some text and then which takes up the left side of a box and then I have a MSN weather applet which goes on the right side of the box. In IE it looks fine, both line up fine and stay within the box. In FF though the weather applet has a whole bunch of space above it and it is pushed down and goes out of the box. What am I doing wrong?

PHP Code:
PHP Code:
       <div id="rightBot">
    <div id="rightBotNews">
                Random Stuff
    </div>
    <div id="rightBotWeather">
    <?php
    
include_once('magpierss/rss_fetch.inc');

    
$feed 'http://weather.msn.com/RSS.aspx?wealocations=wc:8682740&weadegreetype=C';
    
$rss fetch_rss($feed);
$count=0;
    foreach (
$rss->items as $item ) {
    if (
$count==0) {
        
$title $item['title'];
        
$desc $item['description'];
        
$desc=explode("Winds",$desc);
        echo 
$desc[0];
    }
 
$count+=1;
    }
    echo 
'<span id="rightBotWeatherDisc"><br />Times and weather from Koidu, Sierra Leone. <a href="http://weather.msn.com">Powered by MSN.</a></span>';
    
?>
    </div>
    </div>
The related CSS:
Code:
/* RIGHT CONTENT */
#rightTop {
margin-top:10px;
border: 1px dashed gray;
width:100%;
background:#2E5AFF;
color:white;
height:230px;
}
#rightMid {
padding-top:5px;
margin-top:10px;
border: 1px dashed gray;
width:99%;
height:87px;
}
#rssImg
{
margin-top:4px;
}
#rightBot {
margin-top:10px;
border: 1px dashed gray;
width:100%;
height:170px;
}
#rightBot ul {
  margin-top:0;
  margin-left:20px;
}

#rightBotNews {
float:left;
margin-left:5px;
margin-top:5px;
width:47%;
}

#rightBotWeather {
margin-top:5px;
margin-right: 5px;
margin-left:5px;
width: 47%;
float:right;
}
#rightBotWeatherDisc {
font-size: 0.8em;
}
__________________
DVD Movie Release Database:
Please login or register to view this content. Registration is FREE
Truly is offline
View Public Profile
 
 
Register now for full access!
Old 12-30-2008, 03:00 PM Re: Adding spaces above MSN applet
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Do you have the page on line somewhere ? I can't do a thing with PHP code!
__________________
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
View Public Profile
 
Closed Thread     « Reply to Adding spaces above MSN applet
 

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.09519 seconds with 12 queries