Results 1 to 4 of 4

Thread: Weird XHTML(?) problem... Need Help.

  1. #1
    Oberon's Avatar
    Oberon is offline Unknown Net Builder
    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    6
    Thanks
    5
    Thanked 1 Time in 1 Post

    Weird XHTML(?) problem... Need Help.

    I've been beating my head against the wall with this problem I have...

    Ok, Here it is...

    I have a site with table design (I know, I know... )
    It is joomla site and uses xhtml DOCTYPE (have to be that way...)

    It shows correctly in Firefox and old IE6 but I can't get it to work in IE7 or IE8...

    The strange problem is this...

    If I copy a source code of the page and save that as HTML to local drive - everything works perfect!

    But on the server it is PHP file and IE7 or IE8 does not render table "height" correctly...

    Maybe it is something very simple and I've been looking at the code for to long, but for the life of me, I can't put my finger on it....

    Any help appreciated...

  2. #2
    Aziz's Avatar
    Aziz is offline no investment, no glory
    Join Date
    May 2009
    Location
    IL
    Posts
    736
    Thanks
    588
    Thanked 243 Times in 168 Posts
    can you show us the site live?

  3. #3
    Oberon's Avatar
    Oberon is offline Unknown Net Builder
    Join Date
    Mar 2009
    Location
    Los Angeles
    Posts
    6
    Thanks
    5
    Thanked 1 Time in 1 Post
    Sure, Here it is:

    Welcome to the Frontpage

    Thanks,

    Update:

    So far I figured the following:

    1. FireFox and IE7 renders table in the same fashion if file has html extension.. (don't know if that relevant to the problem)

    here is the temp file that shows that: temp file

    2. IE6 renders tables correctly because it is in a quirk mode (does not support xhtml doctype?)

    3. I can pass height in % from CSS and it works with FireFox but not with IE7... (actually this solution is all over th web )

    4. If I pass height as (px) it works just fine in both browsers....

    I would be happy to use px but what I need is "dynamic" cell heights and with PX it is fixed.....
    Any suggestion ?
    Last edited by Oberon; 17 February, 2010 at 23:10 PM. Reason: Update

  4. #4
    TopDogger's Avatar
    TopDogger is offline Über Hund
    Join Date
    Jan 2009
    Location
    Hellfire, AZ
    Posts
    3,050
    Thanks
    345
    Thanked 908 Times in 694 Posts
    It looks like the problem is the path to the CSS file. A path can be interpreted differently when running locally.

    Try using the full path to the CSS file, rather than a relative path.
    "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote." -- Benjamin Franklin


Similar Threads

  1. Replies: 0
    Last Post: 29 October, 2010, 12:09 PM
  2. This is weird , what to do
    By weirdnessme in forum AdSense
    Replies: 6
    Last Post: 21 November, 2009, 21:03 PM
  3. Really Weird Error
    By CoreyFreeman in forum Wordpress
    Replies: 1
    Last Post: 15 July, 2009, 07:44 AM
  4. Weird Problem With Subscribe2 Plugin
    By kentuckyslone in forum Wordpress
    Replies: 4
    Last Post: 21 June, 2009, 14:55 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •