[Solved] how to use jQuery on multiple pages

Right… I had found the downvotes strange… you guys almost gave me a sad birthday šŸ˜› turns out the issue wasn’t understandable till you fall in the trap. Found the solution in one of these obscure web places šŸ˜‰ Here you go: Somehow pages loaded into other pages through certain methods (ajax being one?) get … Read more

[Solved] How to make the “hello world” in a little less before the the centre, maybe it can from the between of text-align: left; to text-align: center; [closed]

It’s not really clear what u mean.. Maybe this? #nd { margin-left:20px; } Hello world nothing<br/> <span id=”nd”>Hello world<span> 1 solved How to make the “hello world” in a little less before the the centre, maybe it can from the between of text-align: left; to text-align: center; [closed]

[Solved] Placement of div-tags for layout [closed]

The link below should give you a good idea. I have set different background colours so that you can see where everything is. The only trouble you are going to have is that you cannot do “100% – 75px” so I have just set it as 500px. link 3 solved Placement of div-tags for layout … Read more

[Solved] Dropdown menu effect [closed]

Pure css solution is CSS(3) transitions. http://jsfiddle.net/9gjbfvwy/ use width and height 0, with overflow hidden. Use CSS3 transitation to set them to auto. See fiddle (it’s your code, with 3 additions) ul.sub-menu{height:0;width:0;overflow:hidden;} .menu-item:hover ul.sub-menu{background:orange;width:200px;height:50px;} ul.sub-menu { -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; } 3 solved … Read more

[Solved] How to create a button with two states? [closed]

http://jsfiddle.net/z2J3B/2/ include the function in your head function test() { var submit = document.getElementById(“submit”); var message = document.getElementById(“message”); if (submit.className == “check”) { submit.setAttribute(“disabled”); var inc = 10; message.innerHTML = “you have ” + inc + ” seconds left, check the form”; var interval = setInterval(function () { inc–; message.innerHTML = “you have ” + … Read more

[Solved] Which is the correct method of declaration CSS class? and what is different from following methods?

Both are valid, but used in different ways: .classname: Styles will be applied for every element with class classname element.classname: Styles will be applied for every type of this element element with class classname Example: .class { width: 100px; height: 100px; background-color: blue; } div.class { background-color: yellow; } <div class=”class”></div> <section class=”class”></section> <p class=”class”></p> … Read more

[Solved] check if value is above 0 not working

Maybe you just wrong posting your data? Check what is in $_POST[‘number’]. echo $_POST[‘number’]; You can always check your whole $_POST array, maybe you just made a mistake in your variable name? If you want to do it: echo “<pre>”; print_r($_POST); echo “</pre>”; There is no input in your code with name=”number” You need something … Read more

[Solved] Select menu CSS [closed]

Is this what you need? select { border: 0 none; color: black; background: transparent; font-size: 14px; padding: 6px; width: 100%; background: #58B14C; text-indent: 50%; } #mainselection { overflow: hidden; width: 100%; background: #4CAF50; text-align: center; } select:hover { text-shadow: 1px 1px red; box-shadow:1px 1px red; } <div id=”mainselection”> <select> <option>Select options</option> <option>1</option> <option>2</option> </select> </div> … Read more

[Solved] Can I bypass this http login form and get to the index page without the username and password? [closed]

It’s better to reset the router. The only way you could look at the password was if you had backed up the router’s configuration in a text file. What’s in the router anyway that you are so fearful of resetting it? Wouldn’t start World War III now would it? šŸ˜‰ 5 solved Can I bypass … Read more

[Solved] web 2.0 sucks huge floppy disks? [closed]

No it doesn’t You don’t have to use CSS. You can use inline styles, but it won’t be right. Using the CSS is a good coding practice and you just need to learn it better. Yes. If you google it, you’ll find several links. Here is just some examples: https://css-tricks.com/building-a-circular-navigation-with-css-clip-paths/ http://www.cssscript.com/pure-css-circle-menu-with-css3-transitions-transforms/ solved web 2.0 sucks … Read more

[Solved] How to put a div in the middle of the page [duplicate]

With html5 this is pretty easy using flexbox: This article discribes how to do it http://coding.smashingmagazine.com/2013/05/22/centering-elements-with-flexbox/ and here is the demo (also from the article) http://jsfiddle.net/pnNqd/ HTML: <h1>OMG, I’m centered</h1> CSS: html { height: 100%; } body { display: -webkit-box; /* OLD: Safari, iOS, Android browser, older WebKit browsers. */ display: -moz-box; /* OLD: Firefox … Read more

[Solved] Hotmail and yahoo html newsletter mail issue [closed]

HTML and CSS in email design is a pain, basically – every email client renders differently, with Outlook in particular being frustrating due to using Word as its rendering engine. Campaign Monitor post a very useful summary of all the CSS that will or won’t work in which of the email clients: http://www.campaignmonitor.com/css/ solved Hotmail … Read more