[Solved] Why is the pseudo-class “:read-only” not working for a “disabled” element?

[ad_1] If you test in Firefox, you will see your code working fine so I assume it’s a bug or a lack of support for Google Chrome .pseudo-test input:read-write { color: blue; } .pseudo-test input:read-only { color: red; } <div style=”margin-top:10px” class=”pseudo-test”> <form action=”another-action.php”> <input type=”search” value=”What do you want to search for?” size=”100″ disabled> … Read more

[Solved] What means just “” in head of html page? [closed]

[ad_1] <!DOCTYPE html> is the explicit Document Type Declaration From the linked page: The DOCTYPE Declaration (DTD or Document Type Declaration) does a couple of things: 1. When performing HTML validation testing on a web page it tells the HTML (HyperText Markup Language) validator which version of (X)HTML standard the web page coding is supposed … Read more

[Solved] How does dojo/request handle html/javascript response?

[ad_1] As I explained you in your other questions, JavaScript is never automatically being executed when using AJAX requests (like dojo/request/xhr) out of security matters. If you want to execute JavaScript code that’s dynamically loaded, you will have to use the eval() function to parse it. However, I also told you already that the Dojo … Read more

[Solved] Don’t know where to start with this navigation bar (nav bar) [closed]

[ad_1] You can try something like this: <nav> <ul> <li> <a href=”http://www.google.nl/”>Menu item 1</a> </li> <li> <a href=”http://www.google.nl/”>Menu item 2</a> </li> <li> <a href=”http://www.google.nl/”>Menu item 3</a> </li> <li> <a href=”http://www.google.nl/”>Menu item 4</a> </li> </ul> </nav> With the CSS of: nav { height: 100px; background-color: blue; } nav > ul { list-style: none; } nav > … Read more

[Solved] Undefined is not a function javascript error [closed]

[ad_1] It’s getElementsByName note the s, document.getElementByName is not defined. That would get you a nodeList, so function cleaning() { var elem = document.getElementsByName(“fitas”)[0]; elem.value = elem.value.replace(/^.+?(<url=[^>]+>).+$/, ‘$1′); } Also, the way you’re typing the script tag was popupar in the nineties, these days it’s all lowercase, and you don’t need a language attribute, and … Read more

[Solved] What format do the most browsers support? [closed]

[ad_1] According to w3schools, here is a chart which shows which browsers support each file: Browser MP3 Wav Ogg Internet Explorer 9+ YES NO NO Chrome 6+ YES YES YES Firefox 3.6+ NO YES YES Safari 5+ YES YES NO Opera 10+ NO YES YES [ad_2] solved What format do the most browsers support? [closed]

[Solved] CSS trick for maximum inline image indentation [closed]

[ad_1] Found the answer. Took me a lot of time, and brought me to the darkest corners of CSS. And yet, I’ve emerged enlightened – and the answer is so simple…. <div id=”container” style=”width:auto”> <div id=”text”> some varying text here… </div> <div id=”img” style=”width: 10px; background: url(img.png)”> </div> And The CSS: #text { width:auto; max-width: … Read more

[Solved] PHP Include not working – php too complex? [closed]

[ad_1] My guess: Your “html” file is actually named something.html, which causes the webserver to not recognize it as PHP. Rename it into something.php. To verify that this was the problem, check the source of your HTML page, you should see the literal PHP code displayed there. [ad_2] solved PHP Include not working – php … Read more

[Solved] JavaScript function to add two numbers is not working right

[ad_1] HTML DOM element properties are always strings. You need to convert them to numbers in your usage. parseInt(form.resistance.value); parseFloat(form.resistance.value); +form.resistance.value; (Any of the three will work; I prefer the first two (use parseInt unless you’re looking for a float).) [ad_2] solved JavaScript function to add two numbers is not working right

[Solved] HTML with PHP not working [closed]

[ad_1] In this code, there is actually not much that could work. I don’t know where $file could come from, it looks like it’s undefined so your goto will result in an infinite loop. Then you have to have an if to use else. There is no output because of the infinite loop, so it … Read more

[Solved] ECHO MYSQL RESULT DISPLAY BLANK PAGE [closed]

[ad_1] Rename loja.genesiseries/depoimentos/testemysql.html to loja.genesiseries/depoimentos/testemysql.php <div> <p> <font color=”#bdbdbd”> <?php $sql = “SELECT * FROM opinions ORDER BY id DESC LIMIT 15”; $resultado = mysql_query($sql); while ($linha=mysql_fetch_array($resultado)) { $depoimento = $linha[“depoimento”]; $client = $linha[“client”]; echo “$depoimento”; echo “$client”; } ?> </font> </p> </div> 3 [ad_2] solved ECHO MYSQL RESULT DISPLAY BLANK PAGE [closed]

[Solved] One div extends into another div [closed]

[ad_1] it seems to me like a float issue. Ensure that you clear the base of a div that contains floated elements. <div> <p>floated left element</p> <p> also floated left element</p> <p> some text </p> <div style=”clear:both;”></div> </div> 2 [ad_2] solved One div extends into another div [closed]