From cff24f6856ad43387e3ccc7f45928a29c76b9a56 Mon Sep 17 00:00:00 2001 From: ALittlePatate Date: Mon, 22 Apr 2024 14:19:35 +0200 Subject: [PATCH] fix: IE compatibility --- css/styles.css | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index 96cd102..ff04f85 100644 --- a/css/styles.css +++ b/css/styles.css @@ -44,13 +44,23 @@ a:active { right:0px; } -.menu { +.menu { display: flex; - gap: 10px; font-weight: bold; margin-top: 6.4%; } +/* Add spacing between child elements using margins */ +/* Doing this hack to ensure IE compatibility */ +.menu > * { + margin-right: 10px; /* Adjust the value as needed */ +} + +/* Remove margin from the last child to prevent extra spacing */ +.menu > :last-child { + margin-right: 0; +} + body { background: url(../images/bg.gif) repeat 0 0; color: white;