[Solved] CSS3 – box with notification bubble [closed]

Try this: CSS: .outer{ width: 100px; height: 100px; border: 1px solid black; background: url(http://us.123rf.com/400wm/400/400/prolific/prolific1206/prolific120600020/14161811-pencil–edit–icon.jpg); background-size: 100px 100px; } .num_notifs { border-radius: 5px; width: 50%; margin-left: 25%; margin-top: 2px; background: #00b7ea; /* Old browsers */ background: -moz-linear-gradient(top, #00b7ea 0%, #0052bf 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b7ea), color-stop(100%,#0052bf)); /* Chrome,Safari4+ */ background: … Read more

[Solved] I have a list of names as , clicking on the name should save it to local storage… code attached [closed]

Try Html <ul class=”namelist”> <li>Liam</li> <li>Noah</li> <li>William</li> <li>James</li> <li>Oliver</li> <li>Benjamin</li> <li>Elijah</li> <li>Lucas</li> </ul> <div id=”divShow”> </div> Jquery <script> $(‘.namelist li’).click(e=>{ localStorage.setItem($(e.currentTarget).text(), $(e.currentTarget).text()); $(‘#divShow’).append(‘<p>’+$(e.currentTarget).text()+'</p>’); }); </script> 3 solved I have a list of names as , clicking on the name should save it to local storage… code attached [closed]

[Solved] How to pass radio button value with php [closed]

Quick’n dirty solution : <?php $checked=isset($_POST[“radio”]) && $_POST[“radio”]===”oneway”?”checked”:””; ?> <input type=”radio” name=”radio” id=”oneway” value=”oneway” <?php echo $checked;?> /> but actually you should separate logic from template using a template engine like smarty or twig or mustache or whatever… 1 solved How to pass radio button value with php [closed]

[Solved] Some thing wrong in my CSS slider

From what you’ve given us, it looks like you’re using a font icon (maybe font awesome?) in a css :before or :after pseudo class. If this is the case, the reason your arrow is not showing is because you are not loading the font correctly. Firstly, you need to define the custom font on your … Read more

[Solved] Whats wrong with this CSS/HTML code? [duplicate]

Everything ‘pops up’ because you’ve got a height declaration in the hover attribute but not the original li definition: #nav li:hover { background-color: #24389b; height: 25px; } The problem with columns is almost certainly because you’ve got the left to float left and the right hand one to float right – as far as I … Read more

[Solved] Why my site doesn’t look good on other browsers? [closed]

First off, You should use a reset / normalize script in your css. A good one is Eric Meyers’s. Include this at the beginning of your stylesheet. /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, … Read more

[Solved] Php form issue with submitting [closed]

Your server should have the Sendmail configured or a different mail server. To strip HTML you can use $message = strip_tags($message); $message2 = strip_tags($message2); Or you can use htmlspecialchars to convert special chars to HTML entities. 6 solved Php form issue with submitting [closed]

[Solved] Create a sliding div on click [closed]

Try this, will it work for you? https://jsfiddle.net/gwxhz3pe/6/ var width; $(‘#content’).click(function(){ if($(this).hasClass(‘open’)){ $(this).removeClass(‘open’); width = “10px”; } else { $(this).addClass(‘open’); width = “300px”; } $(this).animate({ width: width }, 200, function() { }); }); 2 solved Create a sliding div on click [closed]