Avatar of APD Toronto
APD TorontoFlag for Canada

asked on 

CSS Different in iFrame

Hi Experts

When you first load http://iwscc.ca/self-registration/ you will notice that there are two fields per row, as it is the case in the source url, which is http://selfregistration.iwscc.ca/public/registration-form/

The two column is in my desktop.css, which should be still wide enough in the iFrame, but for some reason it goes to my mobile.css.

Anyone know why?
CSSHTML

Avatar of undefined
Last Comment
Zvonko
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

I have removed the landscape option and it worked as desktop.css for me:

<link rel="stylesheet" type="text/css" media="only screen and (min-width: 768px) and (min-device-width: 768px) " href="../../styles/desktop.css">

Open in new window

Avatar of APD Toronto
APD Toronto
Flag of Canada image

ASKER

You'll see I removed landscape, but the issue presists.

Can you also explain why this should work?
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

I cannot. I have tested and have seen it working.
Now is the desktop.css not used at all:
http://selfregistration.iwscc.ca/public/registration-form/ 

You have a typo now! You missed the closing quotes:
<link rel="stylesheet" type="text/css" media="only screen and (min-width: 768px) and (min-device-width: 768px)????               href=" ..="" styles="" desktop.css"="">

Open in new window

Avatar of Zvonko
Zvonko
Flag of North Macedonia image

If I repair it to this then it works:

<link rel="stylesheet" type="text/css" media="only screen and (min-width: 768px) and (min-device-width: 768px)" href=" ../../styles/desktop.css">
<link rel="stylesheet" type="text/css" media="only screen and (min-width: 768px) and (min-device-width: 768px)" href="http://selfregistration.iwscc.ca/styles/registration-form_d.css">

Open in new window


ASKER CERTIFIED SOLUTION
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of APD Toronto
APD Toronto
Flag of Canada image

ASKER

Thank you!
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

You are welcome   :  )
HTML
HTML

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.

62K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo