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

    Good evening, I am trying to assign different hover classes to parts of my menu. I have set the html as:- <div id="options" class="clearfix"> <div class="slctbox1"> <div id="ad_search1" class="drpdwn"><a href="#">Filter</a></div><br class="clear" /> <div class="moredlts_adv1"> <ul id="filters" class="option-set clearfix" data-option-key="filter"> <li class="first""><a href="#filter" data-option-value="*" title="All Works" class="selected filter-pink">All Works</a></li> <li ><a href="#filter" data-option-value=".web-design" title="Web …

    • 1 reply
    • 1.2k views
  2. Started by whiterose,

    Has anyone used this in any depth? Thinking of using it for a project at work and wanted to get some feedback on it! Thanks.

  3. Started by PumpkinHead,

    Im trying 2 make a image Viewer but not doing that well have looked around and just cant find one that i can get 2 work. Just hoping some one could point me in the right directions eg tutorial or os code that i can look at and make work have made a quick image of what im planning Hope some one can help PLEASE

  4. Started by dpuk44,

    Hey I have this website and I want to enable anchor links, which I have done so. How do I add a subtle scroll affect to this? and How do I get the home anchor to return to the very top of the page? <!DOCTYPE html> <meta charset="utf-8"> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> <head> <title>nurdIT - Web Design, Mobile Design, Interaction Design & iOS Deve…

  5. Started by mrludable,

    Hi all, I'm making a new site and one feature I found that I liked quite a lot if background radio button images. Here's an example If you scroll to the Budget section you will see what I'm talking about. I've been looking online and haven't found much on how to implement this, closest thing I've found is - THIS I've had a look at the code on the example site (first link) and I've added a background image to a radio button, but am stuck on how to keep the new background position in place when the radio button is checked... Any help much appreciated! Al.

  6. Started by BrowserBugs,

    Hi, Does anyone know of a working example of Google Maps v 3 cluster? Been to pretty much everything on stack overflow and Google but no matter what I try I cannot get this thing to work! Driving me mental, like there is a serious piece of the puzzle missing! *fume* Thanks

  7. Started by fleur,

    I have very nice looking lightbox, but it has close button and next/previous button close to the side of monitor. If there any possibilities to set this buttons close to image and close button st on top-right side of the image (not monitor). THank you for any advice! /*! * jquery.lightbox.js * https://github.com/duncanmcdougall/Responsive-Lightbox * Copyright 2013 Duncan McDougall and other contributors; @license Creative Commons Attribution 2.5 * * Options: * margin - int - default 50. Minimum margin around the image * nav - bool - default true. enable navigation * blur - bool - default true. Blur other content when open using css filter * minSize - int - def…

  8. Hello friends, The responsive menu and dropdown works on localhost as u can see from screen shot but not when i upload to server here

  9. Started by Lovelock,

    Hey, still having issues with this validation. Again, i got it working on another part just fine but cant figure out my next issue. So, i have 3 blog posts currently echoed like so: <div class="blogtest"> <form action="process/updatepost.php" class="updatepost" method="post"> <input type="button" class='.$editenabled.' value="Edit"> <input type="submit" class="saveupdatebutton" value="Save"> <input type="hidden" class="postid" name="postid" value="'.$postID.'"> <div class="text"> <div class="buildtext">'.$text.'</div> <div class="editor"><textarea name="ckedi…

  10. Dude can you help me? I recently changed the layout of my site. Nothing too complex mostly some minor changes to the CSS and HTML. for some reason all of the ' and " changed to a?. For example, That's changed to That?s. Why does this happen and how can I fix it? thank you dude http://www.allureeventsindia.com/Wedding-Planners-in-delhi.html

    • 2 replies
    • 878 views
  11. Hello. I am using the Bootstrap framework to design my site. I have the drop down working in the navigation, but from some unknown reason in IE8 the dropdown does not work. When you click on the About Us link, the drop down does not fully appear. This only happens in IE8. It works fine in other browsers. You can view it here: https://dl.dropboxusercontent.com/u/52725754/fightback-responsive/index.html Can anyone help with this problem? Thanks

    • 9 replies
    • 11.1k views
  12. I have been working on html editing work for more than 1 year, but nowadays I have a problem since I download a free jQuery Slider maker which named Hi Slider, wow! the javascript text should be paste between <head> & </head>. For I am always a writer for webpages, I do know nothing about the web designing. I think i have paste the script paragraph in the right place. I put them before the original script paragraph of the website. But the jQuery Slider cannot perfect show, I applied the default size of 960*360. Is that too large that dreamweaver can not fit it automatically?

    • 0 replies
    • 1.3k views
  13. Yoooo, This is ironic - I'm trying to post a tutorial on my site, but need help in outputting it, ha. So I'm trying to output snippets of HTML, CSS and JavaScript on my website (so you see the codes, tags etc), but when I've tried to employ the <pre>, <code> and/or <samp> tags, the code within the tags either fail to display on the site or process the code as if I actually meant to write the code. Literally, my code is this: <div class="menusubnav"> <div class="sublink">Link</div> <div class="sublink">Link</div> <div class="sublink">Link</div> </div> (That's effectively what I want to achi…

    • 4 replies
    • 1.3k views
  14. Maybe there is some conflict that i dont see in that homepage... In that gallery page: link the fancybox is working great! but in the homepage it doesn't (it used to work in the beginning...): link Any idea? Thanks.

  15. I have a footer div on my website, which is set to always appear at the bottom of the page. The problem is, the text in the div is aligning to the top of the div. This is the CSS code for the div: #footer { position: absolute; width: 100%; height: 30px; text-align: right; bottom: 0; background-image: url(images/footerbackground.fw.png); } This is the HTML code for the div: <div id="footer"><a href="contactus.html">Contact Us</a> | <a href="copyright.html">Copyright</a> | <a href="feedback.html">Feedback</a> | <a href="brokenlink.html">Report a broken link</a></div> How can I alter the CSS and/or H…

  16. Started by Flowdy,

    I've been playing around with the grid system. I have this box that i can't seem to figure out how to get it the right location. I have attached an image. It's the bottom left box which i'm trying to get under the top left. I've tried floating it didn't make a difference. * { font-family: 'Josefin Sans', sans-serif; font-weight:400; } h1 { font-family: 'Cinzel', serif; font-weight:400; } #header { height:100px; background-color:#000; } #topleft { height:200px; background-color:#066; } #topright { height:200px; background-color:#066; margin-bottom:10px; margin-top:10px; } #bottomright { height:200px; background-color:#066; } #bott…

  17. Hello, using ckeditor for my text editor and using javascript call an update post php page. The problem is the submit button needs to be clicked twice before the form it submitted. Any ideas on this? Sorry if this is double posted, I put it in php first...

  18. I'm trying make a website with a similar design to this site http://johnaugust.com/2009/wherefore-does-not-mean-where The two things I want is navigation fixed to the left, whilst content is scrollable vertically on the right. I've tried this html, body { height: 100%;} .left { position: fixed; height:100%; left:0; top:0; bottom: 0; right: 0; width: 250px; float: left; right:0; height: 100%; background: url('../img/bg.gif') repeat; border-right: 10px solid #C9CACE; } .right { padding: 10px 10px 0 270px; border-top: 10px solid #C9CACE; } Which gives me the desired layout on desktop browsers, but on mobile the following layout changes take place (before and after th…

    • 0 replies
    • 1.3k views
  19. Started by Aled Mann,

    http://jrlandscapes.co.uk/ Can someone please tell me why the navigation (top red box) doesn't work in IE9? It's driving me round the bend. It works in all other browsers (except maybe IE10 as I can't test that). Thank you in advance!!

  20. Started by Matthew Claffey,

    Hello I have a problem with passing through a value which was in a select box and ive tried many different ways but I haven't got a clue what the problem is. here is the ajax/javascript: function validate(){ var ADV_Title = document.getElementById('ADV_Title').value; var ADV_Text = document.getElementById('ADV_Text').value; var ADV_Image = document.getElementById('ADV_Image').value; var el = document.getElementById('Permission_ID'); var result = []; var options =…

  21. Started by ehamid,

    Hi everyone, Recently I was designing new page with VStudio 2012. I added @font-face to the css file, like this: @font-face { font-family: 'nav'; src: url('file:///I:/WebSite/Hamy Co/nav_convert.ttf'); } and used it in this way: li a { text-decoration:none; color:white; font-family: nav; font-size:large; } but it didn't work. (I tested it in IE, firefox and chrome) What's the problem? please help! I really need help...

  22. Started by Kwits,

    First website is pretty much complete, apart from two major problems... The footer isn't sticking to the bottom even though I've followed the http://www.cssstickyfooter.com/ solution, and when you view the site on mobile devices, pinch to zoom completely destroys the layout, which the left column is to blame for. If you visit the site you'll understand the layout I was going for, http://littlemuffinsnursery.co.uk/test/index.html. I wanted the left column to always be there on the left even if you're scrolling down a page, is there a better method to do this? Just two problems away from being live! I'm so close I do intend on building a mobile version of the site …

  23. Hello, picture the scene... On my website i have database blog posts echoed out. They look like so: <div id="blogtest"> <form><input type="button" id="editbutton" class='.$editenabled.' value="Edit"></form> <div id="text"> <div id="buildtext">'.$text.'</div> <div id="ckeditor"> <textarea id="ckeditor" name="ckeditor" class="ckeditor">'.$text.'</textarea> <script type="text/javascript"> CKEDITOR.replace( ".ckeditor" ); </script> </div> </div> </div> I am using this j…

    • 6 replies
    • 1.3k views
  24. Started by wleshrob,

    What's everyones opinion on front-end frameworks (foundation and bootstrap etc.). I've had experience of foundation 3, just looked at foundation 4 and the sass files. Now don't get me wrong I can see that frameworks are useful and can speed up up development time but hell fire I've just spent a couple of hours trying to work it all out. The included javascript plugins do look useful, as does the grid structure, however I just feel more comfortable using my own 'framework', and don't get too frustrated almost to the point when I'm battling against the default framework styles. As I said before, yes I can see the benefits, I just think it might be overcomplicating things. …

  25. Hello I come here because this seems to be a good starting point. I am using netbeans for IDE and have developed an algorithm visualisation using this IDE. When viewed in FireFox or internet Explorer it appears to do what I want. My problem is getting to work when I transfer the files to my web page which is hosted for me. When I open the index file I get the output that is on the index page but no reference my CSS and JS files and this is something that the web host says is a coding problem and nothing to do with them Has any body any idea where I'm going wrong? Any help would be very much appreciated Regards Keith Mosas

    • 13 replies
    • 1.9k views
  26. Started by m0nsta.,

    If you're a web developer, you're probably familiar with the border-radius feature in CSS3. In my opinion, it's a complete pain in the ass to write 5 lines of code to achieve the effect of curved borders, so I wrote a little JavaScript code that will do it for you. It only took me 2 minutes so I don't really care about sharing it. Use as you wish. Usage is very, very easy. It can be used on any element on a web page and can be extended to support specified areas of the border, such as top-left etc if you have the time to do so. <!DOCTYPE html> <html> <head> <title>JavaScript Border Radius</title> <script …

  27. Started by Willows,

    Hi, I have some javascript/jquery working on my site, seems to work perfectly in chrome, safari and firefox but in IE there seems to be some issues, if someone could possibly guide me in the right direction that would be great... Its the "activity" sliders on the right hand side (multi coloured tabs) they are meant to expand/retract on click and expose content doing so, the expansion performs but then no content appears in IE? Site Thanks Will

    • 3 replies
    • 880 views
  28. Hello friends, I am using bootstrap for this template here and i am using this responsive slider but i cant resize the slider? also the dropdown menus and responsive menu seems to work in localhost but not on server

    • 4 replies
    • 1.6k views
  29. Started by Willows,

    I have already a working div that expands and retracts on mouse over/out, i now want to make content appear inbetween these two transitions so it fades in nicely on mouse over and dissapears again on mouse out with the div.. any help or advice would be greatly appreciated, here is the fiddle.. http://jsfiddle.net/NEuWW/

    • 4 replies
    • 1.6k views
  30. Started by fleur,

    Good evening! I made the contact form in Bootstrap3 modal window but when i try to send massage, i see the line "failure". i used code from this article just put a little correction into this code, because author used bootstrap 2, bootstrap 3 use another classes for modal now. Now my code looks like this. <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4>Send me …

  31. Started by 0xH,

    Hi all, Having some trouble getting a div to sit between to other div's that are floating left and right either side, as soon as i add the .social div the divs shift so they are above/below each other as opposed to side by side. The header container is wide enough to fit them all in one row... CSS: body{ background:#FFF; margin:0; padding:0; } .header{ background-attachment: scroll; background-clip: border-box; background-color: rgba(0, 0, 0, 0); background-image: url(/images/headerBg.png); background-origin: padding-box; background-size: auto; border-collapse: separate; color: rgb(26, 77, 128); display: block; float: left; font…

  32. Started by AlexC,

    Hi, i'm not sure if this is the most accurate section to place this (newbie) question, but here it goes: i want to create a shortcut inside my admin folder that leads to index.php that is located in the root, so i can access my website not only through the link: www.mywebsite.com but also through: www.mywebsite.com/admin/index.php The important thing here is that i can access using this different second link. To be clear, i don't want to be redirected to www.mywebsite.com, i want to access directly using that link. So is possible to create some kind of shortcut, or maybe is there another way to get the same result? Using file manager i do…

    • 4 replies
    • 1.1k views
  33. Started by Renatobdcs,

    Hello, my name is Renato Junior. I have a few sites on the same hosting, and I have the same problem with all of them. Is that whenever I put a link as follows: <a href="www.test.com">text</a> The link always looks like this: www.mysite.com.br/www.test.com Can anyone help me solve this problem? Sorry spelling errors, is that I am using Google Translator (PT-BR-> EN)

  34. Hello, using jquery masonry for some images and the bottom margin is set to 0. However the bottom margin varies depending on the tiles height. Heres a screenshot since its hosted locally. The bottom margin is fine on the others, but annoying that it varies depending on height. Any help?

    • 0 replies
    • 1.1k views
  35. Started by fleur,

    I made responsive layout. I see that everything is okey in browsers but.. i still have a doubt if i am going the right way. I put padding-left for right div in main-content area cause i couldn't set the float of two divs in one column. And clearfix didn't help me. I put padding-left and set the right div instead of using float. If someone have a few free minutes, please tell me if i put the right code for layout (i attached the pic). I told mainly about main content area. My chief insist that i have to make site without CMS cause he don't want to loose position in SEO (a little strange)). Thats why i try to find every mistake in code. If i will make mistake i will hav…

  36. Started by Meh,

    http://jsfiddle.net/X42KL/1/ I can't seem to get the form to stretch to the full width of the main div, does anyone know how to achieve this? Cheers.

  37. Started by Elvedin,

    Hello there I am using .slideToggle from here : http://api.jquery.com/slideToggle/ And now i got one problem, I made 3 toggle questions/answers , and i used 3 times the same codes with different ID, Class . The code looks like this : <div id="pitanje-1"> <input onclick="return change(this);" type="button" value="+ Šta je to web stranica?" id="dugme1"> <script type="text/javascript"> function change( el ) { if ( document.getElementById("dugme1").value === "+ Šta je to web stranica?" ) document.getElementById("dugme1").value = "- Šta je to web stranica?"; else document.getElementById("dugme1").value = "+ Šta je to web stranica…

    • 2 replies
    • 1.4k views
  38. Started by Ovyx,

    I'd like to have my thumbnails square, like I upload them. This is the code: @media only screen and (min-width: 801px) { .featured-posts article .entry-image, .category-posts article .entry-image, .format-posts article .entry-image, .latest-reviews article .entry-image { height:220px; overflow:hidden; } Even if I set height to auto it doesn't work. What to do?

    • 0 replies
    • 1.5k views
  39. Hello, I am new here so I want to start to asking about something that still can not make. Sorry if this question is not for this section of the forum. I can easy add music or sound to 1 or more pages but each time I click in a different page the music start again, so my question is How to add sound to all pages using dreamweaver cc or cs6?. I mean like a background sound that is always the same in all the site. Thanks in advance.

  40. Hi all, we have an Intranet, and whenever i update the index page, when it is viewed on a computer, in order to see the changes they need to refresh the page, is there any way i can make it so each time they visit there is no cahed version so it refreshes each time basically. I have tried adding: <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> to the head, but it doesnt seem to be working, any ideas? Thanks!

  41. Hi, I was wondering if anyone could help me. I've got a wordpress site. I'm looking to add several company logos to the homepage. About 12. Ideally 3 across and 4 rows. They will be smallish box jpegs or gifs that once clicked, will open up a new window to the site. I want these to appear randomly within the rows so that advertisers get equal time at the top as they do at the bottom. Promonews.tv is a site that seem to do it. Even though there's go down the page and I want mine to go across. This seems to me to be something that isn't that difficult or should be out there, but I don't seem to be able to find a script, plugin or anything for it. All the advertisi…

  42. Hi everyone, I have recently joined the forum to see if anyone here can help with my questions relating to a project that I am working on. Has anyone visited the www.milliondollarhomepage.com before? Well my idea evolves round this. Unfortunately i cannot give out too much information about my idea, however, I am looking to see if my 'problem' below can be solved before I continue with this. Basically, when the user logs on to the webpage what they see is a basic blue/green map structure (no country/city/place names), so very basic. Then I would like the user to zoom in (like google maps API - Zooming using the mouse scroller) and as they zoom in, the map…

    • 0 replies
    • 1.4k views
  43. Started by Backes,

    Hey, I found this CSS code on a webpage background:url(img/body_bg.jpg) no-repeat scroll center 35px rgb(247, 252, 255); When I now want to write this in CSS2, I have this: background-image:url(img/body_bg.jpg); background-repeat:no-repeat; background-attachment:scroll; background-position:center; background-color:#FFF; But I can't figure out, what the "35px" means in the CSS3 code. Without this value, the background image starts in the middle of the image. //edit: The "35px" are used like this: background-position:center 35px;

    • 1 reply
    • 862 views
  44. Goodevening everyone, I need some help with this website. The popups works in Safari, Firefox and IE 10. But doesn't works in IE 9 and 8. It's a dutch website. The page of the popup's is: "Ovo Biedt" . Thanks! greetings Judith

    • 3 replies
    • 1.1k views
  45. I just bought the social traffic pop and tried to install it to my website. This worked at first as you can see here: http://freegamehacks.nu/moviestarplanet/index2.html However now I tried to implement it to my new website it wouldn't work... This is my new link: http://freegamehacks.nu/moviestarplanet/1.html Anyone knows why? Thanks a lot.

    • 2 replies
    • 891 views
  46. Hi there, I was working with some website designers and I figure out that plenty of them are still positioning with tables, perhaps it works but it is too much confusing for who does it or who read's it... I used to use floats, left, right and both or positioning absolute, but I realized another way to do and perhaps it is a well-known technique but I want to share here for who doesn't know, and I'll give an example.. Just align using the css property "display: block-inline", that property just turns a block element to inline, now the example... <div style="width:120px; height:200px; background-color:#f00"> This is a block div </div> <div style="width:12…

    • 1 reply
    • 4.2k views
  47. Started by DMR123,

    Hi, I am trying to embed a section of a webpage, I have used this code: <object data=http://www.web-source.net width="600" height="400"> <embed src=http://www.web-source.net width="600" height="400"> </embed> Error: Embedded data could not be displayed. </object> Which works, but how can I change the positioning of the embed. Lets say I want to embed the footer, how would that be done? Can I change the position of the embed? Thanks

  48. Started by Neil@creative,

    Hi, I'm having a few issues with a website I've created using the Dreamweaver Fluid grid layout. In Firefox and Chrome its fine for me, but in IE and Safari its showing the mobile version of the site. I assume it must be something I have done to the CSS. Could someone please take a look and let me know what I have done wrong. Thank you! www.contractflooringjournal.co.uk

  49. Started by Elvedin,

    Hello When i open my page all of those toggle should be CLOSED , after i click on button then it should be opened and the text should be shown. Right now its already shown and when i press the button it will hide it, so how to make it first to bi hiden and after click on button to be shown. Here are the codes i am using now : <div id="webstranica"> <div class="toggle" onclick="toggle(this)"><a href="#index" >- Šta je to web stranica?</a></div> <p class="toggle1">HELLO</p> <script type="text/javascript"> function toggle (t) { if (t.childNodes[0].innerHTML == "+ Šta je to web stranica?") { t.childNodes[0].innerH…

  50. Started by mrludable,

    Hi all, Can anyone help me on this issue? What I am trying to achieve is, rotate a div with an image inside (but not rotate the image - have the image stay positioned horizontally). Here is a link to a test page - LINK What I have at the moment is the div rotating and the image rotating in the opposite direction (but I'm not liking that too much - as stated above, I would prefer to have the image stay positioned horzontally). I know the choice of image isn't the best since it's round, but it was the first image I came across... Cheers, Al.

    • 6 replies
    • 890 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.