Joomla CSS question

K

Knut Krueger

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
 
E

Els

Knut said:
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top