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. Hey All, I am using a font for my clients website that is specific to them. I use the below code to load it up in the various formats needed to get it to run over most platforms. But for some strange reason, when I test it in IE 8, as it loads up it jumps back and forth between the correct font and another sans-serif font, before settling on the sans-serif font. This is the code in my CSS: CSS: @font-face { font-family: 'eddmondregular'; src: url('../eddmond-webfont.eot'); src: url('../eddmond-webfont.eot?#iefix') format('embedded-opentype'), url('../eddmond-webfont.woff') format('woff'), url('../eddmond-webfont.ttf') format('truetype')…

  2. Page is live at: http://www.concretestairslondon.co.uk/index.php I've incorporated ShareThis egg into my site. My plan was to have all sharing related stuff in one neat line under a grandparent <div id="social">. My plan was to have the width of the <div id='shareThisEgg' shrinkwrapped. So it automatically resizes to when it's expanded, and shrinks to when it's a standard egg. Then to the right of that I would like my like, and follow buttons: Facebook like button; Subscribe on youtube button; Follow on twitter button; Follow on linked in button; My plan was to put a div on all of these, set width to auto, then float left, then adapt a little pa…

  3. Started by dpuk44,

    I seem to be having some trouble trying to get an image slider to work, whilst using AJAX. I am trying to load different pages dynamically for a property site. A default property is displayed and the user can click a map and elected a different property of their choice. When selected the images(image slider) changes along with the property description. The property description is changing as are the images but the image slider has lost its functionality. Why is this? Property 1 (default on load) <!DOCTYPE html> <html lang="en"> <head> <title>Welcome to Malro Baltic</title> <!-- Changed charset so that W3C know what the hell is going …

    • 5 replies
    • 1.1k views
  4. Started by emac,

    Hi the index page of a site I have is a picture montage. search engines are displaying the home page (first page with actual text on it). Is there a way via HTML that I can redirect anyone that clicks on the home page to the index page - but only of course when they click through from a search engine. What I don't want is the home page to always re direct to the index page any ideas? thanks

  5. Started by sergRamalli,

    for some reason every now and again the pages loads like the photo that should be attached.... if you go to my page at www.nas-systems.net (maybe click refresh cause it happened to you too) you see how it supposed to be someone told me that its just a server issue.. and thats its the server not loading correct every time .. i find that it only happens the first time you open the browsers and then every now and again.. is it a server issue or something else??

  6. Started by CTK501,

    Hi folks, i'm hoping someone can help me out here. Basically i have a Database Count on my site, which is tied into a Search Filter. So on entering the site it Displays 2,700 Vehicles in Stock. It is then tied in to a set of drop downs to change when a Manufacturer is Chosen and then with Model being chosen. What i want to do is style each individual Character to make it look like a nice Digital Counter, unfortunately css doesn't allow individual character styling, and as the Number is generated Dynamically i cannot <span> each individual character, so i am looking for answers ... I stumbled across lettering js which on first impression gave me exactly what…

  7. Started by GregF,

    I'm wanting to use specific fonts for my first site, and make sure everyone sees the same regardless of which browser, operating system etc is used. Is it a straight forward concept? Maybe some coding that converts all text to an image type? Thanks for your help.

  8. Started by setmoa,

    Hi I'm really getting somewhere now with my very 1st hand coded site (with no cheating) i have uploaded the site but am unable to post the link due to me being new. I have therefore attached the files - hope that's ok. The lists in the main parts of my pages (index and services) could do with being a little bigger (as they are a different size to the paragraphs) and also I would like square bullets on them. However I don't want this to effect the other lists on my site and also I have a reset at the top of my css which puts the list styling as none and i'm not sure how this affects things. Some of my pages have more content than others but the height on the …

    • 4 replies
    • 880 views
  9. Started by HighDarren,

    Hello, I have used CSS and HTML to make it so that my paragraph has a scroll bar once it reaches a certain height... It works on the most part, but whenever I have a <table> inside of the paragraph, it doesn't work at all... it messing everything up... It just carrys on down the page and doesn't make a scroll bar appear like it does without the table... Here is my CSS: #BigBottomBox p{ overflow-x: hidden; width: 400px; height:auto; max-height: 330px; margin-left: 50px; line-height: 12px; color: #b6a1a3; font-size: 12px; font-family: "shruti"; line-height: 120%;} Anyone got any ideas?

  10. Started by setmoa,

    Hi Novice here looking for advice, I have both email and normal links on my test page but although I have managed to ensure that they don't have any underline etc the colour of the links is not as expected and I cannot see what I'm doing wrong. the email at the top of the page in #top-r should be colour #006 but for some reason showing as #06F until I hover or click the link. my main navigation two of my links are showing as white (which I want) but two are colour #06F again as point 2 for the navigation in my footer and the email in the footer I'm pretty sure that it's going to be something simple, but I can't see it. Any help would be appreciated - files a…

  11. Started by ramo55,

    Okay, basically what im thinking of doing is making a page where users click on an image, then they are taken to another page where they can enter some text in a field plus some personal info, and this is then sent to my email address. basically this process goes on: 1: users visits the page 2: user clicks on 1 of 3 images 3: the users selection is stored 4: the user is taken to the next page, where he must enter some details such as email and name etc... 5: this info is sent to my email and then the user is taken to a thank you page if anyone can help me with this it would be pretty amazing as im struggling. Thanks.

  12. Started by Neil@creative,

    Hi, I've added this flash flipbook onto this website. However in Internet Explorer, when you click anywhere on the screen apart from the magazine, its making the screen black. Can anyone tell me, how to stop this from happening? http://www.contractflooringjournal.co.uk Thank you

  13. Hello All, Battling IE with my responsive website (as per usual!) This time I'm getting a weird thing happen. I have a block of text which a image sticks into. The text wraps around it on all the pages and all the browsers, except on this page (and only in IE - testing in http://mason-uk.co.uk/service.asp?pid=1#.UWLnL6KsiSo Any ideas why this may be? Thanks so much again for all your help! Rich

    • 0 replies
    • 1.7k views
  14. Started by mrludable,

    Hi all, just wondering if there is a best way to design a responsive navigation. Someone has asked me recently to make their site responsive, haven't talked through it, yet, but there is a dropdown menu, with a 3rd level, dropout. Any ideas on ways to go about this (for mobile devices, tablets etc)? Cheers. Al.

    • 3 replies
    • 896 views
  15. Hello, I've got a simple layout issue with my website that will be a css code fix I think, however I am unsure on what to do. The problem I am having is a page is made up of a main container, which contains a left and right content. The left, contains a product on sale and all relevant information, and the right content is for other information I choose to put up, such as an information menu or related items. The problem I am having is, I have a banner above this content however this doesn't seem to affect the main container. The left content moves down with this banner, however the right content does not. I can fix this with a simple margin-top however on…

    • 18 replies
    • 2.7k views
  16. Started by delboy1875,

    On my site which I have only started building i have implemented a jquery slider on the homepage but i think there is a problem with the divs or something, they totally overlap, not too sure why, it also displays strangely in firefox. Does anyone know why, the site is www.cherrietestingwebsite.org, thanks.

    • 4 replies
    • 892 views
  17. Started by welshhuw,

    I have started using SASS and Compass via the Codekit App on my mac but am having issues when using the compass auto-sprite generator. The images are correct on my local machine, but when uploading to the internet, the image file path is incorrect. I cannot figure out how to fix this. I have quite a few sites on my local machine, which are all set in folders, sub-folders. Any help would be helpful.

    • 0 replies
    • 1k views
  18. Can someone help me figure out how to create the navigation displayed in the header on top of this page? themes[DOT]iki-bir[DOT]com/ikaros/ (Replace [DOT] with ".") If someone could give me some direction to learning how to make these types of navigations, I'd really much appreciate it.

    • 2 replies
    • 1.2k views
  19. Started by deansaddigh,

    Could comeone take a look at my code and just check i have done everything right upto now. As i am a newby and dont know if i am going along the right lines with my css layout. Many thanks Guys html 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> <!--Lightbox image enlarger--> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="js/lightbox.js"></s…

  20. How concerned should one be when validating HTML5? Should we pay strict attention to the online validators http://validator.w3.org/, or expect them to make mistakes? Is HTML5 like CSS3 a work in progress atm in time? I have only entered a navigation bar and I'm already getting 5 errors and one warning. It is highlighting errors as closing tags, but I have entered exactly as w3schools have demonstrated. The page in question is http://www.concretestairslondon.co.uk just incase anyone was curious about HTML5.

  21. Started by GregF,

    The recent tutorial I did on Codecademy explains how to create individual buttons. On my first website design however, i'm wanting to put a bar across the top of the page (or possibly below the site logo), containing several buttons linking to each page of the site. Can anyone tell me the most efficient way to do this? I'm thinking of trying to use a single <div> tag in the html and using CSS for the styling. I just want to avoid cunfusing matters, with it being the same on each page. Any help appreciated.

  22. Hey guys, You might have allready seen what I was working on in the other topic, the liquid side scrolling one page design. Live here: thijsch[dot]nl/4people Now I ran into the problem that it doesn't seem to work properly. If you use the navigation it does what I would call "spacing out". it twitches like i wants to move to the next anchor. but it doesn't actually scroll. I've looked into it but I cannot really find the problem. As far as I know jquery works fine on ipad, and I've checked if I had javascript enabled. Does anyone have any experience with this? or maybe got something I should try? as an extra, since it might be more convenient to just swipe on a…

    • 2 replies
    • 2.4k views
  23. Hey guys! how much would you ask for making a clone of a flash web site only in html/css/js? It has to have administration, multilang and all the content has to dynamically resize with the browser windows (exactly as the flash version). This is the site: sophiequreshi(dot)com Thank you!

    • 1 reply
    • 883 views
  24. Started by jc10k,

    For example, if someone was using their phone to access the website, they could simply tap a button and it allows them to call the business. Is this possible and if so, how is it done?

  25. I have all the pages on my website stored in different folders. All the folders are in a main folder called "website", and there are subfolders inside that folder, below are a few examples of where web pages are stored. website>index.html website>pages>placestostay>citycentre>hotels.html website>pages>thingstodo>citycentre>shopping.html I have found out on other websites about adding the "/" before a file name or path. So to try it out I tried adding a link to the home page on the "hotels.html" page, as shown above. This is the code I put in: <a href="/index.html>Home</a> This doesn't work, but I found out by experimenti…

  26. Started by dpuk44,

    I have a DIV and inside that DIV I have a google map. In Chrome I can get the affect I want to work but I can seem to in IE or Firefox. How would I get it to work in these other browsers? <div style="-webkit-filter: grayscale(1);"> <iframe width="378" height="250" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=S.+Zukausko+str.+2-8+Kaunas,+Lithuania&aq=&sll=53.800651,-4.064941&sspn=7.049238,21.643066&ie=UTF8&hq=&hnear=S.+%C5%BDukausko+gatv%C4%97+2,+Kaunas,+Kauno+miesto+savivaldyb%C4%97+49346,+Lithuania&t=m&ll=54.925712,23.94358…

    • 1 reply
    • 4k views
  27. Started by GregF,

    Hi guys, i'm trying to use an image on my PC as the background. According to a tutorial site the coding should be done in the CSS, which i've tried, but no luck. Here's the CSS coding: body { background-image:url("file name"); } I've also tried typing the full location of the file which is not working either. I can't copy the HTML code here as I think it is beign recognised as a link, which i'm not yet allowed ! Any help much appreciated.

  28. Started by irn3rd,

    Hey all, Say a piece of JS i liked and thought I'd have a play myself and see if i could make it into a jQuery plugin. I used the a boilerplate as a base. /* * Author: Ben Cleverly * Website: http://www.bencleverly.me/#plugins * Description: A plugin to create an auto generated table of contents - inspired by a post on CSS tricks - http://css-tricks.com/automatic-table-of-contents/ * License: http://opensource.org/licenses/MIT */ ;(function ($, window, document, undefined) { var pluginName = "bcToc", defaults = { contentAreaID: 'content', contentLinkClass: 'contentLink', addClassToLink: '' }; function Plugin( elem…

    • 0 replies
    • 1.1k views
  29. I want to get the code checked over, see what you think about the quality of it. page - http://m03.divulgetechnologies.com/beatplexity/?page_id=237&f=295 i would really appreciate anyones expertise here, i want to carry on working with these developers but just want to make sure everything is above board.

  30. Dear Web Designer Forum, I am trying to wrap my head around html forms. I understand most of it but just want to make sure I have all my facts straight. For the form shown below I wanted some clarification on the "name" attribute. If I am correct the name attribute is what will show up in the submitted form that you recieve in email from end user right? For example if I were reading the submitted form shown below in my email it would show the word "fullname" next to value the user put in form right? My other questionis about the radio input type. Does the name attribute show up in email along with the value attribute? Or does the text "UK" show up? <f…

  31. the title allready says it. I am currently working on a liquid design within a one-page horizontal scrolling design. which surprisingly doesnt give that much complications, the is just one thing I can't figure out. Perhaps I should explain what I am working on first. What did I want to achieve? .contentwrapper is supposed to make the positioning of .content and #manhome easier. It should by all means stay inbetween the logo and the line that marks the footer. which is not really a problem, usually, were it not that both have position:fixed because they have to stay throughout the scrolling, and thus they are not quite helping. the bastards.. The problem: upon res…

    • 3 replies
    • 999 views
  32. Started by chris paris-haines,

    Hello I have been doing some research as I am currently researching Resopnsive Web Design and I came across SASS and Compass. I would like to know if anyone has used these in the web designing. If you have what are your views? Is it worth me looking into this and will it make my development run more smoothly? also does anyone know whether you need to install anything onto your web host when you make your site live. I appreciate some advice on this matter as I am intrigued about this subject. Regards Chris

    • 6 replies
    • 938 views
  33. Started by cairns84,

    Hi I am in the process of trying to create an html email for newsletter purposes and I've heard that some email providers only have limited css support in emails is this true? If so what's the best around is there a common of css that providers use?

  34. Started by Crispy,

    Hey guys, Rebuilding this simple site I made in a responsive template (cssgrid) - But my drop downs seem to be hiding? Drops downs on (Our Boats) and (Our Routes). Seems like a height issue as I tried z-index? Any ideas? http://palmercreative.co.uk/chas/ Thanks! Chris

  35. Updated Sorry.

    • 0 replies
    • 1.3k views
  36. Started by hugojolliffe,

    Hi, I'm working on my website (sorry but not allowed to post a link - please google Bucket Warehouse Ltd. and click on 'Spare Parts' link in the upper middle of page. On this page, I have placed the text starting "Bucket Warehouse Ltd. stock & supply spare parts for all major brands..."over the image - however, in doing so, it creates some blank space below and pushes the line of text at the bottom too far down the page. Can anyone see why? How do I stop it? Thanks Hugo

  37. Started by deebo,

    Hi, I am after some help on designing my website. I am creating a template and want to know if it is possible to target a table to open content in...this will mean that i can get flash video etc to open in specified areas of my page without the page having to reload each. I know that you can do it with frames but i am trying to stick to tables. thanks for any help d

    • 2 replies
    • 1.7k views
  38. Started by 4silverstrea,

    I am wondering if Adobe is going to create a standard for the web browsers with respect to CSS, like PDF is to print. Right now, there isn’t a standard so different browsers can’t read certain CSS styles. Does anyone know of any way to get around this?

    • 1 reply
    • 3k views
  39. im trying to use a jquery form validation, and i want the validating text to be arabic. the problem is that when i change that phrase in the .js file, it shows squares instead of arabic letters. this is my js file: $(document).ready(function(){ // Place ID's of all required fields here. required = ["name", "email", "country", "message",]; // If using an ID other than #email or #error then replace it here email = $("#email"); errornotice = $("#error"); // The text to show up within a field when it is incorrect emptyerror = "Please fill out this field."; emailerror = "Please enter a valid e-mail."; so i want to change the last two lines "please fill..." and "please e…

    • 0 replies
    • 1k views
  40. Started by JaCEnt,

    Afternoon all, I hope everyone had a great Easter Weekend! I have been working on our new site using 5grid as the framework. I am looking to incorporate a couple of functions which alter the height of the divs they are in; drop-down navigation menu and a FAQ section, for example. Setting such functions up has gone well, however when it comes to expanding them, the content is hidden behind other divs (e.g. not floating on top). I have tried a variety of float and displays as well as z-index however have been unable to come up with a reason why this is happening. If I move the drop-down menu to a blank HTML page, or give the containing div a defined height or someth…

    • 1 reply
    • 1.6k views
  41. This is good and is how it looks on computers , and this is how it looks on my Iphone . I have attached files for quick ease of access. Two Problems: 1:)
The navigation bar (home, services, portfolio, etc) final button -
contact us is being displaced out of horizontal line. This is the css: #nav-list li a.no-pad {
padding:0;
margin:0;
float:right;
} 2:) The side navigation bar is not being
aligned properly to the right. It seems like it would be good for height
if the 'contact us' was working properly. It just seems that it is not
floating to the right properly. The order of the page
goes, I have the top of the page stored as a ,php file which echoes out
the top of the…

  42. This is the code I have. function LightboxOptions() { this.fileLoadingImage = 'lightbox/loading.gif'; this.fileCloseImage = 'lightbox/close.png'; this.resizeDuration = 700; this.fadeDuration = 500; this.labelImage = "Image"; this.labelOf = "of"; } It's the this.fileLoadingImage and this.fileCloseImage I'm having trouble with. I've downloaded Light Box 2 to display the pictures on my website, and the code above is the JavaScript code it gave me. The problem I'm having is when I view my website in Internet Explorer, on some of the pages the Loading image and Close image don't show up (the functions still work, but the images…

    • 2 replies
    • 1.4k views
  43. Started by Tromez,

    Hello! Iam new to this forum and I know the basics of css & html, & using Dreamweaver CS6 my problem is this #header { background-color:#0080FF; height: 100px; width: 90%; z-index: 1; position: fixed; text-align: center; border: 2px solid black; margin: auto; } In dreamweaver view (Not Live) the Div tag is Centered in Split Screen when I click Live it leans to the far left & isn't centered + when I check in IE9 & Google Chrome it leans to the left? what am I doing wrong?

    • 2 replies
    • 891 views
  44. Im learning HTML and CSS right now, I cant really understand what Dreamweaver does... do you not need to know HTML and CSS to use dreamweaver?

  45. I am using Foundation 3 to create my site and have run into a problem. When looking at the site in IE7, the drop down from the top nav displays behind the Orbit Slider that comes with Foundation 3. It displays correct in other browers, just not IE7. The CSS and JS is what was provided with Foundation 3. Here is the code: <div class="twelve columnsNoPadding ie7MarginLeft5"> <ul class="nav-bar"> <li><a href="index.html" title="Home">Home</a></li> <li class="has-flyout"> <a href="#">About …

    • 1 reply
    • 1.4k views
  46. When using Foundation 3 I have found there to be a clash of javascript whereby the top nav drop down does not display when using the Fancy Box lightbox javascript. I have used the Fancy Box javascript to display images on a Gallery page, but now the navigation drop down does not work on this page. I have attached the fancybox javascript and foundation nav javascript to this post. Fancy box also tells me to add this script to my page: $(document).ready(function() { /* * Simple image gallery. Uses default settings */ $('.fancybox').fancybox(); /* * Different effects */ // Change title type, overlay closing speed $(".fancybox-effec…

  47. Started by CatherineB,

    Hi there I've just joined this forum in the hope that someone can answer a couple of, no doubt, very basic questions, please..... (And big apologies if I'm inadvertently doing this in the wrong place or breaking any rules etc...) I'm in the process of building a site, the bulk of which has been done for me and I'm just putting on the finishing touches and adding content. It's at ebta. co. uk I'm coming up against two problems I can't find a fix to: 1) The text runs right up to the border on the right-hand side. Am I right in saying I need to add a white spacer image to prevent this? I've tried doing so and it doesn't seem to help. Whereabouts in the code do I…

  48. Started by ELITE,

    hi all, i am using cpanels API to create and set up accounts from my website, i am using jquery ajax to post the information and then display the results using jquery html, the problem is everything i try the results div displays the html tags. $.ajax({ url: 'ajax/ajax-setUpDomain.php', type: 'post', data: {domain: domain, username: username, password: password, email: email}, success: function (data) { $("#setUpResults").html(data); } }); any ideas ? thanks

    • 0 replies
    • 1.1k views
  49. On my website I have my images for the site as well as some other images from associated sites. The annoying thing is that some social media software, such as Facebook and LinkedIn pick the wrong image on my page to display alongside the URL. So whenever I post an update on the timeline the associated image is the wrong one. How can I specify which image must be associated with my URL?

    • 1 reply
    • 1.5k views
  50. Started by David Cook,

    Hello I was wondering how you would go about doing something like this. I have an info bar > header > nav bar when you scroll down the page the info bar stays where it is and the nav bar then goes to the bottom on info bar and rest of page goes behind. hope this makes sense.

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.