Jump to content

[SOLVED] CSS, Mozilla, Opera


DarkPrince2005

Recommended Posts

Why doesn't Mozillla Or Opera read the css?

 

.scrollable { 
width: 100%; 
height: 300; 
overflow: auto;
background-repeat:no-repeat;
background:"glogo.gif"; 
} 

td{background-repeat:no-repeat;
font-size:"14pt";
}

h2{
font-family:"Wide Latin";
}

body{scrollbar-face-color: "#ffffff";
scrollbar-shadow-color: "#ffffff";
scrollbar-highlight-color: "#ffffff";
scrollbar-3dlight-color: "#ffffff";
scrollbar-darkshadow-color: "#ffffff";
scrollbar-track-color: "#ffffff";
scrollbar-arrow-color: "#000000";
}

p{font-size:"12pt";
}

 

It doesn't recognize or read the linked stylesheet

Link to comment
https://forums.phpfreaks.com/topic/85147-solved-css-mozilla-opera/
Share on other sites

If you want help you're going to have to post all your code, not just a few lines of css.

 

However, the stuff you did post is riddled with errors:

 

- {height:300;} should contain a unit. Maybe you meant {height:300px;}

- {background:"glogo.gif";} should be {background-image:url(glogo.gif);}

- using pt as the unit for font-size is not recommended for screen media

- {font-family:"Wide Latin";} should also include a fall-back font that is sure to be on ever user's computer. Since Wide Latin is a serif, use serif: {font-family:"Wide Latin", serif;}

- all the scrollbar css properties are IE-specific. No other browser will pay attention to them.

Thanx for the error reporting, I should have actually known about them... But, yeah I'm sure that I'm not the first to forget the basics.

 

Regarding the scrollbar colors: are there ways that you can make it so mozilla and opera reads them?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.