Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Frontend

HTML, CSS and JavaScript - Having trouble with CSS? Post your question here. Find solutions & discuss stylesheets, hacks and techniques.

  1. Started by cpu2007,

    Hello everyone, I'm new to the site, decided to join after reading a few posts and found this forum to be well organized so I hope to get answers and gain some knowledge from here. I am a java programmer but with a keen interest in learning web development. I'd like to develop a website with back end in java and front end using HTML5,CSS3 and javascript. I have basic knowledge of html so my question is. what would be the best way to learn front end development? My site will be heavily based on back end as this is where I will be processing most of the work but I do need a good user interface and I think it's vital to have a good interface, otherwise no matter how…

    • 3 replies
    • 1.1k views
  2. Started by Neji,

    I'm looking for a jQuery/js plugin to enable me to easy make a slideout menu on my website. I need the following features: Lightweight Slideout Multi-level Fast (Probably needs to use CSS3 rather than jQuery for animations/transitions) That's about it - I've found a couple my favourite being http://mmenu.frebsite.nl/ but it's a little heavy on resources compared to some of the others I've seen. The functionality is basically perfect but I'd prefer something more lightweight. The others I've found are http://www.berriart.com/sidr/ and http://ascott1.github.io/bigSlide.js/ but they don't appear to support multi-level menus. Could anyone help me out with this o…

    • 0 replies
    • 1.6k views
  3. Hi, I'm helping my girlfriend finish a website she has built using a template. (BusinessBox corporate template) We want to change the standard ios7 select menu to a drop down or sideswipe menu. Can anyone please help us. It would go a long way towards me getting some good lovin tonight ;-) !

  4. Started by TheUninvited,

    So i got this html file i am expecting to show up space between main and boxes but it does not... so why is that happening? <html> <head> <link rel="stylesheet" href="12.css"> <link rel="stylesheet" href="a.css"> </head> <body> <div class="container_12"> <div class="grid_12 "><p>Grid-12</p></div> <div class="main"> <div class="grid_6">grid6</div> <div class="grid_6">grid6</div> </div> <br /> <div class="boxes "> <div class="grid_4">boxes</div> <div class="grid_4">boxes</div> <div class="grid_4">boxes&l…

  5. A temporary development location of the website can be found here: Just Cats Firefox 26 and Internet Explorer 11 highlight the text as expected: But Chrome 31 and Opera 18 select the entire line of the page: Did I do something wrong in the code? Or is this an issue with the browser? index.html <!doctype html> <html lang="en-gb"> <head> <link href="styles/home.css" rel="stylesheet"> <link href="styles/main.css" rel="stylesheet"> <meta charset="utf-8"> <title>Just Cats</title> </head> <body> <div id="side-space"> <div id="main"> <div class="box header"> </div> <ul id="menu"&g…

  6. Started by Fredd,

    When zooming out, the content on the page will not always align with the background as it should. Only Internet Explorer seems to maintain perfect alignment when zooming. Internet Explorer 11: But when doing this with any other browser, the content aligns out of original position, demonstrated with Firefox 26: This is a minor issue, as I do not expect anyone to ever zoom out this far. However, I like to respect browser zoom compatibility, and provide support for every zoom level that it provides. I would really just like to figure out what exactly is causing this. Am I using wrong code? Is the font not composed properly? index.html <!doctype html> <htm…

    • 0 replies
    • 1.1k views
  7. Started by Qqueen,

    I do understand that open source systems are easily targeted by hackers. However, is it true that Wordpress websites and blogs are the most targeted or at high risk of being hacked? How can you prevent your site from being hacked and what are some of the signs that you’ve had your Wordpress site hacked?

  8. Started by sjay59,

    I am looking into minifying my css jQuery etc to help with my load times and improve SEO. My only problem is I know there are sites out there where you enter your CSS code and bam! its all shrunk into one paragraph which works fine my only problem with that is coming to using css to further improve or change the site it will be a nightmare to work through. I am looking for someone to help or point me in the right direction to doing this upon the request of the end user so when I come to edit all is the same as before. your help would be appreciated. Regards Stephen.

    • 7 replies
    • 974 views
  9. I've created this lightweight mp3 player from scratch using an audio element and raw JavaScript for the controls. Besides for the lack of support for native mp3 in most Firefox versions it seams to work fine in all modern browsers. I'm using DOM 2-style EventListeners instead of onclick, onload ect. which is very new to me. For that reason I would appreciate if anyone feels like talking a look at the code and post suggestions for improvement here. I've created a jsfiddle here: http://jsfiddle.net/Nillervision/s72b2/ If you wish to use the player in your own projects feel free to copy the source from here (HTML with css and js embedded). It's very easy to use. To…

  10. Started by bigisbeautiful,

    hey experts, i've got a very simple css question. this is what I have put together. my goal is, to have floatign elements so the design can be responsive to the screen size. <style type="text/css" media="screen"> .float1 { float: left; width: 240px; } .float2 { float: left; width: 240px; } .float3 { float: left; width: 12px; margin-bottom: 1em; } </style> <div class="float1">
 text menüpunkte, etc. </div> <div class="float2">
 <img src="bild.jpg" border="0" alt="" width="268" height="177" /> </div> following issues with that: its working, but if the screen is big enough, the thext that comes unter those ele…

    • 7 replies
    • 1.3k views
  11. Started by Charly,

    Good evening, I am tweaking my responsive website with some media queries. I am trying to capture pages that are 613px or less and have used the following code:- @media screen and (max-width: 613px) { #header-wrap {position:fixed; top:0; left:0; width:100%; z-index:9999; background-color:#0F9; background-repeat:repeat-x;} #header{height:75px;} #menu-wrap{height:50px; padding-top:23px;} #telephone{height:30px; background-color:#06F; text-align:right; padding-top:20px;} #logo{height:75px; padding-top:20px; ;} } However it doesn't seem to pick up the media query until 486px.... I am a bit confused, am I missing something?

  12. Started by James Winfield,

    Hello. I am designing a little web page as a Christmas present for a friend which will feature a DJ mix I have made for her. I am competent enough to do the html for the display but does anyone have any advice on how to code audio? Thanks James

    • 3 replies
    • 901 views
  13. Started by dpuk44,

    Hi, does anyone know the best way to add a walk on presenter to a webiste like the one here http://video-interactive.co.uk/index.htm Would I use Flash or HTML 5 or any other means? Thanks

  14. Started by finishedfirst,

    Hi, i'm working off a site template to create a website for myself, and i notice that backround images embedded in what the template refers to as a parallax werent resizing. The "parallax" in the index file calls to the parallax javascript file, and a style sheet in a seperate css file. In short how can i get the images to resize accoriding to the screen size or browser width. main.html <!--start parallax 1--> <div id="parallax-1" class="parallax fixed" style="background-image: url(images/parallax-1.jpg);"> <div class="quoteWrap"> <div class="quote"> <div class="container"> …

  15. Started by CreativeSheep,

    Any reason why this jQuery is giving me an error when it validates perfectly ? BTW I'm willing to collaborate with someone on JSFiddle, if possible ?

  16. Started by PietPuk,

    Hey guys, I'm going completely crazy... I'm trying to edit a wordpress theme so that the responsive menu button will appear next to the site logo/title. Or basically it should remain where it actually is... With the current css it moves below the title, which I think is a waste of screen estate. It might be tiredness, but I can't find the error in the css. What am I doing wrong? nav.html style.css

  17. Started by ric4rdo,

    how do one like it?

    • 3 replies
    • 881 views
  18. Started by Rossi,

    Hey there so ive started to make a website im a beginner and ive made this so far http://gyazo.com/04390302c0cd9825de4c873d6ff8c0a6 but theres a massive space between my nav bar and the next thing how do i remove this space? also heres the code clip of the picture http://gyazo.com/1f05f8bda877550cd60df5ce689901e2. help is much appreciated

  19. Dear Webdesigner-Community, I am still a beginner but I want to learn. I have been trying to create a website using microsoft expression web 4. Short time ago I did not know what was HTML or CSS but now slowly slowly I am learning. There are just many things which are interesting but at the same time they make you mad! I am trying to add some behavior to a picture of an html site. I would like that with the mouseover a song will be played but that it also stops with mouseout. Now, adding the behaviour to a pic to play a song using expression web is super easy. Even without knowing anything about Java scripts or html language. It is just a click on "add behaviou…

  20. Started by deb0and,

    Hello, I am struggling with javascript. I have an input box and would like it when numbers are inserted it will add them together defined on a set number. So for example a price set at £50 when 2 is entered it shows the sum of £100. The part of my form is below when I would like to implement this functionality., <div class="controls"> <input type="text" placeholder="How many would you like?" id="ENI_WHtest_ipCount" class="inputWide" maxlength="30"> </div>

    • 0 replies
    • 1.3k views
  21. My local online newspaper has recently changed it's format and has introduced a few irritations: An article's comment form is restricted to 50px in height, even though you can type in a maximum of 4,000 characters, but not a big problem as I believe this can be easily fixed by changing 'resize: none' to 'resize: vertical' in the CSS declarations for that element. What I cant figure is this; many posters punctuate longer comments with line breaks for readability, but on submitting a comment the line breaks get removed. But, if there are more than 11 comments to the article a button appears - "View all Comments", and If clicked on all comments appear plus any missing …

  22. I need to know if it works well in different resolutions. Please just check a few pages and tell me which resolution you use and if it works fine. <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=9,chrome=1"/> <meta charset="utf-8"/> <title>creative5</title> <meta name="fb_admins_meta_tag" content=""/> <link rel="shortcut icon" href="http://www.wix.com/favicon.ico" type="image/png"/> <link rel="apple-touch-icon" href="http://www.wix.com/favicon.ico" type="image/png"/> <link rel="canonical" href="http://f150enzo.wix.com/creative5"/> <meta http-equi…

    • 3 replies
    • 2.1k views
  23. Started by Flowdy,

    I've been following a bootstrap tutorial on YouTube, to try and understand the concept. I've followed it more the once now. The first time the nav collapse worked along with the drop down menu, but now it won't seem to work, yet i haven't done anything different. It makes the button when the screen is reduced in size, it just doesn't do anything when i click on it, yet in the tutorial it does. What has gone wrong? <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title></title> <link rel="stylesheet" href="css/style…

    • 0 replies
    • 1.5k views
  24. I want to get social login option for my website on forum colorexperts.informe.com. How can I do it? Can anybody please give me guides on this regards?

  25. Started by DeadPixel,

    Hi guys i would like to know how i would change the location that changes on a google maps gmaps.js (this one). any advice would help

    • 3 replies
    • 1.2k views
  26. Started by tommy99901,

    Hi There I looking to build a form whereby I can input a customers information (Name, address etc). However, what I want to do is for the to check a box then upon submission data will be retrieved relevant to the checked box. So for exampleL the user is inputing their name etc and choose the type of car they have. The information regarding the car is then automatically put into the form for me to look over. I know how to produce a form through Zoho etc, but what I am struggling with in finding something that will retrieve data. Any help would be great, I am not a programmer or coder so be nice with the lingo. Ideally I am looking for a application that can do most…

  27. Started by khiemnd777,

    So, this is a library of css3, used to support the animation for the website Link to download and guide are below: [download] http://css3-animation-lib.googlecode.com/svn/trunk/animation.css [guidance] https://www.youtube.com/watch?v=SdV59lze-vo Get my new feeds @ https://www.facebook.com/kandydotnet Best regard!

  28. Hi, I am currently creating a website and am having trouble with the favicon. I used faviconit.com to create the files, I then put them in my sites root folders images folder. I have copied and pasted the code into dreamweaver in my header and linked it up with my files, but its not working, wondering if I have gone wrong somewhere? This is what it looks like: <!-- ****** faviconit.com favicons ****** --> <!-- Basic favicons --> <link rel="shortcut icon" sizes="16x16 32x32 48x48 64x64" href="/images/sitegraphics/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="/images/sitegraphics/favicon.ico"> <!--[if IE…

    • 5 replies
    • 2.2k views
  29. Hi all, I am just starting with JQuery, and starting to grasp the basics. I am now stuck, however. I have a form, called "checklist", within which I have a list of products, and the user must select if they are imported or exported. The table goes: Product Label | Import Checkbox | Export Checkbox When a user clicks on a checkbox, I want a php file to run in the "saveme" div at the bottom, which takes the name of the checkbox just clicked, whether it was checked or unchecked, and then parses the name to produce a product id, and saves the relationship to the database. I'm lost, so any help would be greatly appreciated. Thanks, Martin

  30. Started by Neji,

    I have some code that I'm writing for a client and they're currently using Drupal 6 and jQuery 1.3.2 - I have no control over what jQuery they use and so I'm trying to write some code based on that assumption that it won't change any time soon. I've been re-writing the code and now have it working as far back as 1.4 but I've run in to a brick wall trying to get it to work on 1.3. I'm using FlatUI's radio buttons - original here (https://raw.github.com/designmodo/Flat-UI/master/js/flatui-radio.js) - I've already re-worked it but cannot find what's stopping it from triggering. I've setup a JSFiddle to demonstrate my problem. Everything is working okay apart from the age…

    • 0 replies
    • 979 views
  31. Started by Lee_K,

    I have a row of images, each in their own div, and underneath each image (also inside the same div) is the title of that image, which is exactly the same as what I have in the 'img alt' tag. So should I be using the alt tag? I've been led to think that if a screen reader was reading it out, then it would be repeating the same thing twice for each image. Also if the the image doesn't show then it just shows the text twice. So the obvious thing is to leave the alt tag out, but would this have any effect on SEO? Better or worse? Thanks.

  32. Hi guys, I am building a site for music producers where they could download free sound files and read articles and tutorials on sound production. At the moment I am trying to create a simple music player with the html5 audio tag and jquery controls which would be used to preview the sound before download. I have most of the player finished, play/pause, progress bar, display current time, duration etc. I only have 2 things left to do, one is preloading, but I'll leave that for later, the current problem is navigation via the progress bar click, when the user clicks on the bar it should change the currentTime of the audio. jquery $('.progressBar').click(fun…

  33. Started by CreativeSheep,

    The top left hand corner of the page. There are two small broken image links. I have a script on the page, what those small broken image links are suppose to do is scroll the text vertically, what am I doing wrong that it's not working ?

  34. Started by CreativeSheep,

    I want the section id=middle to grow when black buttons are collapsed and how do I get the id & class contact to do the same effect as the jQuery code for the id & class about ?

  35. I have an HTML code and when I open it in Dreamweaver, it shows that there are many additional files. I need to upload all of the Javascript files to somewhere. How do I download all of them? Thanks in advance.

  36. Started by Charly,

    Hey guys, I am trying to style a submit button on a Contact 7 form (Wordpress) but I am having some CSS issues. I have set a generic style to ALL my input fields rather than setting it for each field type (trying to keep the CSS down). However this also causes my submit button to style the same too. I have tried singling out the submit button and overriding the generic styles but I am having real issues. Can someone take a look at my CSS please? #two-column input, #two-column textarea, #two-column select{padding: 9px; border: solid 1px #E5E5E5; outline: 0; background: #FFFFFF url('bg_form.png') left top repeat-x; background: -webkit-gradient(linear, left …

    • 2 replies
    • 1.7k views
  37. Started by Flowdy,

    I'm new to responsive layouts, i have no idea how to do them, though i have tried, I've looked and tried tutorials via google, none of them seem to work. Can anyone tell me the best free guides out there? I want to learn how to make a navigation menu into a drop down menu when the screen is a certain width, etc, Sorry if this is in the wrong place.

  38. Started by Gecko,

    Hi All, I've spent so long trying to figure this out and make it work, and I still haven't fixed it Basically, I've managed to add a Nivo Slider to a site, above it on the homepage sits a menu that has dropdown options (on some) Now I've put on Nivo, the dropdowns don't show.... can anyone see what I've done wrong? Homepage with dropdowns not showing Page with dropdowns working Thanks for any help G

  39. Started by liamlive,

    Hi im liam 21 and im a developer whos just starting out currently building a website and in need of a jquery gallery that's free and simple. I'm new to jquery and struggling. I would need it to be centered adaptable to different image sizes. Thankyou for your time. Liam. (I'm new here and hoping im in the right place.) HTML: <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="CSS/style-index.css" /> <title>K P|Home</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="jquery.slides.min.js"></s…

  40. Started by Ronnie,

    How to call a user input value from html form using javascript appenchild node

    • 0 replies
    • 963 views
  41. I am currently trying to do a Quiz Game which is part of a coursework. The coursework asks for implementing a mobile application by using HTML5, jQuery, Javascript and CSS. In this application there is a quiz game. I have thought a way of doing it and I would really like to hear your advice. The quiz game starts with a question and the user has the option to pick up an answer from 3 radio buttons. Each time the user selects a radio button, then a next button comes up and he can continue to the next question. When the quiz finishes the user gets the results e.g 70/100. Now, in the actual implementation on how we do this, I thought that it would work by doing the fo…

  42. Hello, I have a question about the .innerHTML in javascript. is it possible to do what im trying to do this method? function action(){ document.getElementById('films').innerHTML = for(a=0;a<movie.length;a++){document.write(movie[a]);}; } is there a better way or would this the correct method?

    • 1 reply
    • 882 views
  43. Hey all. I'm using the following javascript to count the characters in several text areas and it works fine when you start typing. I need it to show the characters in the text area once the page has loaded then to continue counting when a user adds to the text. I'm guessing I need something other than keyup to check the characters once the page has loaded? Thanks $(document).ready(function() { $('.countThisA').keyup(function() { var cs = $(this).val().length; $('#countA').val(cs); }); $('.countThisB').keyup(function() { var cs = $(this).val().length; $('#countB').val(cs); }); });

  44. Started by Mr Ben,

    Hey all, I have been trying to get deep into Javascript over the last few months and hope to become a lot more confident in it in the future. I have also been playing around with node.js too and I really enjoy using that. I wanted to ask for ideas from simple to hard that I could build with Javascript to test myself and improve my knowledge a little bit. I thought about making a basic game library in Javascript as a challenge. Something like Pygame for instance but on a smaller level. Does anyone else have any other ideas?

    • 2 replies
    • 881 views
  45. So, after some research, here's the only way of implementing responsive design that is working for me(using XHTML 1.0 Transitional): In the <HEAD> I added: <script src="style/changeStyle.js" type="text/javascript"></script> and the script is very simple: function changeStyle(cssFile) { var _head = document.getElementsByTagName('head')[0]; var newlink = document.createElement('link'); newlink.setAttribute("rel", "stylesheet"); newlink.setAttribute("type", "text/css"); newlink.setAttribute("href", cssFile); _head.appendChild(newlink); } if ( window.innerWidth <= 480 ) { changeStyle("…

  46. Started by education boy 13,

    Hi guys I am building a website for my minecraft server and I am having some touble adding a youtube video to it. If anyone can help me that would be great. here is my code. <!DOCTYPE html> <html> <head> <title>**********</title> <link type="text/css" rel="stylesheet" href="HomePage.css"/> </head> <body background="MCD.jpeg"> <h1><em><b>********<b><em></h1> <p>**********************************************</p> <iframe width="560" height="315" src="//www.youtube.com/embed/MmB9b5njVbA?rel=0" frameborder="0" allowfullscreen></iframe> <ul> <li>Ser…

  47. I'm using jquery expander (http://plugins.learningjquery.com/expander/) which is all good and working fine, though I can't see a way that I can customise to be able to have an expanded section automatically collapse if another section is expanded. I would like it to work rather like it does on this page: http://architectureforlondon.co.uk/london-architects/ I think it's neater this way and doesn't allow the user to completely upset the page style/look. Many thanks

  48. Started by CreativeSheep,

    Hi, I could use some help. At present when I run the script, the Div remain open, I have to click on the classes (button) for them to close, I want it the other way around. Whereas I have to click on the button to expand the #div / classes yet at the same time when the button is collapsed, one of my other div expands, I hope that wasn't confusing ? $(".about").toggle(function() { $('#about').animate({height:'45px'},"slow"); $('.about').animate({width:'100%', height:'45px', margin:'0px'},"slow"); }, function() { $('#about').animate({height:'400px'},"slow"); $('.about').animate({width:'325px', margin:'6px 0px 0px 4px'},"slow"); });

  49. hi there... i have designed a PSD and used LilyUPC font for my layout where can i download that for font-face property .. is there any website for downloading that for free .. Thanks ...

    • 1 reply
    • 4.2k views
  50. Hello. In JS there is much talk about objects and methods. I would like to clarify really what exactly these terms mean. I've read defintions of these but it's hard to understand when you can't relate it to something. My theory is, first you have class, then you have object and then you have method. So: I might create a class called "Vehicle". I then write the objects such as car1=vehicle.new, car2=vehicle.new, car2=vehicle.new I then call a method of car1.drivefast. This this theory sound logical, in other words is it correct. My question is do methods have to be created within the class or does each object have to have it's own method attributed to it? A…

    • 2 replies
    • 926 views

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.