By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,716 Members | 1,304 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,716 IT Pros & Developers. It's quick & easy.

CSS/HTML Problems, I'm stumped!

P: 3
Alright, I guess I'm stumped. I've been working on this for a while now and can't seem to figure it out. I'll post two screenshots to help explain the problem. The first image below is a webpage I'm developing as viewed in IE7, the second is the same one viewed in FF. The first problem is that in IE7 the background colors in the cells are showing up but for some reason the text under "Upcoming events" is behaving very strangely and not lining up as it should. In FF it's the exact opposite, none of the background colors are appearing but the text is doing what it should! What am I doing wrong?

First the images...
In IE7:

In FF:

and here is the HTML I've devised so far:

and the CSS:

Any help is greatly appreciated!
Mar 24 '08 #1
Share this Question
Share on Google+
4 Replies

Expert 5K+
P: 7,435
You are using an XHTML namespace for an HTML web page. Change the 2nd line with <html......... to just <html>. Then validate your html for that list of additional errors.
Mar 24 '08 #2

P: 3
Yes, I caught that a minute ago, thank you. I just ran it through the validator and it tested valid.


Validation link
Mar 24 '08 #3

P: 3

Well, I figured out why the cell colors weren't showing up in Firefox. Of all the things, apparently Firefox doesn't recognize a color unless preceded by "#" while IE will recognize it just fine.

I still can't figure out the text alignment problem in IE yet though. It shows up fine in Firefox and in Opera for PC as well.

Any ideas?
Mar 24 '08 #4

Expert 5K+
P: 7,435
Most browsers won't recognize the missing #.
Mar 24 '08 #5

Post your reply

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