CSS/HTML Problems, I'm stumped!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gaisgeil
    New Member
    • Mar 2008
    • 3

    CSS/HTML Problems, I'm stumped!

    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:
    link

    and the CSS:
    css

    Any help is greatly appreciated!
    Last edited by drhowarddrfine; Mar 24 '08, 03:36 AM. Reason: Fixed links
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    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.

    Comment

    • Gaisgeil
      New Member
      • Mar 2008
      • 3

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

      Thanks!

      Validation link
      Last edited by Gaisgeil; Mar 24 '08, 03:47 AM. Reason: added link

      Comment

      • Gaisgeil
        New Member
        • Mar 2008
        • 3

        #4
        UPDATE:

        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?

        Comment

        • drhowarddrfine
          Recognized Expert Expert
          • Sep 2006
          • 7434

          #5
          Most browsers won't recognize the missing #.

          Comment

          Working...