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 border problem in firefox, looks good in IE
Old 02-18-2006, 01:17 AM CSS border problem in firefox, looks good in IE
Novice Talker

Posts: 6
Trades: 0
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:


But in Firefox it doesn't really do anything, it looks like this:

What can I change to get it to look good in both IE and Firefox (and the rest of the other browers)
vertigoflow is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-18-2006, 02:46 AM Re: CSS border problem in firefox, looks good in IE
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Could you post a link to the actual site it it's online somewhere? If it's not online could you post more of the code, ideally all of the code?

I'm not seeing anything obvious in the code you posted so I'm wondering if it's another part of the code that's causing the problem.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 02-18-2006, 12:11 PM Re: CSS border problem in firefox, looks good in IE
Novice Talker

Posts: 6
Trades: 0
It's at http://www.indemandcontent.com

The site is run on a content management system, where the php is encoded so I don't have access to it. The html is stored in templates, which are editable and the CSS is in an external stylesheet.
vertigoflow is offline
Reply With Quote
View Public Profile
 
Old 02-18-2006, 12:25 PM Re: CSS border problem in firefox, looks good in IE
Novice Talker

Posts: 6
Trades: 0
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.
vertigoflow is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS border problem in firefox, looks good in IE
 

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