Forum Discussion
CSS hack for Edge browser
singalashwani thanks for the question. I'm really curious why you want to do this. Is there a bug in Edge that you are working around that you don't see in Chrome?
-John
- singalashwaniOct 08, 2020Copper Contributor
johnjansen thanks for the follow-up. Actually, I am working on a full-page vertical scrollable infographic website where all the different slides are full-page background images and on top of that, I am placing absolutely positioned divs to align elements. The alignment of these divs are not same in Chrome and Edge. That's why, I was looking for a CSS only solution to target styles only for the Edge browser but was not finding anything, thanks
- msekmfb1Oct 08, 2020Iron Contributor
singalashwani I think that is exactly what you need: https://alvarotrigo.com/fullPage/#page1
- johnjansenOct 08, 2020Iron Contributor
singalashwani that actually sounds like a bug, if you are talking about the current Edge browser. Can you share the version of Edge as well as a CSS sample that demonstrates the issue?
-John
- msekmfb1Oct 08, 2020Iron Contributor
johnjansen I assume he talks about something like this (https://www.w3schools.com/howto/tryhow_css_parallax_demo.htm) but he actually does not have enough CSS knowledge to do that without absolute positioning.
singalashwani check this manual https://www.w3schools.com/howto/howto_css_parallax.asp