View Full Version : New Game > Help Sean Fix His CSS!


username132
09-29-2005, 03:03 AM
Here's an url to one of the pages (not all of them exist yet, so some links don't work). http://username132.tasminslair.com/website/pages/jcr.php (http://http://username132.tasminslair.com/website/pages/jcr.php)
Here's the url to the stylesheet http://username132.tasminslair.com/website/stylesheets/screen.css

The object of the game is to tell Sean (me) how to make it so the secondary_nav bar has a thin line of red running up behind the image of the college crest, like in the case of the primary_nav (the navigation bars).
You can earn bonus points by telling Sean anything else he's doing wrong. :)

mzhao
09-30-2005, 01:20 AM
Validate (http://validator.w3.org/) your code, please ;)

username132
10-01-2005, 02:14 AM
Okay, the JCR page almost validates, apart from one error I'm not sure what to do about. Apparently "charset" is not a valid attribute... but it was my understanding that I had to let the browser know what character set I was using in my HTML?

In the meantime, I'll set about validating all the other pages up to this same point.

username132
10-01-2005, 03:00 AM
I just validated a page with;

<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />

Is this correct, or should it read;

<meta content="text/html" charset="ISO-8859-1" http-equiv="content-type" />

(which as mentioned, doesn't validate)?

mzhao
10-01-2005, 04:51 AM
I was under the impression that it should go something like this for an XHTML document:

<meta http-equiv="content-type" content="application/xhtml+xml; charset=your charset" />

And this for an HTML document:

<meta http-equiv="content-type" content="text/html; charset=your charset">

username132
10-03-2005, 02:16 AM
You can see how it's meant to look in firefox, but the menu is a bit messed up in IE. Can anyone tell me how to discover which IE bug is causing this so I can find the appropriate hack to fix it?