Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

My styles are not working in Firefox but do in IE

  • 2 trả lời
  • 2 gặp vấn đề này
  • 141 lượt xem
  • Trả lời mới nhất được viết bởi daviddorrington

more options

I am updating a web site and I always check it in both Firefox & IE to be sure it looks right. In this case, the font size and color do not respond to the style in Ff but they are fine in IE.

Check this page http://www.pafosdartsleague.com/blueresults.htm

The letters for Division 1 should be blue, for Div 2 Green and for Div 3 orange. They should also be larger.

Interestingly, on this page http://www.pafosdartsleague.com/index.htm the H1 css to be blue works but not the

Any help would be appreciated.

I am updating a web site and I always check it in both Firefox & IE to be sure it looks right. In this case, the font size and color do not respond to the style in Ff but they are fine in IE. Check this page http://www.pafosdartsleague.com/blueresults.htm The letters for Division 1 should be blue, for Div 2 Green and for Div 3 orange. They should also be larger. Interestingly, on this page http://www.pafosdartsleague.com/index.htm the H1 css to be blue works but not the <p> Any help would be appreciated.

Giải pháp được chọn

There are error messages in the errorconsole.
Firefox ignores the css rules because there is a syntax error at line 18:
-->> table.heading {{background-image:url('barline.jpg');
please remove one of the opening brackets here
You can go to Mozilla Developer Network to learn CSS.
https://developer.mozilla.org/en-US/learn/css

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

There are error messages in the errorconsole.
Firefox ignores the css rules because there is a syntax error at line 18:
-->> table.heading {{background-image:url('barline.jpg');
please remove one of the opening brackets here
You can go to Mozilla Developer Network to learn CSS.
https://developer.mozilla.org/en-US/learn/css

more options

THANK YOU! I don't know how many times I've read that code and not seen the error. I had completely forgotten the excellent Error Console. Thank you knorretje - and thank you Firefox for the error console