473,395 Members | 1,701 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

CSS errors in Netscape 7.2 & Opera 8.51

Hello!
I've created the following web site (http://www.vanpratthomes.com) and have found that the background in the right hand column and the bottom row with the company address, phone, etc. are not displaying as intended in Netscape 7.2 and Opera 8.51. Everything looks as it should in IE 6. (I realize I'm not using the latest version in all these browsers, but figure many other people aren't either.)

This is the code used in the right column table cell:
Expand|Select|Wrap|Line Numbers
  1. <td id="rightcolumn" width="125" valign="top"><img id="rtcolumnpicstop" src="images/home-exterior-125.jpg" width="125" height="155" alt="custom built homes" /><img id="rtcolumnpics" src="images/family.jpg" width="125" height="105" /><img id="rtcolumnpics" src="images/table-right.jpg" width="125" height="275" alt="custom woodworking" /><img src="images/spacer-trans.gif" width="1" height="100%" /></td>
  2.  
  3. This is the style for #rightcolumn:
  4. #rightcolumn {
  5.     background: #415821 url(images/right-green-stripes.jpg) repeat-y;
  6.     border-right: 5px solid #FFF;
  7.     }
  8.  
  9. The green striped background is not appearing in the right column below the pictures.
  10.  
  11. The bottom row of the page has the following code:
  12. <td id="footer" valign="top" colspan="3">2007 Van Pratt & Company, LLC. All rights reserved.<br />
  13. P.O. Box 221, Pine City, NY 14871 &nbsp;&nbsp;&nbsp;Phone: 607-732-3311<br />Web Site Design by <a href="http://www.julieburgess.com" target="_blank">Julie Burgess Web Design</a></td>
  14.  
  15. This is the style for #footer:
  16. #footer {
  17.     layered-background-color: #F8D163;
  18.     background-color: #F8D163;
  19.     border-top: 4px solid #FFF;
  20.     border-bottom: 4px solid #FFF;
  21.     border-right: 5px solid #FFF;
  22.     border-left: 5px solid #FFF;
  23.     padding: 5px 5px 5px 10px;
  24.     }
  25.  
I've done a lot of digging but haven't been able to find a solution that works. I read that Netscape only recognizes the property "border" and not "border-top, border-bottom, etc." I also read about the "border-collapse" property and tried some things with both of these. I'm just stumped! Any help someone can offer would be greatly appreciated!
Feb 13 '07 #1
2 1372
drhowarddrfine
7,435 Expert 4TB
Your most serious errors are using the same id name more than once. You are only allowed one per page. If you must use the same style for multiple elements, use 'class'.

You have declared xhtml yet you are using deprecated elements. Validate your code for that list of errors.

Also, you can't use the ampersand in xhtml, technically. You should use &amp; But you aren't serving true xhtml so only the validator complains about it.

Never, ever use IE as your initial test case. Always, always use a modern browser, such as Firefox or Opera to check your pages. Then adjust for IEs quirks and bugs.
Feb 13 '07 #2
I appreciate your feedback as you have shown me where I need to do some more learning! I have done some validation tests and am working on cleaning up my code and css. I still haven't solved the problem of the right column background not appearing but perhaps will get there as I continue to work on things. Thanks again!
Feb 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Dom | last post by:
Hi, I am trying to get a dynamic table going. You click a button to add a row. In the newly created row a button to delete the row is placed (try the code example below). In Netscape, pressing...
2
by: ASallade | last post by:
Hello, I've scoured my books and the web, but am still daunted, hopefully some of the users in this newsgroup will have advice for my problem. I am not an experienced javascript programmer,...
2
by: Adam | last post by:
I have a scrollbar that runs at the top of my page, I have it in a external js file and call it in the head tags of the webpage code. can you one tell me how to get this code to work with other...
5
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I get my browser to report javascript errors?...
1
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I get my browser to report javascript errors?...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.