Frontend
HTML, CSS and JavaScript - Having trouble with CSS? Post your question here. Find solutions & discuss stylesheets, hacks and techniques.
13,911 topics in this forum
-
Hi, I'm just wondering why the following media query works in FF (22.0) and Chrome (28.0.1500.71), but not Safari (6.0.5). In case it's relevant, I'm using the Mac OS X (10.7.5) -- laptop, not mobile. Thanks for your help!!! Also, does anyone know if it works in IE? <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>test</title> <style type="text/css"> body {background-color:#efefef;} h1 {color:black;} @media only screen and (max-width:37.5em) { body {background-color:#000000;} h1 {color:white;} } </style> </head> <body> <h1>Hi.</h1> </body> </html>
-
- 5 replies
- 9.8k views
-
-
Style.css and Index.html are attatched. index.htmlstyle.css The question: How would I move the "Body Content" between the left and right nav and have the left and right nav reach the top? This is just probably a learning curve that I need to get over. Please post here if you know the answer to this. Thanks
- 2 replies
- 880 views
-
I need help putting a scrolling twitter feed on my website like the one on this site http://www.qualitylithoprinters.com/ What style sheets and javascript sheets need to be added to the html from the source code to make it work? Any help would be much appreciated Thanks
-
- 1 reply
- 3.6k views
-
-
Hope this makes sense... Im making a form on my page but the form is going to be longer than the actual 100% of the page. My mark up is so: #testover { position: absolute; width: 1000px; height: auto; background-color:#fff; z-index: 800; margin-left: -500px; left: 50%; top: 0px; margin-top: 70px; display: none; } #overlay { position: absolute; top:0; left:0; bottom:0; right:0; width:100%; z-index:700; height: 100vh; background-color: Black; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); opacity: 0.8; display: none; } <div id="testover"><…
-
- 2 replies
- 1.2k views
-
-
OK, so my problem is that I have a parallax website for a client and they would like a product description to fade-in when they scroll-down the parallax site. The problem I think I have is because the site is effectively one long page, the scripting is getting confused and fading the div in from "opacity:0" when the page is loaded. I have put a long fade-in on the div to understand what is happening and I have also made a rubbish box without proper formatting to test it. I have uploaded a temporary copy of the site (i'm working offline) to show what is happening. http://ethicalincubator.com/parallax/parallax30.07/index_kmd.php#!images Thank you for your help everyone!…
-
- 0 replies
- 4.8k views
-
-
I want 4 pictures changing every 5 seconds at the size of 1027x497. I also want to be able to make them clickable. I'm not really familiar with Javascript. I tried to use tips from others but when I tried to use their tips it didn't work. This is why I need the specific code to do this specific slideshow. Otherwise, I won't be able to do it on my own. Can you please create the code for me? Thank you in advance!
- 3 replies
- 933 views
-
Hey, I'm trying to build an image slider in css3. This works fine in the webkit based browsers (safari and chrome). But it doesn't in IE and FF. According to w3schools, the animation and keyframe properties are supported in IE 10 and FF 16. But when I open my website in IE 10 or FF 22, it doesn't work. The exact same script with the webkit prefixes works fine in Safari or Chrome. Does anyone know what's wrong with my script? #slider { width:669px; height:385px; animation:slider 20s; animation-iteration-count:infinite; -webkit-animation:slider 20s; /* Safari and Chrome */ -webkit-animation-iteration-count:infinite; -moz-animation:slider 20s; /* Firefox */ -moz-ani…
-
- 0 replies
- 3.1k views
-
-
Hi Guys ! I wanna a good hover effect for my website buttons.. could you help me please ?
- 6 replies
- 898 views
-
I am still quite new to all this web design stuff but I do know the basuic stuff to be able to design my own website, Well the bit I need help in is that for some reason my background image is all set up and the codes right for it to be on the background so it scrolls with the page and now I only just seen that it does load it in firefox at all. So please can someone get back to me asap regarding this. Here is the coding I have used:- <img id="background_image" src="F:\Website Design\Computer Reviews Forum/PC-Desktop-1-1152x864.jpg"></img> #background_image{ width:100%; position: fixed; top: 0; left: 0; z-index: -1; }
- 6 replies
- 2.4k views
-
Hi After some great help from Teodora, I've made some progress on the site this week. But now I've gotten over-excited and decided to use buttons for our testimonials page (just to break it up a bit from too much text!) So on the button, I want the name of the customer, then on mouseover I'd like the customer's comment to appear in a lovely stylised tooltip box. Can it be done with the code I'm using? http://www.gene-genie.com/testimonials.html Or if not then how can I get round it? If possible, I'll be very happy.... Thx C
- 8 replies
- 1.3k views
-
Hi, I am looking to add Parallax scrolling to my website but can only find sites where the pages run horizontally/vertically and scroll through all pages to get to the next actioned such as this: http://www.ok-studios.de/home/ I am looking to find a solution/template to work from that functions like this where the pages seem to be stacked in layers and swipe over when another page is actioned: http://www.holler.co.uk Can anyone please help? Is there a specific name for this technique if not Parallax? Many thanks
-
- 3 replies
- 2.2k views
-
-
I know that IE 7/8 won't render round corners. IE7 breaks the .sectionone class box, it is moved\shifted compared to IE 8+ which is in it's correct position.
-
- 2 replies
- 874 views
-
-
Hi there, I have installed a gallery but I cannot get it to display correctly. It's supposed to be a grid like system where all the images sit nicely together but it's acting up and I can't figure out why. It worked on another website so not sure why I am having issues. Could some one please help me? It seems the first few images are fine but then it all goes pear shaped. The url is http://charlyanderson.co.uk/new-website/#welcome Please note this site is in development so looking rubbish at the mo
-
- 2 replies
- 891 views
-
-
Afternoon, Have installed GalleryCMS and all is working fine. But I have no idea how to display the uploaded images in Galleria from a JSON feed? Anybody able to help? Cheers in advance D4T
-
- 0 replies
- 4.4k views
-
-
Hi, as the title says, I am new to html 5, and I have a question about what tag to use in a fairly common situation. I have a list of blog posts, which are basically articles, but they are shortened and once you click on them you get the whole article. When I open the whole post I am going to wrap the content in an article tag, but what should I do with the shortened versions? To be defined as an article they should be able to stand on their own, but since they display only a portion of the article I think that's clearly not the case. So, should I use the section tag on each of those elements or just wrap the whole thing in a section labeled "latest post" …
-
Hello all, I am working towards my degree in IT and Web Design from the University of Phoenix / Axia, and have hit a snag that I cannot figure out.... Let me start by saying that I am fairly new to web page coding, although I do have some past experience with HTML, but am in no way a guru by any stretch. That having been said, I am going to post some code here, and a screenshot in the hopes that I can get some advise here that can help set me straight on this..., My problem, is that even though I believe that I have coded my RSS feed correctly within my XML file, it is not opening a proper RSS feed page for me, and I am sure that it is something that I have missed. He…
-
- 1 reply
- 1.1k views
-
-
Hello, I have a question about the Ajax and I need your help. Now lets assume that I created an ajax function get last updated data from database and the time interval between calls is 1 second for example. the calls should be like this 1- getData(); return 1. 2- getData(); return 2. 3- getData(); return 3. 4- getData(); return 4. 5- getData(); return 5. 6- getData(); return 6. So what happened that sometimes the thread of call #6 run before the call #5 so the updated data will be invalid. So i want to make sure that the calls arrangement is correct so the updated data is always return. I hope my question is clear, Thanks.
-
- 3 replies
- 1.3k views
-
-
I'm developing a website for a Obstacle Run event near my local area that will be allowing a single person or a group of people to register for the race. The race currently has capacity for 500 runners, with 5 waves of 100. For a single registration I would know how to handle it. But when it comes to the group entrants it can be anything from 2 to 5 people per group(maybe more). Would any of you know a suitable way to handle this or provide examples of where it is handled well? I have a feeling I'm going to have to handle this with a few AJAX requests and server side sessions? As a side note, they have to agree to a disclaimer and state any medical con…
-
- 0 replies
- 883 views
-
-
Hi. Coming to the end of creating my new homepage. www.adamsdezineshop.com/test . Somehow though, the scrollbar is ridiculously big. About half of my actual page is nothing but blank. How do I create an end vertically to my website, so that the blank is gone? Thanks, Adam
- 7 replies
- 2.5k views
-
I am looking for a jQuery/HTML5 Slider with a Tabbed Navigation theme. Please see the attached image. Does anyone know where I can simply download one rather than having to code and design it myself.
-
Hello Friends, Tell me How to connect any html program with sql database?
-
- 3 replies
- 1.4k views
-
-
I want to create a pin map showing locations of employees around a particular office. I was using the free version of google maps to do this,quite successfully, but it is limited to a certain number of pins on a page. Can you let me know if there are easy (and non-programming) way to add more? I will need to show approximately 280 pins on the map.
-
- 1 reply
- 881 views
-
-
Hi guys! How are you ? =D I wanna do something for my website could you help me please ? I wanna make my website Multilangual, I mean I wanna make the index of my website as a page that the visitor chose in your langage ( between 3 languages) when he clicks on his language he's gonna enter the website..so how can I do it ?
- 3 replies
- 2.7k views
-
So for the last hours I've been trying to create a CSS border around an image, pretty much like imgur.com does ( http://imgur.com/gallery/cRZb5xm - random image ). I've failed all of the times or didn't get the intented result, Could anyone link me to a decent guide?
- 3 replies
- 880 views
-
I am working on this site and have a couple of errors that I cannot seem to solve. The faults are all on the same page at the present and depend on the browser being used. The link is http://version3.revisionrocks.co.uk/index.php?action=history&topic=1&type=5 In Internet Explorer you cannot click on the SONG images or the HOME button (top right). In Firefox the SAMPLE tracks work but when you close the PLAYER window that comes up the formating gets all messed up. Anyone able to spot where I have gone wrong?
-
- 0 replies
- 873 views
-
-
Hey guys, I've been through many searches in hopes to find a fallback method for using inline SVG CODE. I'm using these vector images has links and therefore they have hover states. All is working well, but of course the evil IE. I've tried options like modernize and SVGeezy, but those seem to be options for using the img tag- in which case I am not doing. I am using the entire SVG code to display it. <svg version="1.1" class="icons icon-cal" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="59px" height="59px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"&…
-
- 0 replies
- 867 views
-
-
Hello, trying to make my tooltips sit perfectly centre underneath my div tags but cant make it work... .tooltip{display:inline;position:relative} .tooltip:hover{text-decoration:none} .tooltip:hover:after{ background:#2ecc71; color:#fff; content:attr(title); display:block; padding: 5px; width: 120px; position:absolute; white-space:nowrap; z-index:98; margin-top: 50px; } Any help?
-
- 2 replies
- 868 views
-
-
How can I cause my video link to open in a seperate window? <a href="personal_information.swf">personal_information.swf</a></p>
-
- 5 replies
- 895 views
-
-
I have a slideshow taken from an old website which seems to be working fine, however when the slideshow rolls over to the second image a white border and a X appears in the left top corner of the slideshow (this is on internet explorer). If you are using Chrome you can see a similar thing happen after the slideshow changes from the first image, however in Chrome a small icon appears in the center of the slideshow (the image you see when an image cannot be found). I have no idea why this is happening as the slideshow works fine! I have tried to troubleshoot the issue and it appears somewhere when it loads each image it is referencing old wordpress content whic…
- 1 reply
- 875 views
-
Hello. I want to get a psd contact form to work, is it possible to do it with Javascript? Cheers. Stuey
-
- 10 replies
- 1.2k views
-
-
Im trying to fit a div over another. the behind div (headerBG) i want to extend the width of the page with a background image and then i want the second div (pageContainer) to start at position 0 auto to the browser. How can I achieve this one? HTML <!DOCTYPE HTML> <html lang="en"> <head> <title>Smart Security | Home Page</title> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="css/style.css"/> <link rel="stylesheet" href="css/nivo-slider.css" type="text/css" media="screen" > <link rel="stylesheet" href="themes/default/default.css" type="text/css" media="screen"> <link href='http://fonts.go…
-
- 3 replies
- 967 views
-
-
Hi guys, How can I float a image to the left with text next to it and have it aligned properly? While using <h2> tag as a title in the text. So far without using divs for each part, the text appears higher than the image. <img src="images/quick-to-join.jpg" style="margin-right:10px; vertical-align:text-top; float:left;" /><h2>Lorem Ipsum...</h2> <p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered <span class="orange">alteration</span> in some form, by injected humour.<br /> <br /> <span class="orange">MORE&…
- 4 replies
- 888 views
-
I have a website that I built using the horizontal scroll tutoria here atl http://gazpo.com/2012/03/horizontal-content-scroll/ but how do i get my 3 divs to adjust height to the amount of content as right now the height remains throughout the 3 divs (home, shop contact). Here is my code. Can this even be possible? <!DOCTYPE html> <html> <head> <title>PW</title> <link rel="stylesheet" type="text/css" href="style/style.css"> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <!-- Include Facebox CSS and script files --> <link rel="stylesheet" type="text/css" href="facebox/fa…
- 15 replies
- 2.6k views
-
I know pretty much zip about CSS/JS and I suspect this is really easy, but I just wonder what the best most flexible ways to do it. How would you create a text box (i'e a box that users can type text into, and that text is held in a variable) which can easily be manipulated on the screen by it's x and y? I come from a games coding background so I used to manipulating things by their .x and .y ! Would this be straight CSS3? or would be better with JQuery? Thanks for any help.
-
- 2 replies
- 3.1k views
-
-
I'm trying to replace the numbered navigation of this slide show with a simple < & > This works perfectly for a build i'm currently working on and i've already heavily integrated it into the site so would rather not have to switch it out. This is the it - http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html My last hope before going back and ripping though my work :/
- 3 replies
- 2k views
-
Hello guys! I have a problem with my website template.. I don't know how to activate the navbar.. I mean when I click on "Home" the button should be active but it's not.. I think I need a script .. Could you help me please ?! <div class="IsmaelHeaderBtm"> <nav> <li><a href="#Home">Home</a></li> <li><a href="#Works">Works</a></li> <li><a href="#Services">Services</a></li> <li><a href="#ContactMe">Contact me</a></li> <li><a href="#AboutMe">About me</a></li> <div class="clr"></div> </nav> </div> …
- 11 replies
- 2.5k views
-
Apologies but I'm not sure where to post this. My client has a couple of IP cameras that he thinks we should be able to view on his website. The cameras are viewable online using a dyndns.org URL but the viewer always has to use a username and password in order to see them (we have log-in details with limited access priviledges so this isn't a massive problem in the grand scheme of things - it just looks naff!). The manual is in VERY pigeon English but there is a section that gives a list of code and the snapshot.cgi sounds perfect - here it is: snapshot.cgi description To obtain the snapshot Permission visitor Synta…
-
- 0 replies
- 1.2k views
-
-
Can anyone help? I'm only just learning javascript and have done pretty well so far but and having problems with a script for a 57 minute countdown. function timerCallback () { var exit = false; timeCounter += 1000; elapsed = Math.floor(timeCounter / 100) / 10; var currQuestion = questionId + 1; if(timeLimit > 0) { // we use the time limit $("#" + prefix + "_quiz_timer").html("<span class='questioncounter'>" + currQuestion + "/" + questions.length + "</span> - " + fmtTime(timeLimit - elapsed)); // make the clock red if last 10 seconds begin if(timeLimit - elapsed < 11) { $("#" + prefix + "_quiz_timer").css("color", "#F00"); …
-
- 2 replies
- 1.2k views
-
-
Hi to all, I'd like to make a new personal portfolio, but I want something awsome! something like http://jiouhe.com/ but i have some question: I find a nice jquery plugin named: scrollpath to make that path effect of navigation, but it's pretty difficult to use and it's based on absolute css classes, this is pretty an obstacle because if you don't have javascript enable the website navigation will be impossible. So do you know another plugin to make the same effect? About the design: it's better to start the layout as a normal single page website and then apply jquery effect to scroll the navigation? or I have to follow another way to design a site like that…
- 10 replies
- 1.3k views
-
Hi I have created a customised cross sell box for my html ebay listing. Im wanting to set it up so the cross sell box takes random listings from one of my specified ebay categories and puts a thumbnail pictures and item details such as price in the cross sell box. I know you there are promotional boxes you can create within ebay but I want to create my own. Any idea how I can do this ? Thanks all Tobie
-
- 0 replies
- 4.1k views
-
-
Hi I am developing the page design of my website and I having difficulty with the positioning of the main content. Despite using margin-top css, I can't move the content down as the slider is covering it. Also, the content also gets hidden by the footer. Any help would be really appreciated. The page is hosted at http://calebkingcott.com/pagerepair.html Thanks, Caleb
- 2 replies
- 3.8k views
-
Is it possible to make a map that shows information when you highlight a state or country but when you click on it opens up a more detailed map of that area? Do you know if any freeware or mapping software that can create maps like that?
- 1 reply
- 878 views
-
I have a few divs which need to have equal heights. I have done that with some jQuery: jQuery(document).ready( function($) { var highestBox = 0; $('.sabai-entity-entities .sabai-entity').each(function(){ if($(this).height() > highestBox){ highestBox = $(this).height(); } }); $('.sabai-entity-entities .sabai-entity').height(highestBox); }); The problem is there is ajax sorting, so my divs lose the equal heights after ajax. I have searched in Google and found I need to trigger the equal heights again after ajax. The problem is I don't know the right way to do it jQuery(document).ajaxSuccess(fu…
- 4 replies
- 3.8k views
-
Hi I have created a html template for my ebay listings. I have some text in the template inside a div tag with delivery and returns information. This information changes frequently so I need a way of changing the text once for all my ebay listings, rather than going into each listing individually and changing the text. Does anyone know the best way to do this ? I thought I could create a template in dreamweaver and use this but i don't think this is possible in ebay. Alternatively is there any way I can use an external styles sheet to change the text in a div tag. Any help is much appreciated. Thanks, Tobie
- 10 replies
- 3.6k views
-
Hellow, I want to make similar animation of http://www.apple.com/ios/ios7/features/ When you open page icons are animate.. Please check it attached image. If any one make one simple demo then it would good OR any reference URL.. I tried but not done perfectly.. Thanks in advance. Hem
-
- 3 replies
- 877 views
-
-
Hello, recently started using the masonry plugin to get that pinterest look from my database results. However some of the items over lap vertically. I cant figure out why... i dont have a live version as the site is hosted locally but im using this as the masonry options: jQuery(document).ready(function($) { $('#blogcontainer').masonry({ itemSelector: '.blogresults', isFitWidth: true, }); }); Anything that you know that might help? edit: Its fine in Firefox but not chrome or safari.
-
- 1 reply
- 868 views
-
-
Hi , I'm new to Javascript and currently reading about managing content using DOM or innerHTML .... I found that DOM is standard but very complicated to use and on otherside is innerHTML which is very easy to use if I'm right it's working in all browser but it is not standard . My question is what do you prefer to use ? or in what cases are you making difference ... ? Thanks for reply
-
- 4 replies
- 890 views
-
-
Hi , anyone knows some 'must read' books or websites how to do responsive design like shown here ? http://designmodo.com/responsive-design-examples/ I mean especially those where decreasing width of your browser menu become simpler /images or description disappears/ ... I think that's bullet-proof responsivity isn't it ? Thanks for advice .
-
- 4 replies
- 852 views
-
-
Hi, I've recently been having trouble with my website. It seems there's problem after problem. Doesn't help that I'm a bit of a noob at web coding, etc. Anywho, I've encountered a problem which is the fact that when i upload more content to my website, the html5 animation that i done a bit up the page disappears and only shows it's grey background and shape. It took awhile to realise why it wasn't there, until i started deleting things it reappeared. Does anyone know why this is? Do I have like a filesize limit or something? Is there a way to carry on adding content without losing the animation. Here is a link to what the animation is supposed to look like…
- 3 replies
- 1.6k views
-
Hello! I need your advice about learning JQuery. What book i should choose for starting learning Jquery? I need book with lots of details, serious book. And another one question. Can i learn Java script and at the same time learning JQuery? Or i need to finish JS first and only after that i should start JQ? Thank you for any advice!
- 17 replies
- 4.5k views