Go Back   HTMLCenter Web Development Forums > Web Design and Development > Programming and Scripting
Connect with Facebook

Background colour not displaying in Firefox... CSS problem?

Closed Thread
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-01-2006, 06:02 PM
Registered User
 
Join Date: Feb 2006
Posts: 2
Background colour not displaying in Firefox... CSS problem?

Hi there - thanks for taking the time to help!

I've been messing with my website a lot of the last couple of days, and an hour ago I thought I'd got it cracked, as I standardised the last few elements on the different pages so they all looked similar.

The website is http://johnsonishere.com. The structure is as follows:


> public_html
..> css
....> main.css
..> forum
..> gallery2
..> pages
....> mash-ups.htm


Something's up because the background colour of #333333 set by the CSS file does not appear on the relevant pages when they are viewed in Firefox. I've got IE7 as well and it displays the background colour fine. It was working earlier in Firefox, but I must have changed something, or got conflicting style information somewhere I guess, but I just can't find it.

The CSS code is:

Code:
a            { font-family: Verdana; font-size: 10pt; text-decoration: none; color: #99CCFF }
a:hover      { font-family: Verdana; font-size: 10pt; color: #FF99FF; text-decoration: 
               underline; }
body         { font-family: Verdana; font-size: 10pt; text-decoration: none; color: #66FF66; 
               text-indent: 0; word-spacing: 0; margin-left:8px; margin-right:0; margin-top:0; margin-bottom:0; background-color="#333333" }
p            { font-family: Verdana; font-size: 10pt; text-decoration: none; color: #66FF66; 
               text-indent: 0; word-spacing: 0; margin-left:8px; margin-right:0; margin-top:0; margin-bottom:0 }
If anyone can help that'd be great!

Regards,

Chris Thorn

  #2 (permalink)  
Old 02-01-2006, 06:52 PM
Allen's Avatar
Administrator
 
Join Date: Dec 2001
Location: Atlanta, Georgia, USA
Posts: 1,135
easy fix

Code:
background-color="#333333"
should be:

Code:
background-color:#333333;
remove the bg sound - its horrible! not the music is horrible, but starting it without me asking is!
  #3 (permalink)  
Old 02-01-2006, 10:39 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Like you, on a tiny speck of dust floating in the Virgo Cluster.
Posts: 1,311
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Unhappy

I'll nominate Allen's suggestion to make the music start as an option (leaving it off to start off with), and I would like to add that those four notes become redundant way too fast!
__________________
This field was intentionally left blank.


Wait a minute... oops.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
  #4 (permalink)  
Old 02-02-2006, 07:17 AM
Registered User
 
Join Date: Feb 2006
Posts: 2
Thanks very much for the replies! I now see the silly error!

The Flash is still very much a work in progress - I literally only just found out how to make a preloader... next step is to of course 'tart it up' with the start/stop button etc and - like Leprakawn said - some decent music!

Thanks for the help, appreciate it.

Chris
  #5 (permalink)  
Old 02-02-2006, 03:29 PM
Leprakawn's Avatar
Moderator
 
Join Date: Jan 2004
Location: Like you, on a tiny speck of dust floating in the Virgo Cluster.
Posts: 1,311
Send a message via AIM to Leprakawn Send a message via Yahoo to Leprakawn
Cool, man. There are a lot of good loops over at http://www.flashkit.com!

EDIT: Wow... PHP didn't set the link up properly!
__________________
This field was intentionally left blank.


Wait a minute... oops.
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Tips & Tricks - Tutorials and more... Webnauts Programming and Scripting 14 04-02-2010 07:20 AM
Problem with javascript - IE, Netscape and Firefox Tyree Programming and Scripting 8 05-15-2007 05:43 AM
With a transparent background kult Programming and Scripting 1 01-06-2006 10:14 AM
css external sheet ammy Programming and Scripting 10 01-05-2006 11:04 AM
FireFox problem: How to make DIVs surround an image? rnilsson Programming and Scripting 1 03-10-2005 05:18 PM


All times are GMT -5. The time now is 02:21 PM.

 
Clicky Web Analytics
CloudContacts
Loop11
Page.ly


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.1 PL1
© 1997-2009 HTMLCenter