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 David Cook,

    Hey, what would stop a slider showing, it was showing and i added the about section then it went any ideas.

    • 12 replies
    • 1.6k views
  2. Started by sash_oo7,

    Hello friends, I was seeing this tutorial on responsive image here and i just downloaded that page and uploaded it here but the image dont show any idea? i just wanted to test it with other images

    • 9 replies
    • 1.5k views
  3. Started by Willows,

    Okay basically I want a div to change height on hover and text to fade in, onmouse out i want the text to fade out and the div to ease out to its original height, how would i do this? can i do this purely using css or do you have to intergrate something else? heres the css and html.. FORGOT TO MENTION: The div I won't to change on hover is "Description" ignore the other hover styles they aren't what I am talking about. my bad! CSS #body1container { width:300px; height:250px; background:rgba(50,84,28,0.7); -moz-border-radius: 5px; border-radius: 5px; float:left; margin-left:0px; margin-right:40px; } #body1 { width:280px; height:230px; background-im…

  4. Started by nCore,

    Hello, I'm kinda having a trouble regarding to my footer :'( I can't put it at the bottom of the page like when the main content has a short article the footer don't stay at the bottom. If i use position:relative it stays at the bottom when the article is long but if its short it kinda follow the main content and doesn't stay at the bottom of the page. then if I use position:absolute when the article is long it kinda overlap it, but not actually at the bottom of it. I used z-index:-1; as well so the footer goes behind the main content. So, how can I fix this I want it to stay at the bottom of the page whether the article is short or long without using position…

    • 4 replies
    • 965 views
  5. Started by WDF,

    Is there a way to stop a jQuery vertical scroll from being so notchy. I think all the images I am using are the cause for this but not too sure. Also, has anyone come across a plugin that will make the selected element scroll to the centre of the page - that would be awesome? http://tinyurl.com/d5smxls Cheers.

    • 12 replies
    • 1.6k views
  6. Started by Dexter8888,

    how can i create a side bar like in the image shown below any help please?

    • 2 replies
    • 938 views
  7. Started by LinkeLoutje,

    Hey guys I'm busy with a first attempt to create a template for wordpress. I'm starting with bones to use as a framework, but there's a margin issue I can't locate. For mobile devices, or decreasing the width of the browser there's a margin between the screen and the border of the content. I've made the border black to make it clear. I'd like the content to fit exactly to the screen. My site can be found on www.entrepreneur30.nl/test. Could you help me find the mystical margin? thnx!

  8. Started by louise88,

    Hi Every one I am new to this forum and need help on a website I am a fan of the woo themes and currently using the Canvas them. but I have a slide show at the top of home page and want my side bar flush against it but if I CSS the side bar it ruins all the other pages so I know it is a slide show issue which I did use negative css which looked great in all browser apart from IE8 (what a surprise its IE issue lol ) it looks all wrong, atm the css is out as trying to sort it out but here is what it should look like on http://dev.hadene.co.uk/'>http://dev.hadene.co.uk/ but at the moment im working on the test site so if i do anything majorly wrong its ok lol so please…

  9. Started by berty bassett,

    Hi, I'm using Lightbox for an image gallery but rather thank just have the border i wanted to use a custom frame added to the image in Photoshop. But when i try this Lightbox still only dispalys just the image, why will it not show the custom frame around the image. I've looked through the css and js, i've removed the white border background but can't see how to make it show the custom frame added in Photoshop. Cheers Tony

  10. Can someone plzzzz help. Why would these snippets of javascript be conflicting, stand alone they work fine) <!-- Js Starts --> <script type="text/javascript" src="js/jquery-1.4.2.js"></script> <script type="text/javascript" src="js/coin-slider.min.js"></script> <script type="text/javascript" language="javascript" src="js/custom.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#slider').coinslider({ width: 960, // width of slider panel height: 432, // height of slider panel spw: 7, // squares per width sph: 5, // squares per height delay: 5000, // delay between images in ms …

    • 7 replies
    • 3.5k views
  11. Started by David Cook,

    Are there any plugins or tutorials that will allow me to create a slider that only appears when you click a link. Something like this site when you click get a quote. http://www.dazines.co.uk/contact if anyone can help would be great

  12. Started by muratsal,

    Hi, Can we make gamesite with joomla like http://game4mania.com thanks andvance !

    • 7 replies
    • 1.3k views
  13. Hi Guys, I've got a seamingly simple question, but I can't seem to figure it out. Every time a user scrolls the scrollTop changes. I want to subtract the old from the new value of the scrollTop. But how do i store the old value, so i can subtract it from the new value after the user stops scrolling? There must be an easy way. $(function(){ $(window).scroll(function(){ var curTop = $(window).scrollTop(); var newTop = (curTop - curTop); console.log(newTop); }); }); This obviously doesn't work. You guys have any idea?

    • 1 reply
    • 1.4k views
  14. Started by David Cook,

    Its proberly something quite suimply but i am having issues with spacing. The i'd love to hear from you should be under contact us. then the sentance should be under the talk to me and the heading should be white. but for some reason i dont know why it is spaced like that. can anyone point out why

  15. Started by Szitar,

    Hello, The following codes are for use with xml data. Example 1 and 2 are working but example 3 does not, even if $x and $cards chould be global variables. I use $ sign before every variable as i found it easier to get around. Please explain why example 3 does not work comment any issues you find. code starts with: if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari $xmlhttp = new XMLHttpRequest(); }else{ // code for IE6, IE5 $xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } $xmlhttp.open("GET","bscard.xml",false); $xmlhttp.send(); $xmlDoc = $xmlhttp.responseXML; example 1: function display() { $x = document.ge…

  16. Started by zeedurrani,

    Hi guys, I'm a big fan of the greensock api which is extremely awesome for HTML5/Javascript based animations (works on browsers as far back as IE6/7 too) oozes awesomeness. However recently had a client that wanted CSS3 animations (they tap into hardware acceleration, especially useful on mobiles) however not very well supported on the older browsers and are a development nightmare for more complex sequencing type animations. Anyway I came across two Jquery based frameworks JQuery++ and JQuery Transit which seem pretty cool and allow us to continue using JS and CSS3 (without the vendor prefixes). Not sure which one I'm going for but has anyone used them ? …

    • 0 replies
    • 1.4k views
  17. Hello guys, I have been trying for most of today (along with slowly forming my new website) to find out how to implement my blogger pages into my website (to be seen when the visitor clicks "blog") My web building knowledge is disgustingly non existant, my mate built the current version for me. Basically - I want to be able to post on blogger, and for the full size blogs to be posted onto my website also, so if I post videos and audio they will appear too. If this is incredibly hard/impossible can anyone offer me any alternatives? Besides having a wordpress/blogger site that the user gets directed to upon clicking blog (I want everything in the same place). …

  18. Started by gadgetgirl,

    I've managed to get my page pretty much working however in IE8 the images are stacking one on top of the other rather than side by side. It seems to display properly in the other browsers including IE7. Does anyone know how to fix this? the page is here

  19. Started by rajanskumar,

    Hello Everyone, I am adding 2 effects in one page, say, header transition and scroller in footer. But only one is working at a time. here is the link: http://www.rajanskumar.com/jsclash/header.html In this link, scroller is working. but if i move the <script type="text/javascript" src="js/slide.js"></script> above <script type="text/javascript" src="js/jquery-1.6.3.min.js"></script> then scroller stops working and header starts working. Not getting whats the problem. Any Help..!

  20. Started by dpuk44,

    how do i remove the last border-right property on my last list item? as im going with a line inbetween the list items to give them a nice seperation look? body { font-family: Palatino Linotype, Book Antiqua, Palatino, serif; font-size: 14px; color: #333333; } #pageHeader { width: 900px; border: solid 1px #999; border-bottom: none; background-color: #F4F4F4; overflow: hidden; } #pageContent { width: 900px; border: solid 1px #999; background-color: #F4F4F4; } #pageFooter { width: 900px; border: solid 1px #999; border-top: none; background-color: #F4F4F4; } /* Header Divs */ #logo { width: 210px; height: 98px; margin: 5px 0px; border-right: solid 1px #999; background-…

    • 7 replies
    • 892 views
  21. Started by delboy1875,

    Hey am looking to arrange the footer so it has 3 <ul> lists. How would i go about doing that, would it be to arrange it the same way as the main page content? The website is www.cherrietestingwebsite.com . Below is the format I am trying to achieve. Quick Links Sample Menus Clan Caterers Home BBQ Dalkeith Miners Club About Us Build Your Own Burger Woodburn Road Sample Menus Cold Salad Buffet Dalkeith Gallery Midlothian Contact Us …

  22. Started by collie,

    hi everyone, the problem im having is that when ever i put in my own twitter account "collie21" into the jquery code, it doesnt show up my tweets, but if i use someone else's it works fine, you can find the problem at www.davidcolligan.com this is the jquery code var tweetUsers = ['collie21']; var buildString = ""; $(document).ready(function(){ $('#twitter-ticker').slideDown('slow'); for(var i=0;i<tweetUsers.length;i++) { if(i!=0) buildString+='+OR+'; buildString+='from:'+tweetUsers[i]; } var fileref = document.createElement('script'); fileref.setAttribute("type","text/javascript"); fileref.setAttribute("src", "http://search.twitter.com/search.json?q="+bu…

  23. Hi everyone, I need to select all instances of "(en)", "(es)" and "(fr)" then wrap them with a <span>, so I get : "<span>(en)</span>", "<span>(es)</span>" and "<span>(fr)</span>" The regex for that is : "\([a-z]{2}\)" Now how to wrap all of this with jQuery ?

    • 2 replies
    • 882 views
  24. Hey all, i am in the middle of building a website but i have run into a problem and am wondering if its possible to have a shadow in a GIF image show trough onto the body background image. My problem is, my header is a transparent GIF image and in it there is a shadow on a logo but the rest of the header is transparent and i want the shadow to show trough onto the body background image but instead it is giving me like a white background colour under the shadow even tho in the GIF its transparent. Is it possible to have it show trough or do i simple have to make the bg colour behind the shadow the same as the colour on the body bg so it appears like its showing trough? …

    • 0 replies
    • 1.3k views
  25. Started by David Cook,

    Hey I am looking at putting a permanent icon in the bottom left hand corner of my single page site, that will allow users go back to the top. I am having trouble getting it to show. I want it no bigger than 50px x 50px if anyone can point me in the right direction would be great thanks

  26. Hi all! I am feeling a little out of my depth (not much new here then,lol!) today. I would like to replace a static image on my home page with a series of fade in/out images. Does this snippet of code make sense to any of you and how would I place this into the existing html of the page? Ps; sorry about this, you all seem to know so much more about this than me!) $('#placeholder').crossSlide({ sleep: 2, fade: 1 }, [ { src: 'purpleflora.jpg' }, { src: 'bathoils.jpg' }, { src: 'lavender-field.jpg' }, { src: 'marigolds.jpg' } ]);

  27. Started by collie,

    Hi everyone, was wondering if use could help, what is the best jquery slider that will allow both content and images Regards Collie

    • 2 replies
    • 895 views
  28. Started by 9tailsfox,

    hello there, I'm newbie for webpage create. So through this forum try to figure out my problem. I wondering how this webpage create and is it a database type of webpage? I mean what kind of tools to create this kind of webpage. Thank You Since I can't attach the picture so please refer to the link is here: http://www.philimo.com/mrms/web/MaidCatalog.aspx?Nationality=FILIPINO&AgeRange=20-25&Religion=&Marital= http://www.philimo.com/mrms/web/MaidDetail.aspx?PrimaryKeyID=f1f51080-9076-48cd-8a9f-1cd67c272fd3&isReadOnly=1&MaidType=NORMAL Thank you

  29. Started by Demonolith,

    Hi all, I created a set of rollover images by placing both states in one PNG and moving the background position through CSS. This works great, but in IE9 (and possibly IE in general) the rollover is not in the correct position (slightly off when rolled over). Here's the site. <div class="press1"><a href="index.html" title=""></a></div> .press1 a { display: block; width: 140px; height: 182px; float: left; margin: 20px 37px 0 0; background-image: url(../Images/The%20Press/ulstertatlerinteriors.png); } .press1 a:hover { background-position: 0 -182px; } Hope you can help me solve this! Niall

  30. Started by delboy1875,

    Hey everyone i am trying to create a 3 column layout with a main section of 550 and the left and right both 275px in width. The page stretches across 1100. However it does not seem to be working and appears all messed up, am sure its something simple but not sure what, the main section seems to have some black line around it too. The web address is http://www.cherrietestingwebsite.com/ Any help appreciated a lot, thanks.

  31. Started by delboy1875,

    Hey everyone i am trying to create a 3 column layout with a main section of 550 and the left and right both 275px in width. The page stretches across 1100. However it does not seem to be working and appears all messed up, am sure its something simple but not sure what, the main section seems to have some black line around it too. The web address is http://www.cherrietestingwebsite.com/ Any help appreciated a lot, thanks.

    • 7 replies
    • 1.3k views
  32. Started by Neil@creative,

    Hi, Is it easy to setup a system where clients can upload files to my FTP through my site with a username and password? Like this? http://www.dpi-client.co.uk/

  33. Started by rajanskumar,

    Hello Everyone... I need to add zoom effect on a product website. Effect is working fine but am getting horizontal scroller in browsers... Main Container is fixed at 1000px; Here is the link of the page: http://rajanskumar.com/zoom/index.html I have added html{ overflow-x: hidden; } In the style sheet to remove the scroller and this code is working fine but this is not the solution... Any Help....

  34. Started by esparkinfo,

    Hello, Basically i am looking for put div side by side. Can any one tell me how is it done with CSS? As we know that table is so old idea & i am not able to make columns with divs. I end up one above & other, I never get side by side css. Can any one tell me how to solve this problem? Thanks in Advanced!

  35. Started by drennan,

    Hi all. I've got a while loop displaying a list of tasks. The form to create the tasks has 3 fields, so this would be the typical input: id: 1 task: buy milk status: active The while loop containing all the added tasks is displayed on another page. Here's the code: <?php require_once('Connections/testdb.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($the…

    • 0 replies
    • 1.2k views
  36. Started by Gecko,

    If you go to http://www.getmecarcredit.net/stock/ on my website you will see it's working fine. If you click onto the name of the car it goes into another page that is meant to show a more detailed example with a slideshow of the cars photos - this isn't happening. The company who made the system are saying they don't provide support for this (despite the fact it's theirs!) The detailed page is based on a file called detail.txt, they sent me the file for this (and although it doesn't work, they're saying they wont help!!) Here is the detail.txt file that they sent me: <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; cha…

    • 17 replies
    • 1.5k views
  37. I am trying to specify independent vertical alignment attributes for text and iframe elements contained within the same table cell but nothing I do seems to work. What I want is for the text to align to the top of the cell and the iframe (embedded Youtube link) to align bottom. Can this even be done, or should I split each table cell into two further cells? The HTML as it currently stands is below (CSS file is accessed remotely). <td height="360"> <p class="q"> <span class="quote">“blah blah blah blah.”</span> <br>- Ben Smith</p> <iframe src="xxxxxxxxxxxxxxxxxxxxxxxxx" allowfullscreen="" style="float: left; margin-bottom: 5px…

  38. Right, Below is a simple javascript request to display the content that is in the XML document. I have lot's of different versions of XML's that are all from the same place but some are structured slightly different, so some elements inside the KISCOURSE tag do not have a TITLE - when this happens it throws out my coding structure and makes it appear wrong. Is there a way, if TITLE is not found inside a KISCOURSE, then do not display that KISCOURSE and just move onto the next one. Just incase, For an example on how the XML Data looks, see: http://universitycompare.com/wp-content/themes/blue-and-grey/XML/london_metropolitan_university.xml <script type="text/j…

  39. Started by moneyontoast,

    I'm hoping someone could help me with this little problem. I'm just working on this form page http://moneyontoast.leewebsites.com/book-an-appointment-details/ but I'm trying to make it so when the user clicks the submit button, the information is submitted and they are taken to the paypal page to pay. Thanks Ian

  40. Started by bnogueira02,

    The problem is that the resolution above 1600 xN examente the site is the same post!, However is just right down the line how do i fix this? ''<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>BiG Cursos - (17)3462-1775</title> <link href="css/principal.css" rel="stylesheet" type="text/css" /> <!--[if IE]> <link rel="stylesheet" type="text/css" href="css/ie.css" /> <![endif]--> <!-- favicon --> <lin…

  41. Started by Nuno Ribeiro,

    Hi all. First post here in this forum. I have this problem and hope someone can help me out solving this. I´m trying to put a line-height property to align all menu items in this wordpress theme. See this link: ricardo.dyndns-at-work.com:8888/yootheme If you look at the menu bar at the top of the page, you´ll see that some are aligned at the top and not centered like they should be. Tried to solve this with firebug but with no luck. Maybe someone can tell me what the problem is here. Thanks a lot.

  42. Hello All, I am no professional in web design for a long shot. I see a little bit of code and it will take me a while to get my head around it and work with it. I am currently affiliated with a company, and as a start up, funds are limited so I will be attempting to create this website by myself and my prior experience. Basically, we want an ecommerce website where I can have a small selection of products with a buy option. This then puts this item into the users basket and then to checkout. Simple (it sounds anyway) I have copped out and decided to try and buy rights to a template and use that for a more polished and professional look. An example is here: ht…

    • 3 replies
    • 1.3k views
  43. I need a help in java script and css, This is what I want to happen when I hover my cursor on a text link then one of the image should change or swap an image. example for this website: http://www.faithconnexion.com/ try to hover the cursor on the navigation on the right side. Please I need your help guys.

  44. I have a problem that has been bugging me for around 2 days now and seem to be getting low responses elsewhere. I am running XML's that string along the data into AJAX tabs. then using Javascript, to break and only display the XML data where I want, then I want some of the data to appear through a Lightbox which and not on the AJAX tab through the 'read more' hyperlink. Some of the data appears normally however the Lightbox is not working at all, the scripts are loaded and linked correctly but I cannot seem to work out why it is not working. Each Lightbox has been generated through the script and yet, no Lightbox or linking is working correctly. Because some…

  45. Started by jackmcconnell,

    I have 2 pages on a site that use a lot of js toggles to hide / show content. They both contain a load of h2 tags in a list and when one is clicked, it shows the toggle container below. Clicking the h2 hides the toggle again - all fairly standard toggle stuff. The problem I have is that I want to be able to link to and open any toggle on any page from any other page. I'd also like to be able to include an anchor under a hidden toggle and to link to that from another page that will browse to the page, open the toggle and scroll to that anchor. I'd like this to be done all automatically if possible as at present, I can get it to do the above but only for one tog…

  46. Started by ELITE,

    Hi All, I have been trying to make a few different sliders, all work fine when using .click but i want it to work on load wih a duration of say 2 seconds and pauses on hover, this iwhat i have been using on other sliders <script type='text/javascript'>//<![CDATA[ $(document).ready(function(){ var slides = $('#slideContainer .images'); slides.children('.holder').last().prependTo(slides).removeAttr("style").css("margin-left", "-900px").animate({ marginLeft:"0"}); });//]]> </script> all this does is run all the images at once, any ideas on how to make this work with the delay and pause Thanks

    • 1 reply
    • 873 views
  47. Hello i have a basic website i made using Fasthost.co.uk's SiteBuilder Service and I have been noticing that some sites have a "Favicon" (The thing that appears next to the web address on a browser) and i wondered how you do it. And im not sure if i am posting this in the right place?

    • 5 replies
    • 1.4k views
  48. A lot of the clients I deal with are very focused around ebay and there's a lot of demand for ebay templates. I am more focused on graphic design than coding so if anyone has experience with ebay templates let me know as there is a lot of work to be had

    • 0 replies
    • 1.3k views
  49. Started by gadgetgirl,

    I'm attempting to revise a site to make it responsive and I'm having some trouble with some of the layout. On this page, the nested lists below the image slider are not displaying correctly, including not being centred. And on this page the #products div is also not being centred. I'm not sure what is going wrong - any suggestions? Thanks as always.

  50. Started by Artist,

    I am having a strange problem here. whenever i make a link to a paticular text e.g. Home is linked to 'index.html' The text 'index.html' automatically appears after the text home. Attached are also the code and the screenshot. here is code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>White Feather India</title> <script> var flashvars = {}; var params = { scale: "exactFit" }; var attributes = {}; …

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.