By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

Conditional statement and flash postioning

P: 14
I have built a simple online portfolio http://www.webtwo-0.com/ click on it and it only has one page, the home page.

It's still being tested and should be ready in about a week but I'm having a few browser issues

1. if you open it in IE 6 and 7 this text is in top left hand corner <!--[if lte IE 6 7]> <![endif]--> how do i make it not appear, without disrupting the rendering or code.

2. How do i position a flash movie in IE? What ever I try I can move it, if you look at it in Mozilla the position is more to the right but in IE 6 and 7 i am having no luck.

Please can someone help me :-(

Jelly46
Apr 19 '07 #1
Share this Question
Share on Google+
8 Replies


drhowarddrfine
Expert 5K+
P: 7,435
Put a space after the first <-- and before the last --> and see if that fixes it.
Apr 19 '07 #2

P: 14
Put a space after the first <-- and before the last --> and see if that fixes it.
Thanks alot mate, thats such a help you are legend

But do i have to put a seperate conditional statement for IE 6 and 7?

Once again thanks
Apr 19 '07 #3

drhowarddrfine
Expert 5K+
P: 7,435
No. lte means "less than or equal" so you can just leave the 7 in there.
Apr 19 '07 #4

P: 14
No. lte means "less than or equal" so you can just leave the 7 in there.
yes but when i do leave 7 in there positiong goes all wrong

<!--[if lte IE 6 7]>
<link href="ie20.css" rel="stylesheet" type="text/css"/>
<![endif]-->

is this written correctly?
Apr 20 '07 #5

drhowarddrfine
Expert 5K+
P: 7,435
I believe including 6 and 7 in the same comment is not allowed.
Look here.
Apr 20 '07 #6

P: 14
I believe including 6 and 7 in the same comment is not allowed.
Look here.
Hopefully if i just use lte 7 then it shoudl resolve the problem?

Thanks again
Apr 20 '07 #7

drhowarddrfine
Expert 5K+
P: 7,435
lte IE7 will apply that statement to IE7, IE6 and lesser versions.
Apr 20 '07 #8

P: 14
lte IE7 will apply that statement to IE7, IE6 and lesser versions.
Nice one mate it worked

Thanks alot
Apr 21 '07 #9

Post your reply

Sign in to post your reply or Sign up for a free account.