Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2009
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Exclamation css border problem (gap in firefox)

    HI all!

    The website i'm designing at the moment is having a problem.
    Here's the link:
    http://www.i-lrn.com/laurence3/newindex2
    Now the problem is when you open it in ie there is no gap between the menu (the buttons) and the banner. But when you open it in firefox there seems to be a gap between them. And i can't understand why? Can someone please help me!?


    here's the css style sheet

    Code:
    TD {
    	COLOR: Black;
    	FONT-FAMILY: verdana, geneva, arial, helvetica, sans-serif;
    	FONT-SIZE: 12px;
    	FONT-WEIGHT: normal;
    	TEXT-DECORATION: none;
    	line-height: 200%;
    }
    
    
    .topmain {
    	BORDER-RIGHT: 10px solid #003399;
    	BORDER-TOP: 0px solid #003399;
    	BORDER-LEFT: 10px solid #003399;
    	BORDER-BOTTOM: 5px solid #003399;
    }
    
    .topflag {
    	/*BORDER-RIGHT: 10px solid #003399;
    	BORDER-TOP: 1px solid #003399;
    	BORDER-LEFT: 10px solid #003399;
    	BORDER-BOTTOM: 1px solid #003399;
    	background-repeat: no-repeat;
    	background-position: right;*/
    }
    
    .topsubmenu {
    	BORDER-RIGHT: 0px solid #006699;
    	BORDER-TOP: 0px solid #006699;
    	BORDER-LEFT: 10px solid #006699;
    	BORDER-BOTTOM: 0px solid #006699;
    }
    
    .footernew {
        
    	BORDER-RIGHT: 10px solid #003399;
    	BORDER-TOP: 5px solid #003399;
    	BORDER-LEFT: 10px solid #003399;
    	BORDER-BOTTOM: 5px solid #003399;
    }
    .footernew2 {
        
    	BORDER-RIGHT: 10px solid #FFFFFF;
    	BORDER-TOP: 5px solid #FFFFFF;
    	BORDER-LEFT: 10px solid #FFFFFF;
    	BORDER-BOTTOM: 5px solid #FFFFFF;
    }
    
    .imagenew {
    	width:400px;
    	BORDER-RIGHT: 10px solid #FFFFFF;
    	BORDER-TOP: 5px solid #FFFFFF;
    	BORDER-LEFT: 10px solid #FFFFFF;
    	BORDER-BOTTOM: 5px solid #FFFFFF;
    }
    
    .imagenew2 {
    	width:400px;
    	/*BORDER-RIGHT: 10px solid #FFFFFF;
    	BORDER-TOP: 5px solid #FFFFFF;
    	BORDER-LEFT: 10px solid #FFFFFF;
    	BORDER-BOTTOM: 5px solid #FFFFFF;*/
    }
    
    .updates {
    	width:400px;
    	line-height:200%;
    	BORDER-RIGHT: 10px solid #FFFFFF;
    	BORDER-TOP: 5px solid #FFFFFF;
    	BORDER-LEFT: 10px solid #FFFFFF;
    	BORDER-BOTTOM: 5px solid #FFFFFF;
    
    }
    
    
    .headernew {
    	/*font:Tahoma;
    	font-size:16px;*/
        width:500px;
    	BORDER-RIGHT: 10px solid #FFFFFF;
    	BORDER-TOP: 20px solid #FFFFFF;
    	BORDER-LEFT: 10px solid #FFFFFF;
    	BORDER-BOTTOM: 5px solid #FFFFFF;
    }
    
    .textnew {
        width:500px;
    	line-height:200%;
    	BORDER-RIGHT: 10px solid #FFFFFF;
    	BORDER-TOP: 5px solid #FFFFFF;
    	BORDER-LEFT: 10px solid #FFFFFF;
    	BORDER-BOTTOM: 5px solid #FFFFFF;
    }
    Thanx for all the help!

  • #2
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,743
    Thanks
    0
    Thanked 244 Times in 239 Posts
    Hi there hissam,

    add this rule to your stylesheet...
    Code:
    
    .topflag p {
        margin:0; 
     }
    
    coothead

  • Users who have thanked coothead for this post:

    hissam (05-03-2009)

  • #3
    New to the CF scene
    Join Date
    Apr 2009
    Posts
    8
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Hey! thanx!

    It worked!

  • #4
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,743
    Thanks
    0
    Thanked 244 Times in 239 Posts
    No problem, you're very welcome.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •