View Full Version : Help with css problem
12-21-2006, 03:40 AM
I'm trying to create a simple test site using CSS to change colors on a page when a user chooses a different color.
If you go here, you will see that you can click the links and the color changes in the table cells, which is what I want, but the problem is it's not working in firefox, only in internet explorer. Any ideas?
12-21-2006, 04:42 AM
* Lecture about not using tables for layout and making sure you have a complete DTD at the top of your page goes here *
12-21-2006, 10:46 AM
thanks...give me a short lecture about why I shouldnt use tables and what you suggest instead, I'm up for learning but just don't know an easy way to avoid them..
and about the DTD..is that document type definition? and what's the importance? thanks again
12-21-2006, 10:54 AM
It's not about ease, it's about making a good website, which shouldn't be easy. You should really be using CSS and X/HTML to build your pages. Creating divs instead of table cells etc. ect. There's plenty of information about it in this forum or you could check out the W3Schools (http://www.w3schools.com) website for loads of information regarding CSS and X/HTML. Another good place to head is Bon Rouge (http://www.bonrouge.com) as there is an awesome tutorial on there showing you how to build a simple CSS styled web page!
There's loads of information about Doctypes at the top of this folder too, and yes it does stand for Doctype Definition :)
The importance of it is, if you don't use it it forces IE to work in 'quirks' mode, which basicallymeans, make everything look like it shouldn't look!
12-21-2006, 11:15 AM
Read the good answer given above and for an entertaining yet informative explanation, read this article: http://www.hotdesign.com/seybold/index.html
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.