Jump to content
Jorgensen

Internet Explorer - W3.CSS working fine on local, but not when copied to server

Recommended Posts

I have constructed a webpage using w3.css. 

When I see the page in internet explorer on my local computer running usbwebserver.exe, the page looks fine, but when i copy the page to our server - and then access the page via http://intranet/ the layout messes up. 

Does anyone know what can cause this? 

ps. The page looks fine in chrome, both local and on the server, but I would like to enable Internet Explorer, as this can open files in File Explorer. 

Jorgensen

local.JPG

on server.JPG

Share this post


Link to post
Share on other sites

Looking at nav bar? For some reason it is not linking to css styling, Your not using conditional comment to direct to IE specific styling and failing.

Share this post


Link to post
Share on other sites

Hi dsonesuk

I'm not sure what you mean, but I use this to like to the style.

<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">

What I find strange is, that the page works just fine in internet explorer when I run it locally, but when I copy to the server it won't work 😕

 

 

Share this post


Link to post
Share on other sites

What version of internet explorer are you using? Either the css is broken somehow, or internet Explorer version does not support newer CSS3 display: inline-block or flex which W3css is possibly using to make parent menu sit side by side.

Share this post


Link to post
Share on other sites

Hi dsoesuk

It seems to be a quite old version - 11.885.17134.0, the copyright says 2015. But as I say 

The real reason why I'm trying to use internet explorer, is that this browser opens windows file explorer when linking to files on local drives, which I'm looking for. 

Jorgensen

Share this post


Link to post
Share on other sites

What about Edge? it is more secure and supportive of modern CSS3, OR you need to identify what New styling is not being implemented and revert it to older styling that your version of IE supports.

Share this post


Link to post
Share on other sites

I would very much like to use edge, and it shows the page just fine, but I can't figure out how to open files via <a href="file://c:/">file</a>.

If I enter file://c:/ in the address field edge opens file eplorer just fine - in c:\ 

But if I add the path as a link on a html page, nothing happens when I press the link 😞

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...