Note that there are some explanatory texts on larger screens.

plurals
  1. POHTML - clickable area
    primarykey
    data
    text
    <p>For my navigation bar, how would I make the "Arc Studios" text clickable.</p> <p>Here's <a href="http://prntscr.com/1verqq" rel="nofollow">a pic of the navigation bar</a>.</p> <p>Here's the code;</p> <pre><code>&lt;li id="navbar-logo"&gt;&lt;a href="#"&gt;&lt;/a&gt;Arc Studios&lt;/li&gt; </code></pre> <p>So how do I make a clickable link, and add CSS to the text?</p> <pre><code>.menu, .menu ul, .menu li, .menu a { margin: 0; padding: 0; border: none; outline: none; } .menu { margin-top: -8px; height: 50px; width: 100%; position: absolute; right: 0; left: 0; text-align: left; background: rgb(63,76,107); /* Old browsers */ background: -moz-linear-gradient(top, rgba(63,76,107,1) 0%, rgba(63,76,107,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(63,76,107,1)), color-stop(100%,rgba(63,76,107,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(63,76,107,1) 0%,rgba(63,76,107,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f4c6b', endColorstr='#3f4c6b',GradientType=0 ); /* IE6-9 */ box-shadow: 0px 1px 3px #000000; -webkit-border-radius: 1px; -moz-border-radius: 1px; border-radius: 1px; } .menu li { position: relative; list-style: none; float: left; display: block; height: 40px; } .menu li a { /* Navigation Bar text */ display: block; padding: 0 20px; margin: 15px 0; line-height: 15px; text-decoration: none; font-family: sans-serif; font-weight: bold; font-size: 12px; color: #FFFFFF; /* text-shadow: 1px 1px 1px rgba(255,255,255,0.3); */ -webkit-transition: color .4s ease-in-out; -moz-transition: color .4s ease-in-out; -o-transition: color .4s ease-in-out; -ms-transition: color .4s ease-in-out; transition: color .4s ease-in-out; } .menu li:first-child a{ border-left: none; } .menu li:last-child a{ border-right: none; } .menu li:hover &gt; a { text-decoration: underline; } .menu ul { position: absolute; top: 35px; left: 0; opacity: 0; background: rgba(63,76,107,1); border-left: 1px solid #393942; border-bottom: 1px solid #393942; border-right: 1px solid #393942; -webkit-border-radius: 0 0 2px 2px; -moz-border-radius: 0 0 2px 2px; border-radius: 0 0 2px 2px; -webkit-transition: opacity .75s ease .1s; -moz-transition: opacity .75s ease .1s; -o-transition: opacity .75s ease .1s; -ms-transition: opacity .75s ease .1s; transition: opacity .75s ease .1s; } .menu li:hover &gt; ul { opacity: 1; } .menu ul li { height: 0; overflow: hidden; padding: 0; -webkit-transition: height .25s ease .1s; -moz-transition: height .25s ease .1s; -o-transition: height .25s ease .1s; -ms-transition: height .25s ease .1s; transition: height .25s ease .1s; } .menu li:hover &gt; ul li { height: 35px; overflow: visible; padding: 0; } .menu ul li a { width: 100px; padding: 10px 0 10px 10px; margin: 0; border: none; border-bottom: 1px solid #353539; } .menu ul li:last-child a { border: none; } .menu li#navbar-logo { color: #FFC8C8; text-shadow: 2px 2px 2px rgba(255, 0, 0, 1); font-size: 50px; font-family: Intrique Script Personal Use; margin-top: -20px; } .menu li#navbar-home, .menu li#navbar-about, .menu li#navbar-shop, .menu li#navbar-contact, .menu li#navbar-community { margin-top: 5px; } .menu li#navbar-logo, .menu li#navbar-home, .menu li#navbar-about, .menu li#navbar-shop, .menu li#navbar-contact, .menu li#navbar-community { margin-left: 5px; } </code></pre> <p>here is the css as requested</p>
    singulars
    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.
 

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