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. Hello all! Like the title states, I'm looking for beta testers of my web application. What it does is to prevent unauthorized use of a template if it's trying to be ran on a website without a valid license for just that template. The application is totally in the cloud which means that you need no installation what so ever on your own server, website or something like that. All you need to do is to inject a single line of javascript into your template and the application will handle the rest. Is someone up for it? Drop me a PM or send me an mail at daniel.m.widmark@gmail.com Regards, Dan

    • 0 replies
    • 1.3k views
  2. Hi guys, I am looking for a jQurey mobile pop-up plugin. When the link (ollo logo as example) is clicked show a pop_up with the text. Within the pop-up the text should be scrollable but the heading stays fixed (see graphical_design_2). Any help is(GREATLY)appreciated ..... Thanks.

  3. Hi, I've created this site using Foundation, http://johnfieldformalhire.co.uk/ One of the issues I'm facing is some extra padding or margin to the right of all the content when viewed on my iphone4. This breaks the top nav bar and also the bottom nav not in the screenshot. If anyone had any thoughts that would be awesome. Cheers R

  4. Started by CreativeSheep,

    Hi, the following jQuery script has ceased to work. I fixed a syntax error, it continues not to work ? May need to rename the div in the script ! $("some").animate({bottom:'-1200'}, 1400, 'easeOutBounce'); Updating fiddle is more pain they pleasure. Above is the change I made !

    • 11 replies
    • 1.9k views
  5. Hi, I have this piece of JS which displays photos based on flickr tags. It all works fine but I somehow need to add an if statement wherein if there are no results for the API search a simple 'No photos found' paragraph is shown instead. I've no idea where I would add it in though, so if someone can give some pointers? The script: $(function() { var apiKey = 'REMOVED'; var tag = flickr_tag; var perPage = '25'; var showOnPage = '25'; var page = '1'; $.getJSON('https://api.flickr.com/services/rest/?format=json&method='+ 'flickr.photos.search&api_key=' + apiKey + '&tags=' + tag + '&per_page=' + perPage +…

    • 1 reply
    • 1.1k views
  6. Started by duwitmu,

    I would like to place Amazon banner in my blog. Amazon provides banner in iframe and javascript. Which one should I use? My blog is in wordpress using Thesis template.

  7. Started by kro,

    ....but here goes!! So, im fairly new to web design. Im still learning and enjoying it hugely. The reason i started learning web design is that i want to ultimately make an income from it later in my career. I want to create a project now that i believe is quite intense, but need to have a pointer of where to start :S So, basically, i want to create a website that is similar (in a sense) to eBay...i want to create something where people can sell their no longer required stuff. Think of like a car boot sale....but online! It doesn't have to be fancy, but ultimately has to do the job. So, what will i need? Just looking at the basics, i think i'll need to kno…

    • 1 reply
    • 1.1k views
  8. Hi, I seem to be having a problem incorporating expandable divs within a grid of images set up through an <ul>. Basically what I want is for my 3x3 grid of images (a list of portfolio projects) once clicked to expand below, spanning 100% width of my wrapper div whilst other projects of the same row remain in place and only the rows below dropping to accommodate the depth of my expandable. After doing some research I was able to find code which allows for all of the above EXCEPT when activated all following images are knocked down to the next row as shown in attachments. ALSO when I apply this code to numerous <li> items each becomes clickable but will…

    • 0 replies
    • 2.1k views
  9. Started by Elmond,

    Hello, I am wanting to making something similar to the case builder (I'll link at the end). I believe it's done with Javascript I have limited experience when it comes to coding in JS. Would anyone please be able to point me in the right direction on what specifically I need to learn in order to make this as it would be a valuable resource to users for my website. http://giftsforgeeks.org.uk/shop/figure-cases-foam|figure-cases-and-accessories|tabletop-tyrant-foam-and-cases/product/908254837/build-your-own-tyrant-army-figure-case/ I would really appreciate any and all help. Thanks

    • 5 replies
    • 1.5k views
  10. I am in the middle of creating my portfolio and I used to make flash (and gif) banners, which I would like to include. I am using this responsive portfolio template - http://themes.alessioatzeni.com/html/brushed/ Can I add the flash banners directly onto this so they tie in with the other images I'll be using, i,e they will scale down with the screen size and open at normal size when clicked? Obviously they wouldn't play on mobiles or tablets. It would be nice if I could do that but I'm not sure how and Google hasn't been much help. My other ideas include creating a still image of the banners and linking them to a new window so they play there or just have a direc…

    • 4 replies
    • 1.6k views
  11. Started by unbotttled,

    Hi guys, Im working on a personal project at the moment and what I want to achieve is an effect such as the one seen at pollenlondon.com, however with a twist; on hover I want the menu icon to spin (as seen on pollen) into a Z shape, then on click (I have found a tutorial with this however it uses SASS and I can't seem to transfer it to normal css) turn into an X exactly as the pollen animation does... I know this is achievable with css (as I have seen it in the tutorial (keyframes) however I have only used preset animations (transitions.css) and never made my own before. If anyone could share any insight on how to do this or even contribute some code I would be a…

  12. Started by C A R,

    Hi, I have a website which is built bespoke i.e. not WordPress or any off-the-shelf software. The enquiry forms are getting an amount of spam. There is anti-spam prevention in place which I expect is blocking most of it, however there is still some coming through. Sometimes it's one a day and or one every few days. Is there any off-the-shelf form out there which would anyone can recommend as being the best for eliminating 99% of spam? Even if it is a paid solution.

    • 2 replies
    • 1.5k views
  13. Started by CreativeSheep,

    Why am I getting a SyntaxError: identifier starts immediately after numeric literal ? $("#reachme").animate({bottom:'0px'}, -1500px, 'easeOutBounce');

    • 4 replies
    • 1.7k views
  14. Hi, I'm new to Twitter Bootstrap. Seems easy enough. Following a tutorial I'm trying to customise the nav bar first. Got the basic layout I want but need to customise various elements. I've created my own style sheet (css/mystyle.css) which will have the custom styles I want to use. Thing is, it isn't working. I'm following every step of the tutorial and don't think I've missed anything. Here's the code I'm using: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Customised Nav Bar</title> <link href="css/mystyle.css" rel="stylesheet"> <link href="css/bootstrap.css" rel="styles…

    • 5 replies
    • 4.3k views
  15. Started by markyp,

    hi, i have a responsive template, when using on mobile if you click on the menu links they show up but but there is no way to get rid of them unless you click one of the sub menu links, i have seen on some sites that you can touch an empty part of the screen and the menu then disapears, how would i implement this feature on my menu, ? thanks,

    • 4 replies
    • 1.4k views
  16. Hey Guys, I'm fairly new to html 5 and I am having a little trouble with a template I have converted to my own style. One of these problems is with the image slider. if you go to www.cfphotography.co.uk you can see the problem I am having (missing thumbs). Dreamweaver can't seem to locate the issue I have. This is how it shows in the HTML side of things. I'm just wondering if anyone can tell me how to get these thumbs to work or send me the code. I have attached the full website files to this post. <div class="flexslider"> <ul class="slides"> <li data-t…

  17. Started by fleur,

    Hello again! I tried to slide (animate like in slider) prev and next images in modal window. I tried to adopt code from this codepen but it don't working for modal window's clicked images. Code like also not working. $('.btnModal-right').click(function(){ imageClicked.next().find('img').trigger('click').animate(...); }); Can't find the tutorial. Seems like all coders know combine well-known plugins. But i want to make it by hand for to understand algoritm. If some one knows the good tuts about it or have the idea how to do it, please let me know! Thank you!

    • 0 replies
    • 1.2k views
  18. Started by The_Responsive1,

    hello friends . I want to create a banner section in a webpage. but I am confused about which method should i use for the banner. should i use img tag in the html code or should i use css style using the background-image property? which method is best suited under what circumstances?

  19. Started by fleur,

    Hello! So long time i was out of forum. Nice to be here again!) Now i am working on modal window and use google for 3 days, can't solve one problem. I need use transition on prev and next button for to make modal resizing smoothly. For that i think i need to calculate real size (not small icon) of img in modal window and then use jquery animate() for to animate width and height of modal. $(".dark-wrapper").click(function() { $(".modal-content, #modal-background").fadeIn(); $('.modal-content img').attr('src',$(this).find('img').attr('src')); mainScreenshot = $(".modal-content img"); theImage = new Image(); theImage.src =…

  20. have added a video file in one of my project using html 5 video tag. working fine in Firefox and chrome but not working in safari and ios.... what should i do now??

    • 4 replies
    • 1.3k views
  21. Hey guys, new to web design, barely 2 months. I'm really enjoying it so far! Ok so earlier I tried floating. My idea was to have the image above the content which was a div. I had my div underneath the image so I assumed that because both were floating right it would just nest underneath it. I'm not sure but I'm thinking because an image is an inline element that it wouldn't go above my div? Because of that I put <p> on either side of the image but that didn't work. I was left with this: In the end I put the image inside the div so they were together and was happy enough with the result, but is there a way I could do it without do…

    • 6 replies
    • 1.2k views
  22. Started by teodora,

    A question - which CSS grid are you using and why? One of the ready made ones or a custom one? Also what are you looking for in a grid?

  23. Started by Siawa Mad,

    Hello all, I have been learning JavaScript for a long time but it seems difficult to me(watching lynda tuts). Anyone can Help me I wanted to make product filters for my static website that I have creating for months but stuck in fiiters. I wanted to make them like {shophive(.)com} You can see on right side there is "Shop By" section where product filters are placed, whenever user click on one of them they remain slected and show on the top and you can remove them also. I will be very thankful to all of you If you help me in this I wanted to make same like in this website. My english is bad But I think I have made myself clear, Please help me out. Sorry for bad engl…

  24. Started by welshhuw,

    Hello! For the life of me, I cannot see why the two arrows after 'next' drops to a new line, or how to fix it. Can anybody here shed some light on it. It's bugging me, I can't leave it like that!! http://website-test-lab.com/sites/craig/news/ Scroll down to the very bottom of the page to see it (pagination). Thanks in advance.

    • 3 replies
    • 1.3k views
  25. Started by ocean,

    Hi I'm not professional and have basic question. I want to use css to have a multi-leyer list with scroll on each level. the problem is I can not scroll first layer in a proper way. my sample code is : <ul id="nav"> <li><a href="#">first</a> <ul class=firstLayer> <li><a href="#">1.1 </a> <ul class=secondLayer> <li><a href="#">1.1.1</a></li> <li><a href="#">1.1.2</a></li> <li><a href="#">1.1.3 </a></li> <li><a href="#">1…

    • 1 reply
    • 1.6k views
  26. Hi there.. Please look at the below link first Link here Look after loading the page a pop up window arrived " News lettersubscription box" . Any Idea about how to do this?? I need guideline. Please help me.. Advanced thanks for the help

  27. I have a new website under development and I want to add a looping video to the top section of the site (which I've done) instead of a static banner. However I can't for the life of me work out how to keep the video full width but only 425px high whilst still responsive for mobile. Can anyone help? It's driving me nuts! Thanks guys!!

  28. I have just started learning JavaScript and have found that when writing a large amount of text as part of my code, if I press enter to carry on typing on the next line, like I would when writing a paragraph in HTML, my code no longer works. What can be done to get around this? I expect it is something exceptionally basic!

  29. Started by CreativeSheep,

    I'm having differences between FF and Chrome, specifically the class=aboutme located here. Removing the position-top, didn't solve the problem as I was hoping it would, without causing a difference in Chrome ?

    • 3 replies
    • 1.2k views
  30. Started by Dayve,

    Hi, I want to be able to have a link inside a border, which in turn has a background image. How would I be able to make the whole image area clickable with hover? I have Googled but can not find the answer. Thanks. HTML <li class="link1"><a href="http://www.google.com">Google</a></li> CSS .link1{ background-image:url(image.png); display:block; margin-top:5px; border:1px solid black; height:100px; width:100px; }

  31. Hello all, I've designed a nav menu from an unordered list using css. Everything works fine but the divider, (at the end of the anchor should be at the same position as the background, i.e. it should not suffer the same fate as the text. The padding inside the a tag is pushing the divider down 8 pixels. The code is shown below: <style> #nav {left:0px; padding:0; margin:0; background: url(slice.png) repeat-x} #nav ul { height:45px;} #nav ul li { background: url(slice.png) repeat-x; float:left; display:block; height:45px; } #nav ul li:hover {background:url(slice_over.png) repeat-x;} #nav ul li a {background:url(divider.png)…

    • 1 reply
    • 1.5k views
  32. Hello all, I had a problem with my ckeditor saving content in IE8. After a bit of searching I found out it could be fixed using a patch. I downloaded both patches that I was told would fix the problem, (4682.patch and 4682_3.patch). I have also tried to find out which folder this patch goes into. Unfortunately every site I've been to does not tell me which folder the patch goes into. Has anyone had the same problem? And does anyone know where the patch goes? Thanks in advance.

    • 0 replies
    • 1.2k views
  33. Hey lady's and gentlemen, I need your help, I need to fit a slider into this. What I'm looking for is a slider photo is 614 x 219 pixels And the box next to it to slide with the photo? Thank you in Advance Caleb.

  34. Started by welshhuw,

    Hi, I am currently turning a PSD into a responsive (WordPress) site. I am wondering how to get the image slider to function like the psd. I was given a mobile, tablet, and desktop psd to work from. The trouble I am having is with the image size/captions. When the screen narrows, of course the image in the slider get shorter in height, leaving less room for the captions to sit. The slider images are full width, so will stretch the whole width of a large desktop monitor. Here is a screenshot of what I am trying to achieve, showing mobile, to tablet, to desktop size. Currently, I have smaller text on tablet, then the whole caption area sites beneath the image on mob…

  35. Started by mano14,

    Html 5 has three form elements, 1. datalist 2. Keygen 3. Output. Please explain this three elements and give some examples.

  36. Hi all. I'm having a problem with a carousel. Not sure why it's not working. Can anyone spot what's going wrong? <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Homepage</title> <!--<link rel="stylesheet" href="styles/style.css">--> <link rel="stylesheet" href="styles/bootstrap.min.css"> </head> <body> <div class="container"> <div class="navigation"> </div> <div class="content"> <!--Content start--> <div id="carousel-example-captions" class="carousel slide" data-ride="ca…

    • 3 replies
    • 2.9k views
  37. I'm working on creating a personal blog but I need to create a box shadow on two opposites sides of a centered div tag. I currently have a shadow on one side using CSS. How would I go about adding the shadow to the second side? My CSS: .wrapper { width: 920px; height: 1000px; background-color: #ffffff; margin-left: auto; margin-right: auto; -webkit-box-shadow: 2px 0px 5px #bbbbbb; } Any help is appreciated.

  38. Started by pinguinoz,

    Greetings everyone. I'm more like a designer than a webmaster and I've spent a month designing something unique and artistic in HTML5&JS for a customer. It's responsive and works in every navigator, platform and operating system. Gosh, it's like it has its own life. Today I receive an email from my customer saying he wants editable fields in a section of the contact/pricing subpage. I can't say no, it's my best customer. If I had a gun in my mouth I would pull the trigger. The deadline is very soon and I have no time to remake the whole website for Wordpress or any other CMS management system. Is there any way to place an applet, a script, or whatever, into the HTM…

    • 5 replies
    • 1.4k views
  39. Started by Charly,

    Good morning, I am having problems trying to centre a gallery I am working on. Its a Wordpress plugin that was not responsive. With a few tweaks I have managed to get the images to sit side by side regardless of what screen size. However what I was having problems with is getting the gallery to centre. When the screen size is smaller for mobiles and tablets, I want the thumbnails to centre in the screen. I have tried removing the float:left in the CSS, this centres items but they won't appear side by side. Can anyone help me? You can find the website here http://goo.gl/fDcDkP

    • 6 replies
    • 1.7k views
  40. Started by skippers,

    Hi, On this page http://www.johnfieldformalhire.co.uk/, just below the testimonials, empty anchors appear in the code. I haven't put them in, they just appear. The linked testimonial copy above is causing it but I don't know why. I was wondering if anyone had any clues to to why that would happen? Many thanks for looking R

  41. Started by moham,

    Hello everyone, i have been working on an online news paper and was wondering if you all can give me tips on how i can improve its design http://theworldtimes.co.uk/RSC/index.php

    • 3 replies
    • 1.6k views
  42. Started by buzar,

    anyway guys, I got problem with one preload progressbar that I want to add to my site.. it works completly, only problem is while it loads that background be completly white, here is css code http://pastebin.com/HKQsj9x6 what I should do? I tried adding background color to each element, but no luck.

    • 0 replies
    • 1.5k views
  43. Started by Ashlee0016,

    i want to learn and make a Responsive Website through PSD to HTML is that possible? thanks.

    • 3 replies
    • 1.3k views
  44. Started by ronakt,

    http://ronak.url.ph/amanda/coming-soon/index.html Hello World I made a new template but having problem with this its counter resets when ever visitor refreshes page what can be done with this?? Thankyou

  45. I'm trying to make a good, responsive/scaleable website but am having a problem with the basic design. I will post the code below. When resized very small, so the larger text overflows, that text goes beneath its own div and past the footer underneath, into a white space. I'll attach a screenshot to show this. I don't really understand why the div is not scaling to accomodate the text. The footer is obviously a problem in the screenshot too, but not the one I'm currently focusing on. Please let me know if this isn't explained adequetely Sorry I don't have this up live so you can look at it properly... CSS: *{ margin:0;padding:0; } html, body { margin:0; …

    • 2 replies
    • 1.3k views
  46. Hi guys, Ive been developing but Ive run into some trouble, basically I have two menus on my website, both run on javascript - one on classie.js, the other on jquery, I am certain that the scripts are conflicting as when I comment out one menu, the other functions perfectly and vice versa, if I do not do this, only the first menu works correctly. I should also add that even if I comment out the menu but do not comment out the call of the main.js javascript file the 2nd menu continues to function The code that I have is shown below; Jquery and Modernizr files for menu 1 <script src="js/modernizr.js"></script> <!-- Modernizr --> <script src="htt…

    • 2 replies
    • 1.2k views
  47. Started by Connovar,

    Hi people, sorry to bother you all but i really need help here. I have never used Jquery before but my client has requested a light box gallery in there gallery page. I am using Dreamweaver and i found a tutorial using the Dreamweaver widgets, but apparently they don't exist any more so after lots of searching i found this tutorial. - http://lokeshdhakar.com/projects/lightbox2/ So i downloaded it and loaded up the 2 JQuery forms and the CSS form onto Dreamweaver, but i do not know how to connect the JQuery page and the CSS page to the HTML pages that i have, if this makes sense? Overall i would actually prefer to have a gallery that doesn't require JQuer…

    • 1 reply
    • 1.2k views
  48. Started by Revs,

    Hi, http://www.sonicacademy.com When you click on login on register in the top right corner, it opens some kind of light box but with text. What's this called? I'd like to have the same on my site, it seems to be good for info windows and stuff like that. I hope integration with Wordpress won't be too hard Thanks all!

    • 6 replies
    • 1.5k views
  49. Hi All, I'm having a little issue with making content in an iframe responsive. It works for youtube videos among other things, but not specifically what i need it to work with - which is a calendar from a private website. Please see the jsfiddle link below - anybody any ideas? Many thanks in advance, Si http://jsfiddle.net/GdmqZ/1/

  50. Hello... I need suggestion for the table.. i have to create a table.and the data of this table will come from mysql data. i have no problem in creating this table.coz i am using datatable . the advantages od datatable is easy to implematation they have table tools like user can easily import data in various format like pdf.csv excell,print.. Now look at this table here is grouping of data . like group subgroup another group another another group Now i am confused. what should i do now. # is there any table plugins which can solve this issue? # or i have to make custom table with all export options like pd…

    • 5 replies
    • 1.3k 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.