473,657 Members | 2,401 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HELP Stylesheet works on Microsoft Internet Explorer but not Mozilla and Netscape

I have used below the following parameters in my stylesheet.This give
me a grey background around my tables that contains the sites content.
This works fine using Microsoft Internet Explorer but does not work on
Mozilla and Netscape browsers as you can see at www.windsoraccess.co.uk
..

Could someone let me know how I can resolve this issue. Thanks in
advancce

body {font-size: 8pt;
font-family: arial, sans-serif, helevicta;
color:black;
text-align: center;
background color: #a0a0a0;}

table {font-size: 9pt;
font-family: arial, sans-serif, helevicta;
color:black;
text-align: left;
background color: white}

Nov 21 '06 #1
7 3054
In article <11************ **********@e3g2 000cwe.googlegr oups.com>,
johnny15 <jb*****@windso rkomatsu.co.ukw rote:
>I have used below the following parameters in my stylesheet.This give
me a grey background around my tables that contains the sites content.
This works fine using Microsoft Internet Explorer but does not work on
Mozilla and Netscape browsers as you can see at www.windsoraccess.co.uk
.

Could someone let me know how I can resolve this issue. Thanks in
advancce

body {font-size: 8pt;
font-family: arial, sans-serif, helevicta;
color:black;
text-align: center;
background color: #a0a0a0;}

table {font-size: 9pt;
font-family: arial, sans-serif, helevicta;
color:black;
text-align: left;
background color: white}
From the error console:

Warning: Expected ':' but found 'color'. Declaration dropped.
Source File: http://www.windsoraccess.co.uk/
Line: 5

Warning: Expected ':' but found 'color'. Declaration dropped.
Source File: http://www.windsoraccess.co.uk/
Line: 11

s/background color/background-color/

--
John P Baker
Nov 21 '06 #2

JP. Baker wrote:
In article <11************ **********@e3g2 000cwe.googlegr oups.com>,
johnny15 <jb*****@windso rkomatsu.co.ukw rote:
I have used below the following parameters in my stylesheet.This give
me a grey background around my tables that contains the sites content.
This works fine using Microsoft Internet Explorer but does not work on
Mozilla and Netscape browsers as you can see at www.windsoraccess.co.uk
.

Could someone let me know how I can resolve this issue. Thanks in
advancce

body {font-size: 8pt;
font-family: arial, sans-serif, helevicta;
color:black;
text-align: center;
background color: #a0a0a0;}

table {font-size: 9pt;
font-family: arial, sans-serif, helevicta;
color:black;
text-align: left;
background color: white}

From the error console:

Warning: Expected ':' but found 'color'. Declaration dropped.
Source File: http://www.windsoraccess.co.uk/
Line: 5

Warning: Expected ':' but found 'color'. Declaration dropped.
Source File: http://www.windsoraccess.co.uk/
Line: 11

s/background color/background-color/

--
John P Baker
Pardon my ignorance as I am only a novice.....what do I need to do to
remedy the situation???

And am I right at thinking these errors are on my stylesheet at lines 5
and 11 where i have stated the background colors????

Thanks in advance

Nov 21 '06 #3
On 21 Nov 2006, johnny15 wrote:
body {font-size: 8pt;
This should be considered as a criminal offense.

Nov 21 '06 #4
In article <11************ *********@k70g2 000cwa.googlegr oups.com>,
"johnny15" <jb*****@windso rkomatsu.co.ukw rote:
JP. Baker wrote:
In article <11************ **********@e3g2 000cwe.googlegr oups.com>,
johnny15 <jb*****@windso rkomatsu.co.ukw rote:
[snip]
>body {font-size: 8pt;
font-family: arial, sans-serif, helevicta;
color:black;
text-align: center;
background color: #a0a0a0;}
>
[snip]
From the error console:

Warning: Expected ':' but found 'color'. Declaration dropped.
Source File: http://www.windsoraccess.co.uk/
Line: 5
[snip]
Pardon my ignorance as I am only a novice.....what do I need to do to
remedy the situation???

And am I right at thinking these errors are on my stylesheet at lines 5
and 11 where i have stated the background colors????
Yes. Make the spelling correction noted (background-color, with a
hypen, not a space.) While you're at it, how about also fixing the
font size? I had to use FireFox's text zoom feature to be able to
read your 8pt and 9pt text comfortably, but then your fixed width
table layout started breaking...

If you must use a table for layout, try setting the table width in
em units (in css), so that it will scale with the user's preferred
font size. Your table also looks weird if the window is wider than
the table, a bit like you couldn't afford to pay for all those
missing pixels.
Nov 21 '06 #5
johnny15 wrote:
I have used below the following parameters in my stylesheet.This give
me a grey background around my tables that contains the sites content.
This works fine using Microsoft Internet Explorer but does not work on
Mozilla and Netscape browsers as you can see at www.windsoraccess.co.uk

body {font-size: 8pt;
font-family: arial, sans-serif, helevicta;
color:black;
text-align: center;
background color: #a0a0a0;}

table {font-size: 9pt;
font-family: arial, sans-serif, helevicta;
color:black;
text-align: left;
background color: white}
And while you're fixing things, here's something else I noticed:
try font-family: arial, helvetica, sans-serif; rather than the lines you
have here. I assuming you don't mean to specify a font-family named
"helevicta" (at least, you should know I don't have it on *my* machine).
And the generic specifier should come last, in case none of the named
font-families are available. Therefore, sans-serif should be last.

--
John
Nov 21 '06 #6
johnny15 wrote:
I have used below the following parameters in my stylesheet. Mozilla
and Netscape browsers as you can see at www.windsoraccess.co.uk .
...

body {font-size: 8pt;
font-family: arial, sans-serif, helevicta;
helevicta? What is that? Not a word I am familiar with.

The generic fallback is supposed to be last.
font-family: Arial, Helvetica, sans-serif;

Sorry, I can't read 8pt text. Don't use pt (or px) for sizing.
http://k75s.home.att.net/fontsize.html

Regarding:
<h3><b>Deliveri ng Excellence for over 25 Years</b></h3>

Drop the <band </band style the heading in CSS. And ... where is
your <h1and <h2? Headings are not for "sizing"; they are for
semantic markup of .. well .. headings.

Fix this image. Resize it with a graphics program to what you want,
instead of using HTML:

http://www.windsoraccess.co.uk/image...0cut%20out.jpg
File Size: 350.59 KB (359,009 bytes)
Spcified Dimensions: 160px × 360px
Actual Dimensions: 1,288px × 2,724px

--
-bts
-Motorcycles defy gravity; cars just suck
Nov 21 '06 #7
Sid
On 21 Nov 2006 03:01:00 -0800, "johnny15"
<jb*****@windso rkomatsu.co.ukw rote:

: I have used below the following parameters in my stylesheet.This give
: me a grey background around my tables that contains the sites content.
: This works fine using Microsoft Internet Explorer but does not work on
: Mozilla and Netscape browsers as you can see at www.windsoraccess.co.uk
: .
:
: Could someone let me know how I can resolve this issue. Thanks in
: advancce
:
: body {font-size: 8pt;
: font-family: arial, sans-serif, helevicta;
: color:black;
: text-align: center;
: background color: #a0a0a0;}
:
: table {font-size: 9pt;
: font-family: arial, sans-serif, helevicta;
: color:black;
: text-align: left;
: background color: white}
Others have commented on the errors in your CSS-markup, like
background-color.

I will suggest that you do not create border of a table that way -
body and table within is not the right way. Simply add a border in
your table, thus
border: 5px ridge #aoaoao;

and dispense with your body stuff.

Sid

Nov 21 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
5097
by: timmy_dale12 | last post by:
I need help with this one. I have a function that pastes a row. In each row i am pasting a link which is to call a date picker javascript function. This is the code that pastes the link : link = document.createElement('a'); link.href ="javascript:show_calendar('document.form1.date',document.form1.date.value);"; img = document.createElement('img'); img.setAttribute("src","H:Diverse\\cal.gif"); link.appendChild(img);
3
1971
by: Chris | last post by:
Hi I have designed my website to fit my standard windows. I use a javascript scroller that nescitates the removal of the browser scroll bars. However if a user has an extra toolbar open in his browser like a google or yahoo toolbar or a links toolbar it pushes the content down and slightly out of view. I don't want to use a pop up window with toolbars=0 as this is often blocked by software. What I would like is to open the...
14
2495
by: Brandon Hoppe | last post by:
I'm trying to change the src of an ilayer in the parent document from a link inside the ilayer. I'm not able to get it to work. All that happens is Netscape 4 crashes. This is for Netscape 4 only. For example, here is the main page: <html> <head> <script type="text/javascript">
21
2801
by: Applebrownbetty | last post by:
Hi, I've run into a problem with IE 6 vs. Mozilla when displaying a completely CSS positioned page, and was wondering if any resident CSS guru might quickly be able to find the problem(s). Thank you. In IE, the page looks how I want it to look (picture below): www.sunbadgeco.com/sunmetal/ie.jpg In Mozilla Firefox, somehow it's not quite right (pic below): www.sunbadgeco.com/sunmetal/mozillafirefox.jpg
1
2506
by: Jenny | last post by:
Need urgent help for an unsolved problem. In our ASP web application, we creat a Back button and if user click on this button, it execute history.go(-1) to go back to the previous page. All our users use IE 6.0 and most of them don't have problem with this button. But one user reported everytime he click on this button, there is a pop-up window shows up and ask him refresh and reload the page, after he clicks OK, the previous page will be...
3
1679
by: Iver Erling Årva | last post by:
Can anyone please tell me why this doesn't work? The sign changes when I hit the button, and I get no error messages, but the textarea doesn't disappear/reappear. <html> <head> <title>New Page 1</title> </head>
1
1664
by: questionr | last post by:
There is a spell checker function which is written in VB Script. The function works well when tested seperately. But when the function is called from Java Script, the function shows an Error saying " A run time error has occured. Do you wish to debug? Line :0 , Object Expected". I just know that it is a Java Script error. Any suggestions on how to resolve this problem ? What could be the possible reasons for this error message?
476
18340
by: Xah Lee | last post by:
Microsoft Hatred, FAQ Xah Lee, 20020518 Question: U.S. Judges are not morons, and quite a few others are not morons. They find MS guilty, so it must be true. Answer: so did the German population thought Jews are morons by heritage, to the point that Jews should be exterminated from earth. Apparently, the entire German population cannot be morons, they must be
9
1948
by: DavidB | last post by:
Hi all I have a script that works perfectly in IE but not in FF. I am sure that the problem is easy to resolve, but I seem to be too dumb to figure it out. <html> <head> <script language="javascript">
0
8402
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8315
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8608
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4164
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2733
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1627
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.