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 ilikeblazin,

    How could I create a looping moving background behind my template? (Loops to multiple moving backgrounds) Like this one: http://domainnamesales.com/domain/checkit.com Thanks

    • 8 replies
    • 1.3k views
  2. Started by buzar,

    Hello guys, so here is my question. I need javascript code for my FAQ. It should work like this, when someone click on Question 1, answer should appear under it. I guess that is not problem for someone who know javascript, if someone got it please post it here.. Thanks!

  3. Started by buzar,

    hello guys, I need one button from popup form deleted.. it's jquery, when I do it script stop with work..

    • 1 reply
    • 868 views
  4. Hi. I am not going to pretend to know anything about Java as I don't. I downloaded a free countdown script which displays yellow boxes that counts down to a specific date and time in years, months, weeks, days, hours, minutes and seconds. Trouble is, in the script I can only find one section to adjust the size and it seems to be a fixed number... ie.. width = 800 and height = 150. This obviously relates to pixels. however... My countdown is inside a div section which changes size depending on the viewers browser size. Is there a way of making this script get larger and smaller varying with the size of the div section that its in? I tried entering = 100% but it don't w…

  5. Started by margita,

    I am not sure if this is the right forum to ask the following question - I apologise beforehand: I am trying to put information about opening hours in a WordPress widget as follows: Monday              10:00 – 17:00 Tuesday              10:00 – 17:00 Wednesday           10:00 – 17:00 Thursday             13:00 – 17:00 Friday                10:00 – 13:00 This looks fine in IE and FireFox - I inserted a number of   to create the spacing which is not an ideal method. However, the spacing doesn't look fine in Chrome - it's not even. Would you be able to help? Thanks.

  6. Started by jame5payne,

    Hey all, hope someone can help, having a little trouble keeping my footer at the bottom of the page. Have read numerous fixes for this but none seem to be helping. I need the footer to stay at the bottom of the page, regardless of how much content there is on the page. Can anyone point me towards a decent fix? Here's my code if interested . . . <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> <link href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700,300,400' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/reset…

    • 14 replies
    • 2.6k views
  7. I'm using this program called firebug which allows you to edit the code without changing the CSS manually and having to constantly reupload to check whether the code is right. Well, in firebug I set the code so that it is perfectly aligned, it is exactly where I want it to be but once I upload the file after editing it with the same properties that I did using firebug, it doesn't work out how intended. Some properties do not even work, they do in firebug but once they are uploaded to the website they do nothing and are ignored. I have recently just edited my website CSS so that it realigns the text to the top left if you can see - (http://www.codexx.co.uk) but it …

  8. I originally posted to get help with our sliders because the images weren't showing up on our mobile devices, but now someone told me that the sliders work fine on his device. If you have a couple of minutes to spare, please go to our website with your mobile device and see if the sliders are showing up for you. Then let me know which device and OS version you were using. The main slider is here. The gallery slider is here (please indicate whether you see the thumbnails, the big images, or both). Many thanks for your help!

    • 0 replies
    • 1.7k views
  9. HI all I am new in web design. Please help me, I've been downloading and editing menu and slider from here : Menu Horizontal Drop-Down Menu | Codrops Slider Full Width Image Slider | Codrops and my editing results : http://s23.postimg.org/gim5fg38r/tany.png http://s8.postimg.org/tzq06o9id/tanya.png when i klik menu, the slider covers the submenu, how to fix it? thanks

    • 1 reply
    • 1k views
  10. Started by gykr,

    Hello forum, Need some help please. I downloaded a free CSS template call "folder" and I want it to use this template for one of my project. I got trouble replacing the logo. The logo is 222px x 56px png file. I located the file, use photoshop to make one with the same size, save it in png, replace the original. And when I check in the browser, the logo disappeared. This is the first time I replace an image with same size and file extention but didn't work. Help please!

    • 5 replies
    • 987 views
  11. We have two sliders on our website--one on the main page (http://www.cloud29cab.com) and a gallery slider at http://www.cloud29cab.com/about/taxis.html. They show up fine on desktop computers but not at all on mobile devices (the gallery thumbnails on the Taxis page are displaying but not the big images). I have tried a number of things to get the slider images to display, with no success. Any help would be greatly appreciated!

    • 3 replies
    • 1.3k views
  12. Started by buzar,

    So here is my jquery code: <script> $( "#divdeps" ).click(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//http://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-35582928-1', 'THISISMYSITEURL.com'); ga('send', 'pageview'); }); </script> what's wrong with it when it doesn't work? I mean it turns on automaticly when I visit site, and obviously I want that it work only when I add some element id "divdeps"

    • 0 replies
    • 855 views
  13. Is possible to do a dropdown menu, opening horizontal, and to the left? something like this:

    • 4 replies
    • 896 views
  14. Started by buzar,

    Here are all errors I got: Uncaught ReferenceError: jQuery is not defined flavr.js:880 Uncaught TypeError: undefined is not a function index.php:527 GET file://s7.addthis.com/js/300/addthis_widget.js net::ERR_FILE_NOT_FOUND index.php:542 Uncaught SyntaxError: Failed to execute 'postMessage' on 'Window': Invalid target origin '' in a call to 'postMessage'. st.bad88c6bbecb9e2ac858a60f2b7cab77.js:1 So guys? I added jquery and I don't see why it hasn't been defined? for other errors I don't even know what to say.. some help?

    • 2 replies
    • 893 views
  15. Hello I've come across this issue before and I've forgotten how to fix it... basically on this page: http://fourteendesign.com/new_portfolio/ if you scroll down to the portfolio section the links to 'visit site' within green buttons aren't working and when I look at it the code is showing as: <li> <button class="btn btn-success"> Text - Visit Test Site Text - Empty Text Node I've tried making the element display:block and with zoom:1 but that made no difference. Anyone know how to fix this? many thanks in advance

    • 1 reply
    • 1.4k views
  16. Hey all I was wondering if there is a demo online somewhere that uses the effect on this website with bootstrap... the website is here: http://html5up.net/big-picture it uses skel.js framework I want to recreate the work section effect where the images slide in from left and right, is there a bootstrap plugin that does this or any tutorials out there to help with this? I have a site that uses bootstrap framwork and I don't want to add skel framework to it. many thanks in advance for any thoughts / info

    • 5 replies
    • 1.2k views
  17. I'm asking this because I keep on going down the wrong road and keep on making bad decisions on what to do next, I get given advice by someone and then end up struggling because I was doing it wrong, I was trying to create a child theme for use with my wordpress installation and it conflicted with the parent theme. Well, I would like to have advice of where to go from here. I have thought about installing bootstrap or foundation to my wordpress installation but have also been told that coding without a framework is just as good, maybe even better. Why would you even use a framework? And what framework would be best for me? I'm still new to this, I've had basic edu…

    • 2 replies
    • 1.2k views
  18. Started by buzar,

    Hello guys, I need some javascript/ajax script that when someone click on some link popup shows on that same page, popup should be like some div with 500px height and 500px width, I plan to put there some text. Also, there should be exit button - "x". Does anyone have something like that or similar to it? Thanks

    • 1 reply
    • 886 views
  19. Hello webdesigners. I am building a photography website, which will act as a "professional front" for a flickr photo stream. With flickr you have the choice of uploading photos as 'public' or 'private'. With public photos anyone can see them. This section of my webdesign is easy as I can just write a bit of code to display the flickr gallery on the website without to much complication. Things get more complicated when dealing with private galleries. On Flickr Private galleries can only be viewed one of two ways: 1) The Flickr account owner logs in to view the photos personally. 2) The Flickr account owner creates a "guestpass" and forwards this on the "…

  20. Started by jpmo02,

    Hello I need a free accordion slider for use in a wordpress theme. I want that the slider is like this slider! But don't necessary for me that the slides after click on those, stop open! But also i want set a link on each slides. Please introduce me a slider for use in a wordpress theme or a plugin for wordpress that i use in my wordpress. Please help me! Thanks

  21. Started by lakey,

    Hello, I have just started working on my responsive side to this: http://www.pixelwork...s.co.uk/dev/GER And I have had some issues where by on the iPad / iPhone the slider image was zoomed in and pixelated. I got advice that because I was using a min-height on the div.slider that was causing the image to zoom in / pixelate on those devices - since I've removed the min-height the image just doesn't display on iOS devices - but it does on a desktop computer. Any ideas?

    • 0 replies
    • 941 views
  22. Started by Acknowledged74,

    Hi A new site works perfectly in all browsers and devices for the home page, but for some reason where the responsive menu is showing on the Home page for below 758px wide screens, this isn't the same for the other pages. Therefore for ipad landscape and below I need the responsive navigation to show on all pages? Home page One of the other pages Anyone see what I'm missing?

  23. Started by neil0wen,

    I've been looking through pages of websites from Google about how to vertically align some text within a DIV and I can't get any to work. Surely there is a simple way of doing this like: vertical-align: middle; Can anyone advise?

  24. hello friends, can any one tell wht effect is used to have tht effect in the slider of this website http://picklespr.com/

  25. Started by Habib012,

    Hi, I am beginner in web design and need some help to learn responsive web design... I have created this page(attached with the post), how to make it responsive? A pre-thanks for your help.. lockaway.html lockstyle.css

  26. Started by AlexsDesign,

    Hey guys, I'm stuck and I need some help! LOL How can I make this search function ... exclude content in span tags with the class "excludethis" (<span class="excludethis">Label Title Here</span>) Here is the Javascript: $(".refineSearchInputTextField").keyup(function () { var searchTerm = $(this).val(); var searchItem = $(this).parent().children($("[id^=link_]")); //extends the default :contains functionality to be case insensitive $.extend($.expr[':'], { 'containsi': function(elem, i, match, array) { return (elem.textContent || elem.innerText || '').toLowerCase() .indexOf((match[3] || "").toLowerCase()) &…

    • 0 replies
    • 1.1k views
  27. I tried to figure out how to do but cannot understand into style.css how to modify it. In my friend's website: www.carpetcleanersdublin.ie in the main page there is a list on your right corner with Rugs Tiles Carpets Upholstery Leather and it is a normal list with standard bullet points (image attached called standard bullets) If I go to any page the list is made using the small bubbles (I attached an image I called bullets-bullets) I am just wondering what I have to add into my style.css in order to have the same small bubbles into the home page. Thanks in advance Donald

    • 5 replies
    • 1.6k views
  28. Hi guys, I like to inform you that I need some sliders for my new website. So, can anybody advice me about it? Please open the attached file. To see the sliders please download it form this link: https://dl.dropboxusercontent.com/u/211935016/jQuery_slider.zip Any help is(GREATLY)appreciated ..... Thank you.

  29. Started by dcummings,

    Hello, I really need HELP!! I am working on a basic site (www.mandevilleingleside.com) and I am having trouble eliminating the white space under the flash banner (mobile view). I have edited and troubleshooted but am still having trouble figuring this out. Any ideas folks??? The main div is the .home-banner-wrap and then home-banner-sub-full. This was designed using a template. Thanks in advance. If I need to clarify this some, please just let me know. -Desperate "D" Here's some of the CSS for that area: .home-banner-wrap { width: 940px; height: 419px; background: url(images/_global/bg-home-banner.png) 0 0 no-repeat; position:…

  30. How to flip div using CSS 3-D transformation and transitions without using jquery/javascript? If you are looking for something like this you are at right place, this is kind of a tutorial to do CSS 3-D flip.Okay lets get started with our HTML code. <section class="container" > <div id="card"> <figure class="front"></figure> <figure class="back face"></figure> </div> </section> Figure: Defines self-contained content, like illustrations, diagrams, photos, code listings, etc. Now lets start styling our HTML in CSS. .container { width: 259px; height: 350px; position: …

    • 0 replies
    • 1.3k views
  31. Started by BugsBunny,

    Hello, I need something like this, but I can't do it on my own, could anyone help me please ?

  32. CSS: ul{ padding: 0; list-style: none; margin-top: 0px; } ul li{ float: left; text-align: center; line-height: 56px; } ul li a{ display: block; color: #333; background: #2A2A2A; text-decoration: none; height:56px; padding-right: 15px; padding-left: 15px; } ul li a:hover{ color: #fff; background: #191919; } ul li ul{ display: none; } ul li:hover ul{ display: block; width:50px; } HTML: <ul> <li><a href="#">Home</a></li> <li><a href="#">…

  33. So, I'm not that good in HTML and studd and i was trying to make a dropdown menu, but it's visible all the time? You can see it here: http://test.pixeldesignz.net/ Would be grateful if you're able to find a fix for me Thanks!

    • 4 replies
    • 1.2k views
  34. Started by Lee_K,

    I've got a parent div 940px across, height set to auto. Inside I've got a line of text, but inbetween that text right in the middle I want to put a div that contains a background image. I want the background image to sit evenly between the text so that it stretches out just as much above the text as it does below it. And I also want the text and the image div to sit central horizontally. What's the best way to achieve this?

    • 3 replies
    • 886 views
  35. Started by CreativeSheep,

    I have a jQuery script that is loading after the DOM, it's a script file not embedded into the page. If I embed the script within the page, everything works, when it's read as a script file after the DOM it doesn't work ?

    • 14 replies
    • 1.3k views
  36. Started by rbrtsmith,

    Hey guys. I built a parallax script that is silky smooth in chrome, firefox, safari etc.. it uses css3 transform3d to animate the position of the image in relation to the scroll. http://wasabiadmin.se/basalt/ Using this instead of animating the positioning using css top or bottom, or the background position is smoother as the translate3d uses the gpu. I am also using requestAnimaionFrame (http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/) which too improves the animation. Results look great in all browsers apart from IE10. nothing happens in <IE10 as they don't support 3d transforms so the image is static. In IE10 the result is…

    • 1 reply
    • 2.8k views
  37. Started by Harvazad,

    Hi, I'm a noob with very basic HTML, CSS, PHP skills and have designed a very simple website for my own business. I have created a rod for my own back though ..... I am a member of a supporters club and I have been charged with developing a site which has a forum, online ticket reservation, keeping track on individual account balances (people pay money in and can order tickets if they have enough money in), online payments (probably through paypal). I've set up the basic framework but need some guidance please on the areas above. Just gentle pointers in the right direction would be much appreciated. I know this may be complex, but am willing to learn (and get thin…

  38. Hello everyone, An interesting feature has been brought to my attention recently http://www.stylepit.com/lookbook/ Does anyone know how they animated the video? Looking at the html, it seems to be some sort of jpeg image replacement - but how did they accomplish this? I've also seen this technique used on google doodles in the past, and I would love to know how its done. I've used image swaps before using javascript by dynamically changing the image name every few milliseconds (src="/frames/frame-1", src="/frames/frame-2" etc). However, this method is dubious as it has to load the images continously and can cause gaps in the frames and so on. If anyone has…

  39. Hi All, I am new to this forum so I introduce myself. Donald from Ireland. I am not a web designer. I know basic html and css but not so expert. I am helping a friend who owns a website http://www.carpetcleanersdublin.ie, and it runs Genesis Framework (just in case you asking) on top of Wordpress (latest version). Website is fine but I am having an issue with the Home page Sidebar. I am explaining better below. This website before was not HTML 5 so I thought to modify into it. I added the function to activate html 5 into the file function.php and I used a free online application that "translate" the old style.css into a new style.css for HTML 5. The only i…

  40. Hey guys, i need your help. This is what i want to do , i got this progress bar and i would like when i click the (link) to change the attribute of number (80) to 100: data-pro-bar-percent="80" --> data-pro-bar-percent="100" This is the code: <a class="button" href="#">Click Link</a> <div class="pro-bar-container color-green-sea"> <div class="pro-bar bar-100 color-turquoise" data-pro-bar-percent="30" data-pro-bar-delay="4000"> <div class="pro-bar-candy candy-ltr"></div> </div> </div>

  41. Hi, I've got to a point with this project where I'm beginning to pull my hair out. The problem I have is I've styled what I think is a good drop down menu based on tutorials etc online. Everything looks as I want and works fine on a desktop. But when you try and use the drop down menu on a touch screen device, the menu doesn't stay down - you can't select another page. Can anyone advise please. The project is here - http://www.clearstreamdesign.co.uk/chesters2014/ Thanks.

    • 10 replies
    • 1.8k views
  42. Hi I have just noticed that google has added a trailing / to my url in it's index. This is causing my css to be ignored + images. What is the best practice for correcting this. Any advice warmly received eg. works:- http://www.theweddingstorytellers.eu/about-wedding-story-tellers.php Fails:- http://www.theweddingstorytellers.eu/about-wedding-story-tellers.php/

    • 2 replies
    • 877 views
  43. Started by CreativeSheep,

    Why do they display grid systems with a bunch of boxes as seen on this page ?

  44. I'm a student and the textbook I'm using is telling me to create a button by just making a link (<a href="myhome.html">Sign Up</a>) then styling it with CSS. It's affecting all of the links on every page, and even the navigation bar. The textbook was written when HTML5 was brand new. The website I am working on is 5 pages, mainpage, myhome, forums, signup, and login. The only pages I need buttons on is signup and login, and both of those are supposed to go to myhome. How do I make a button that I can format with CSS without it affecting every link on the website and the navigation bar? Thank you

    • 8 replies
    • 1.4k views
  45. Started by schillers,

    I have a web page that refers to a CSS document for its styling. I have tried to style the font within a table to Verdana but is still displays as Times New Roman? Anyone know Why this is? I have supplied code and screenshot. In the CSS: table { font-family:Verdana; } The view (Screenshot): http://gyazo.com/9cb8c410f3d856689702e580b59e32bb Code for one row of the table: <table border="0" cellpadding="0" width="550" id="ContactInfo"> <tr> <td width="340" align="right">First Name</td> <td width="10"> </td> <td width="200"><input type="text" name="FirstName" size="30" tabindex="1"></td> <td width=…

  46. Started by marchello,

    hi i set up on my pc linux mint currently linux mint 16, which code editors ide's do you use, i started to use aptana.

    • 2 replies
    • 874 views
  47. Started by Chivs,

    Not sure if this is the correct place to ask this, but i have some images that are on a slideshow rotator and want to know if it is possible to have links on the image. I have social media icons and email that I would like to be linkable. I have tried in Fireworks to create a hot spot but when its uploaded to the web it stops working? my site is http://www.multitask.co/www/index-1 Help very much appreciated.

  48. Started by Meh,

    Hey guys, I'm using bootstrap and their default media queries are as follows. @media(max-width:767px){} @media(min-width:768px){} @media(min-width:992px){} @media(min-width:1200px){} Say I wanted to develop for screen sizes above 1200px, what would you suggest using as min / max width? Is there any rule of thumb for working out what the next value would be?

  49. Started by Vulcan,

    What do you use? A framework like bootstrap or create your own CSS? Please give your own opinion choosing one rather than other .

  50. Hi, I wonder if someone could help with my dilema please. I have built a static website but I am having trouble with the textarea in the contact form. In the textarea the text "Message" should be visible, then when clicked the text should appear slightly lighter, the same as with the "n ame ", "email address" and "subject" fields. Im not sure what I have done wrong but nothing seems to make the "message" t ext visible without the textarea being clicked. This is the link to the contact page: http://localhost/jane-kane-translations/get-in-touch.php Would anyone know what would be causing the problem or offer any advice. It would be greatly appreciated. m…

    • 0 replies
    • 1.5k 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.