Current location: Hot Scripts Forums » General Web Coding » CSS » CSS border problem in firefox, looks good in IE


CSS border problem in firefox, looks good in IE

Reply
  #1 (permalink)  
Old 02-18-06, 12:05 AM
vertigoflow vertigoflow is offline
Newbie Coder
 
Join Date: Oct 2005
Location: massachusetts, USA
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
CSS border problem in firefox, looks good in IE

I have a site that uses CSS to seperate some boxes and add a border. It looks good in IE but there's no division in Firefox.

The CSS file has this code:
Code:
.rightnavbox {
	BORDER-RIGHT: #ccc 1px solid;
	BORDER-TOP: #336699 3px solid;
	FONT-SIZE: 11px;
	BACKGROUND: #ffffff;
	BORDER-LEFT: #ccc 1px solid;
	BORDER-BOTTOM: #ccc 1px solid;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	padding: 5px;
}
.spacer {
	height: 5px;
}
and on the page each box starts like this:
Code:
<div class="spacer"></div>
<div class="rightnavbox">
In IE it looks pretty good, like this:
http://img111.imageshack.us/img111/8...avboxie7mo.jpg

But in Firefox it doesn't really do anything, it looks like this:
http://img210.imageshack.us/img210/2...firefox4gk.jpg
What can I change to get it to look good in both IE and Firefox (and the rest of the other browers)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 02-18-06, 11:30 AM
vertigoflow vertigoflow is offline
Newbie Coder
 
Join Date: Oct 2005
Location: massachusetts, USA
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Someone from another forum corrected my CSS file, there were flaws in it that Firefox picked up but IE ignored. Thanks for your help, you could consider this closed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
css firefox problems Crazyfist CSS 7 04-23-06 11:33 AM
CSS behaves in a different way in Firefox! Help! dangerous_liaison CSS 1 02-16-06 01:36 PM
I'm having a problem in firefox but not IE xxvatarxx PHP 19 12-03-05 02:09 PM
CSS Border problem in FireFox mani786 CSS 1 10-01-05 08:33 AM
CSS Div problem themanmathias CSS 1 09-29-05 09:05 PM


All times are GMT -5. The time now is 09:17 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.