Parts of Page our misaligned for some viewers

B

bill from habitat

Some viewers have stated the page is unusable becuse the components
(pictures, text and links) are not aligned properly. One sent a screen shot
and he sees <1--[if!vm1}--><!--[endif]--> on his screen and then the rest of
the page is misaligned. I have used FrontPage exclusily in the design.
Most viewers have no prblems?
 
T

Trevor L.

bill said:
Some viewers have stated the page is unusable becuse the components
(pictures, text and links) are not aligned properly. One sent a
screen shot and he sees <1--[if!vm1}--><!--[endif]--> on his screen
and then the rest of the page is misaligned. I have used FrontPage
exclusily in the design.
Most viewers have no prblems?

Perhaps the code should read
<!--[if!vm1]><![endif]-->
or
<![if!vm1]><![endif]>

The first is a IE downlevel-hidden conditional comment
The first is a IE downlevel-revealed conditional comment

These comments are processed by IE but not by other browsers

But there should be something between the two
i.e.
<!--[if!vm1]>
some code in here
<![endif]-->

But what is
<!--[if!vm1]> ?

IE conditional comments usually only test for IE or IE4, etc.
vm1 looks like virtual machine 1 (only guessing) !!
So I guess FP has generated this, but what it means and why it is misspelt,
I don't know
 
B

Bob Lehmann

Perhaps the code should read
Or, perhaps using non-proprietary junk instead would solve the problem.

Bob Lehmann

Trevor L. said:
bill said:
Some viewers have stated the page is unusable becuse the components
(pictures, text and links) are not aligned properly. One sent a
screen shot and he sees <1--[if!vm1}--><!--[endif]--> on his screen
and then the rest of the page is misaligned. I have used FrontPage
exclusily in the design.
Most viewers have no prblems?

Perhaps the code should read
<!--[if!vm1]><![endif]-->
or
<![if!vm1]><![endif]>

The first is a IE downlevel-hidden conditional comment
The first is a IE downlevel-revealed conditional comment

These comments are processed by IE but not by other browsers

But there should be something between the two
i.e.
<!--[if!vm1]>
some code in here
<![endif]-->

But what is
<!--[if!vm1]> ?

IE conditional comments usually only test for IE or IE4, etc.
vm1 looks like virtual machine 1 (only guessing) !!
So I guess FP has generated this, but what it means and why it is misspelt,
I don't know
 
M

Murray

This is definitely *not* junk, Bob. IE conditional comments are the secret
path to managing IE's quirks without resorting to hacks.

For example, one could "Holly Hack" a listed style rule -

/* START: Hide from Mac/IE. Only PC/IE sees this. \*/
* html .whatever { height: 1% }
/* END: Hide from Mac/IE */

or, one could use an IE downlevel conditional comment -

<!--[if lte IE 6]>
<style>
..whatever { zoom:100%; }
</style>
<![endif]-->

The hack *may* fail to work as you intended in any future browser. The IE
CC definitely will not.

--
Murray
--------------
MVP FrontPage


Bob Lehmann said:
Or, perhaps using non-proprietary junk instead would solve the problem.

Bob Lehmann

Trevor L. said:
bill said:
Some viewers have stated the page is unusable becuse the components
(pictures, text and links) are not aligned properly. One sent a
screen shot and he sees <1--[if!vm1}--><!--[endif]--> on his screen
and then the rest of the page is misaligned. I have used FrontPage
exclusily in the design.
Most viewers have no prblems?

Perhaps the code should read
<!--[if!vm1]><![endif]-->
or
<![if!vm1]><![endif]>

The first is a IE downlevel-hidden conditional comment
The first is a IE downlevel-revealed conditional comment

These comments are processed by IE but not by other browsers

But there should be something between the two
i.e.
<!--[if!vm1]>
some code in here
<![endif]-->

But what is
<!--[if!vm1]> ?

IE conditional comments usually only test for IE or IE4, etc.
vm1 looks like virtual machine 1 (only guessing) !!
So I guess FP has generated this, but what it means and why it is misspelt,
I don't know
 

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

Top