Note that there are some explanatory texts on larger screens.

plurals
  1. POReplace webpage buttons when visited by outdated browser
    primarykey
    data
    text
    <p>heI've been working on a webpage for my fathers new company, and ran into a small problem. The thing I made looked nice on my computer and decided to upload and sent the link to my father. He said the buttons were wrong etc, so he has an old version of the webbrowsers. this is the html &amp; css code for one button</p> <pre><code>&lt;div class="menu-g"&gt; &lt;a href="genuine.html"&gt; &lt;span class="menu-g-slide-text"&gt;Genuine&lt;/span&gt; &lt;img src="images/menug.png" alt="icon" /&gt; &lt;/a&gt; &lt;/div&gt; .mid .menu .menu-g { background: #e5e5e5; height: 90px; width: 170px; display: inline-block; position: relative; border: 2px solid #e10613; box-shadow: 0px 1px 1px rgba(255,255,255,0.8) inset, 1px 1px 3px rgba(0,0,0,0.2); border-radius: 4px; clear: both; margin: 10px 0px; overflow: hidden; transition: box-shadow 0.3s ease-in-out; left: 50px; } .mid .menu .menu-g img{ position: absolute; left: 50px; top: 5px; border: none; transition: all 0.3s ease-in-out; } .mid .menu .menu-g .menu-g-slide-text{ position: absolute; font-size: 36px; left: 20px; color: #333; opacity: 0; text-shadow: 0px 1px 1px rgba(255,255,255,0.4); transition: opacity 0.2s ease-in-out; text-align: center; vertical-align: middle; line-height: 90px; } .mid .menu .menu-g:hover{ box-shadow: 0px 1px 1px rgba(255,255,255,0.8) inset, 1px 1px 5px rgba(0,0,0,0.4); border-top: 7px solid #e10613; border-bottom: 7px solid #e10613; border-left: none; border-right: none; position: relative; top: -5px; } .mid .menu .menu-g:hover img{ transform: scale(10); opacity: 0; } .mid .menu .menu-g:hover .menu-g-slide-text { opacity: 1; text-align: center; vertical-align: middle; line-height: 90px; } .mid .menu .menu-g:active { position: relative; top: -2px; background: #CCC; box-shadow:1px 1px 2px rgba(0,0,0,0.4) inset; } </code></pre> <p>Now I just want if someone with an outdated webbrowser visits the page, it'll just change to button to a simple squared box with a word it as button.</p> <p>How do I do that exactly?</p> <p>Thanks in advance &amp; kind regards Dave.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload