Css question regarding firefox?
I've been creating a web site from a basic css template consisting of 3 columns and 2 rows, arranged so the centre section covers most of the viewing area with two margins and a footer. I have many pages and they all use the same template, using the centre section as a frame to other pages. All pages work perfectly in internet explorer. One page however shows differently in firefox. The background colour of the margins is a darkish red and the background colour of the page that shows in the centre frame should be white. But it shows as red. It's fine in i.e, plus other pages with a white background show alright in firefox. Why should this one be different and where should I be looking for the problem?
Public Comments
- I would try the firebug add-on for firefox to help narrow down the problem. You can right click on anything, then select "Inspect Element" It's kind of hard to give an answer here without a link. If you want to discuss further I added a web design section to our forums -> http://www.tech-101.com/web-design-seo/
- Hi there I have had these problems also, and beliwve me, they are there to stay. Now, the basic thing to note is that browsers interprete html code differently. You may find that it may even be worse with things like Netscape. Here are a few things that I found helpful in most cases: 1. Put everything inside tables/sub-tables when positioning your objects on the website. 2. Use hexadecimal color codes when dealing with colors and avoid things like: backcolor="brown", instead, use backcolor="#c0c0c0" 3. Specifically and explicitly set the dialect of your html version in your development IDE by using the <!DOCTYPE html PUBLIC "??????.dtd> and/or the <html xmlns ="????????/.???> tags at the top of your page. 4. For a site that MUST run on most platforms, use basic, I mean basic html and not some fancy but limited tags suitable only for a few browsers. Good luck
Powered by Yahoo! Answers