Joomla CSS question

Discussion in 'HTML' started by Knut Krueger, Jun 5, 2008.

  1. Knut Krueger

    Knut Krueger Guest

    Hi to all
    i found an error message in an Joomla template.
    Is anybody able to tell me how to change it that it is a valid css.

    ... Its not my site but I would like to know the solution.

    *>html #wrap { width: 928px; }
    * html #wrap { width: expression((body.offsetWidth >1024)?'928px':'auto'); }

    by the way what dos * and *> mean ?

    Regards Knut
     
    Knut Krueger, Jun 5, 2008
    #1
    1. Advertisements

  2. Knut Krueger

    Els Guest

    Knut Krueger wrote:

    > i found an error message in an Joomla template.
    > Is anybody able to tell me how to change it that it is a valid css.
    >
    > .. Its not my site but I would like to know the solution.
    >
    > *>html #wrap { width: 928px; }
    > * html #wrap { width: expression((body.offsetWidth >1024)?'928px':'auto'); }
    >
    > by the way what dos * and *> mean ?


    * means 'any element', and > means 'direct child of'. So, *>html means
    an html element that is a direct child of any element. Not that there
    is any parent element really to html, but that's why those two
    stylerules are only meant to trick older IE versions into applying a
    max width.

    To make that line valid CSS, would mess up the max width in IE6.

    --
    Els http://locusmeus.com/
     
    Els, Jun 5, 2008
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. walterbyrd

    Can I use Python instead of Joomla?

    walterbyrd, May 2, 2007, in forum: Python
    Replies:
    9
    Views:
    606
    walterbyrd
    May 4, 2007
  2. Weasley
    Replies:
    0
    Views:
    472
    Weasley
    Dec 11, 2009
  3. PSD to XHTML Conversion Services and PSD to HTML C
    Replies:
    0
    Views:
    1,042
    PSD to XHTML Conversion Services and PSD to HTML C
    Apr 25, 2011
  4. xhtml champs
    Replies:
    0
    Views:
    459
    xhtml champs
    Jun 21, 2011
  5. xhtml champs
    Replies:
    0
    Views:
    754
    xhtml champs
    Aug 1, 2011
  6. xhtml champs
    Replies:
    0
    Views:
    1,232
    xhtml champs
    Aug 2, 2011
  7. xhtml champs
    Replies:
    0
    Views:
    943
    xhtml champs
    Sep 29, 2011
  8. Replies:
    3
    Views:
    220
    Tad J McClellan
    Apr 2, 2008
Loading...