Forum Moderators: not2easy
--
body {
background:#123 url("http://www.blogblog.com/dots_dark/bg_minidots.gif") 50% 0;
--
Im still researching, but hoped someone here could clue me in faster on the fix.
I used the following for the styles sheet:
body {
background:#123 url("http://www.blogblog.com/dots_dark/bg_minidots.gif") 50% 0;
}
and this is the index.html:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Page to test CSS for kwasher</title>
<style type="text/css">
@import url(styles.css);
</style>
</head>
<body>
</body>
</html>
I then loaded it in IE6 and FireFox 0.9.2. They look identical to me. Is this a problem with the mozilla browser? If so what version?
YOUR page looks fine in both IE and Mozilla.
The difference between your page and mine is
<style type="text/css">
@import url(styles.css);
</style>
vs
<link rel="stylesheet" href="style.css" type="text/css" />
I have learned a great lesson. Thank you.
Do you have a favorite CSS URL where I read up on why and how? Much to learn... so much to learn....
One note on the @import url command is that it does not work with older browsers, but I believe that I read that if you use that first and then the <link> method supplying a specific style sheet for older browsers there it is a work around.