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 friends. I want to learn css and last version of css but i dont have too much knowledge. So please tell me how i can learn it.
- 5 replies
- 897 views
-
As you may see from the following image: http://shrani.si/f/47/NX/CSI3Y2A/indexw.jpg I need to create simple intro HTML page with full screen background. That wouldn't be so hard if it could only be compatible with one resolution, but I really can't get it to be really responsive. On top of that, this page should be IE8+ compatible so I can't just use any CSS rules. There are basically 3 type of elements here: - background (blue lines) with dimensions 1920 x 1080, but I can adjust that in Photoshop since I have sources, - logo (which should always be positioned on top of blue lines as it is on sample image, but as of now I just merged logo on top of background…
-
- 1 reply
- 896 views
-
-
Hello. I am currently trying out a new few things whilst making my website but I have run into a problem I am hoping someone could assist me with. I have a website at www.abc.com which is the main domain but I want to be able to make it redirect to www.abc.com/xyz if they come from http://www.facebook.com. So in other words my website is www.abc.com which is the domain for public users but if they come from Facebook I want it to redirect to a folder on my website which is customised for Facebook if that makes sense. I have tried using HTACCESS but can't get it to work. This is what I have tried, I am still learning so code may be wrong: RewriteEngine…
-
- 12 replies
- 1.8k views
-
-
I've created a footer div for my website, but I can't seem to get it to stay at the bottom of the page. I want it so that the div is always at the bottom of the page even when there's not much content on the page, and if there's a lot of content on the page, the footer should move down the page with the content (so it's always at the bottom). Here's the CSS I've created for the footer div: #footer { position: absolute; bottom: 0; width: 100%; height: 40px; background-image: url(images/footerbackground.fw.png); } Here's the HTML I've created to display the footer: <div id="footer"><a href="contactus.html">Contact us</a> | <a href="copyrig…
-
- 2 replies
- 1.1k views
-
-
I'm literally brand new to jQuery and have been playing around, so far good. Until now, I have a fade in div which contains a form and it fades out when clicked anywhere else on the page, this includes the actual forms, so i can't fill the form out before it fades out. My question is how do i fix it so that my form will let me fill in the fields, but will fade out when clicked any where else on the page. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title></title> <link rel="stylesheet" href="style.css"> <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text…
- 2 replies
- 883 views
-
Hello Guys, Ran into a problem, I've been given some templates to design however i'm struggling with the slider they want below are some image are where am upto i was wondering if you guys could point me in the right direction? I need the arrows at the top to push you to the next slide whilst reading the correct number. And same for the thumbnails at the bottom currently the thumbnails link to the slides so thats not a problem, But its getting the arrows to show the next set of slides. Design File: Attached Slider am using: http://responsiveslides.com/ What i have: http://microsites.realbuzz.com/microsites/cole_classic/gallery.html Any help will be gr…
-
- 1 reply
- 862 views
-
-
Hi everyone first time posting here. Ok i am making a website where when the user first comes in they will get a welcome alert, they wil then write their age and then they will write their name. Now i figured out how to do all that stuff i mentioned above but what i havent figured out is how i can only get those stuff above to show ONLY once in a whole session so the user wont be annoyed everytime they go back to the homepage. Please help me
- 8 replies
- 893 views
-
Having some major problems with a website and IE8 & IE9. You can view the website here: http://perpetualgiving.co.nz/home.html It looks like the .container CSS is not working. I am using IE Tester 5.2 to see the problems. Can anyone see what the problem is and how I could possibly fix it. Thanks
-
- 0 replies
- 1.7k views
-
-
Hi guys, I have been trying all day to install the stratus 2 soundcloud player on a website for a friend, following the instructions on the stratus beta website just doesn't seem to work - nothing comes up on my page. Unfortunately I can't yet post a link to my page (which would make troubleshooting easier) but I was wondering if anybody else has experienced problems with installing this particular player. Many thanks in advance if anyone can help with knowledge of this player/the soundcloud api. Ross
- 15 replies
- 6k views
-
Dear, I've got a problem which I can't seem to solve myself. I'm working with a 'contact'-footer that slides open when clicked. It works as I expect it to. BUT...when I visit the website for the first time, the sliding part is open and closes when it has been completely loaded ( I guess that's the problem). That shouldn't be happening. I would like the 'contact'-footer to be closed the first time you visit the website as well. Website = www.liberant.be Is there anyone who can help me solve this problem? Thank you very much in advance. Best regards, Dennis
-
- 4 replies
- 892 views
-
-
Has anyone experimented or tried parsley.js for form validation? I'm working on a form and seem to can't get the validation to work as the user enters the information, and I was wondering if anyone knew about this?? CasperGemini
-
- 0 replies
- 1.1k views
-
-
I know "responsive" are all the rage and for good reason but for now I need to settle for a desktop site and a mobile version of the site. For the time being I am using a redirect based on resolution - however the newest android phones are still around 5" and yet their resolution has outstretched previous standards. And so I would like to look into a simple redirect script that allows a mobile phone user to be redirected but not a tablet user. I would prefer the scrpt not be so lengthly and complicated as to define every single device available. Does such a script exist? Please advise. Thank you for your time.
- 9 replies
- 2.5k views
-
I'm struggling to grasp the concept of functions. For a start I'm stuggling to understand the definition of the term. From the tutorials and my JS book the word "function" is a keyword. Here is a defintion from a tutorial: A function is a block of statements that can be used repeatedly in a program. A function will not execute immediately when a page loads. A function will be executed by a call to the function. ============================================== From these defintions a "function" could be just about anything in the world of computer programming. It's sound very general and vague. Let me put the defintion in my own words "code you have writte…
- 4 replies
- 878 views
-
Hi, I'll apologize in advance for being a total rookie. I am trying to replace two areas of my site with images and I'm not sure what would be the best process without screwing everything up. My site, www.peachlamps.com, has two images/code filled with text (Why Buy From Us?/Get To Know Us) that I want to remove and replace with graphics of the exact same size to make it look cleaner. I know how to link/display images, but I'm not sure how get them to show up on the site in the right spot w/ the correct amount of spacing/padding. Any help would be greatly appreciated. Thanks in advance
-
- 1 reply
- 879 views
-
-
Hey guys, so I have a website I am building using bootstrap (its a game server hosting company) www.nexus-node.com and I tried to add this jquery navigation bar: http://codecanyon.net/item/kabude-jquery-animated-mega-menu/5683001 and the stupid css files for this are messing up and or conflicting possibly with my main style.css or even bootstrap.css I have no clue, but anyways, if someone could help me I will offer a big reward please and thank you! Do not hesitate to add me on Skype: live:econicraft Thank you guys all so much appreciate any help possible, thanks!
-
- 10 replies
- 1.5k views
-
-
- html5 video
- html5
- video
- .mp4
-
Tagged with:
I have a 3rd party player that uses the HTML5 video tag. However to ensure compatibility across browsers, I need to include the video in .mp4, .ogv and .webm formats. Because of the high file sizes, I'd prefer to host these files elsewhere and link to them from the code in order to maximise streaming and to minimise/prevent any bandwidth issues. Everywhere I read says to host video files externally and link to them. PLEASE don't suggest YouTube or Vimeo - neither support linking to all three extensions. Vimeo PRO supports direct linking, but only .mp4, not .ogv and .webm. Can anyone recommend any websites where I can host these video files, but then also link to t…
-
- 2 replies
- 8k views
-
Hi all, I've been tearing my hair out trying to fix this seemingly basic CSS issue. The footer area of my clients Wordpress website here: http://hrbims.com/ is not behaving as I would like it to. I am using a child theme with the twentythirteen theme as the parent. Basically there is 3 widgets in the footer which I want to be full-width, however whenever I increase the widget width using the following CSS the widgets stack vertically instead of staying horizontal: .sidebar .site-footer .widget { width: 275px; //anything 250px or above causes the stacking } The widget area container is 900px and there is no padding around the widgets so there should be ple…
- 7 replies
- 1.2k views
-
Hi, Anyone got any dialog box codes that allows it to be used a multiple of times but different text in each?
-
- 8 replies
- 901 views
-
-
I've found a fix for this.
- 2 replies
- 882 views
-
Hello all I have been trying to get this to work for hours but cant get it to work no matter what I change or do. Please someone put me out of my misery, it should be working on the search bar but nothing is happening? http://goo.gl/SNG4CX The extra code is : <?php include('inc/dbconnect.inc.php'); $result = mysql_query("SELECT * FROM `Supplement` WHERE `supplement_name` LIKE '%{$_GET['term']}%'"); $mainarray=array(); //create array while($row=mysql_fetch_array($result)) { $rowarray=array("label" => $row['supplement_name'], "id" => $row['supplement_id']); //add a row to array giving a label and id value array_push($mainarray, $row…
-
- 0 replies
- 1.5k views
-
-
Want to create delay in javascript for loop like sleep or wait function note:- setTimeout() not working for(var start = 1; start < 10; start++) { //wait for some minute }
-
- 0 replies
- 1k views
-
-
I'm currently using this code to keep a container in the center of the browser window when the user scrolls. My issue is that the user needs to scroll to instigate this. So is the anyway of this happening onclick (Currently the users clicks, then wont see the container until they scroll) $(window).scroll(function() { $('#content').stop().animate({ "marginTop": ($(window).scrollTop() - 30) + "px" }, 400); });
-
- 2 replies
- 884 views
-
-
-
Hi there, I'm designing a website that is selling cars, I'm using the fancybox plug in which when you click on the image of the car a larger image pops up. What i'm looking to do is when this image pops up, either the caption (probably the easiest way) or an area to the side that displays information to the right. Sort of in this layout: ___________________ | | | | | | | | | | | | ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ The car image being to the left with the caption or block of text to the right. I'm open to using any other lightbox sort of script …
- 7 replies
- 1.1k views
-
Hello, Is it possible to pass through a values from an array which will be then ouputted on another html page? I am making a movie website for college and what I am doing is that I have all my movie images in one array, title in another, content is another. But there all numbered the same for example: var movie = new Array(); movie[0] = 'Thor 2 image'; var title = new Array(); title[0] = 'Thor 2'; var content= new Array(); content[0] = 'This is thor, what an EPIC film!!!'; I like thor okay! its a good film haha all thee values are stored globally on an external javascript file called lang.js what I am trying to o now is if i click the th…
- 5 replies
- 1.6k views
-
Hi, I'm after a jQuery plugin (or pure js) that will let me easily create a menu on my site that acts like the Chrome address bar on mobile devices. It's also the same way that it works on this website. Basically, it sits at the top of the page but slides up when you scroll down. If you scroll up, it slides back down in to view. My jQuery is okay and I've written something that works but is a little bit buggy so I'm looking for a quick-fix for the short term. Does anyone know of a plugin that gives me this functionality? Thanks for any help!
-
- 1 reply
- 874 views
-
-
I'm looking for some sort of JavaScript that can basically do anything like a greetings card. You have the front page then click to turn over to see inside then click again shows the back. Anyone know where I can get a template that does that?
-
- 4 replies
- 889 views
-
-
Hello Webdesignerforum Team, I Need a Contact Us Form for my Online Radio Website From Where My Listner Can Send Message to My RJ's N They Recive Thier Message on Mobile Like tht When Listner Message on Contact form then RJ's recive msg on their Mobile n i have 5 to 6 rj on multiple time i want to set timing on contact us form tht this time msg have to go on this RJ number, Plz Help n i m ready to pay for this if any1 want money to do it, thnks
-
- 2 replies
- 975 views
-
-
-
I have a concern, the section#about and the section#contact will be auto-collapsed, the section#contact will expand when triggered though a menu. Should I be placing section#contact within the header tag or make it a footer tag ? <header> <header#top> <section#middle></section> <section#about></section> <section#contact></section> </header>
-
- 6 replies
- 1.2k views
-
-
I come across a problem when i want to use border right and bottom on same element. Problem is that border right is not full height. Here are screenshots CSS .btn { padding: 40px 40px 30px 40px; margin: 0; text-decoration: none; text-align: center; color: #fff; cursor: pointer; background:#34495e; border-bottom:10px solid #000; border-right:1px solid #fff; } .btn:hover{ border-bottom:10px solid #fff; transition-property:border-bottom .3s linear 0s; -moz-transition:border-bottom .3s linear 0s; -webkit-transition:border-bottom .3s linear 0s; -o-transition:border-bottom .3s linear 0s; } .button-group-navigation { disp…
- 9 replies
- 1.4k views
-
Hello all. I am having problems trying to get font awesome icons to display properly on my site. They show up fine in IE and Chrome, but in Firefox the only thing that appears is a rectangle where the image should be. I have included all the css and fonts, but they don't seem to show up in Firefox. You can view what I have done so far here. Any help with this would be gratefully appreicated. Thank you.
-
- 7 replies
- 1.3k views
-
-
I'm building a site that doesn't require support for ie8 from it as the traffic is fairly insignificant but I thought it would be nice to at least have the content be visible. I also wanted a way to test my svg fallbacks as I don't have an android or anything else that doesn't support svg format. So I've been using a pc that has ie10 installed and I've used the ie dev tools to mimic ie8 by selecting browser mode ie8 normes ie8. However... The page won't even finish loading. Here is the page in question :http://plug-inn.kirstencassidy.com/ Does anyone have an idea of why this is?
- 9 replies
- 1.4k views
-
Hello all. I am currently working on a site and I am having problems in getting the ancor tag to work correctly. I have set up the nav and what I want to happen is when a link is clicked the page will jump to the header of that section. I have it working correctly on the About Me section, but the other section that I have been working on called Services does not seem to work. The page jumps to the Services section, but not to the header called "Things I Can Do". It jumps passed the header. You can view what I have done so far here. Can anyone help with how to get the page to jump to the correct header? Thanks.
-
- 2 replies
- 4k views
-
-
I try to set transition on span element and i could't set it to the right place. <span> elements always displays on the left and bottom of ul but not in the center. If anyone knows how i can solve this please, let me know. I want to set img in span instead of img in p on hover. <ul id="thumbs"> <li><a href="/"><p><img src="images/prihojaja.png" alt="Прихожая">Прихожая</p><span><img src="images/biblioteka.png" alt="Библиотеки"></span></a></li> <li><a href="/"><img src="images/gostinaja1.png" alt="Гостиная"><p>Гостиная</p></a></li> <li><…
-
- 0 replies
- 1.5k views
-
-
I am working on setting up a calendar to calendar updating programme and wonder who can help? On our accommodation website we set up holiday rental properties, which includes a tab with a calendar in full view, which currently we manually keep up to date by checking the master calendar - the master calendar is on either the owners or the property management companies website. So, whilst our calendars are all the same the link required would be to many different types of calendars albeit as the website grows many of the same type of calendars would appear. In the case of a large supplier it may be that we would have 50+ properties linking to the same type of calend…
-
- 0 replies
- 4.6k views
-
-
Is there a way that I will be able to make my page scroll to a certain div? I have done some jquery but it only works on desktop. //scroll functions $('#about-button,#contact_link').click(function(){ $('html, body').animate({scrollTop:2150}, 2000); }); $('#banner-button').click(function(){ $('html, body').animate({scrollTop:1600}, 2000); }); $('#work,#work_link').click(function(){ $('html, body').animate({scrollTop:1600}, 2000); }); $('#home').click(function(){ $('html, body').animate({scrollTop:0}, 2000); }); $('#profile').click(function(){ $('html, body').animate({scrollTop:380}, 2000); …
-
- 2 replies
- 883 views
-
-
On the name of animation, flash automatically pops up in the mind, but flash is no longer required to create web-based animation. There are many stunning examples of CSS3 animation. Here, I have come up with the hover effects on the icons. These icon effects can easily be used by just copy paste in the project. http://realityonweb.com/cascading-style-sheet-css/css3-animation-hover-effects-on-icons/
-
- 0 replies
- 1.9k views
-
-
I got an problem on header part of my website where the black/gray navigation menu is , there are 3 options , "Create account" , "Change password" and "Music player icon" . Well when i switch the page from news to features , the header black/gray navigations blinks for a second. its not happening in Mozzila firefox , but its happening in google chrome.So i didnt connect the links on website , only from news page when u go to features it works by clicking on features in menu , but when u want to go back u should use back button on your browser. I would be really thankfull if some1 could help me to figure it out and fix it. Here is the website link so u can see the prob…
-
- 4 replies
- 907 views
-
-
I've been experimenting with the 960 grid system and I've been using a Dreamweaver extension. I've also look at some websites that have used the 960.css grid. After a little while of using it I'm starting to think it's outdate because it seems like a really odd way of doing things. I've compared sites using the 960.css grid system and ones that haven't and it seems 960.css just creates a lot of code that can be avoided. It seems to create a lot of mess and makes it more difficult to edit. On the other hand sites that don't use it, the code is more streamlined and it uses div id's. This seems a much better way of doing things because the site is more fragmented and making …
-
- 5 replies
- 2.5k views
-
-
Hi I´m trying to figure out why some of the links in this page http://atacgaming.com/modules/forum/ (in the forum table) isen't hovering. I have gone through the css code a millon time, but can not figure out where the error may be. If you look at the link "Other Games" it hovers perfectly, but most other links does not. This is the forum table css code: .forumcat table { width: 100%; border-width: 1px; border-color: black; border-top-style: solid; } .forumcat td { padding: 5px 5px 5px 5px; } .forumcat .categoryHeader { color: #529330; font-weight: bold; } .forumcat .categoryHeader2 { } .forumcat .categoryForum { …
-
- 4 replies
- 1.2k views
-
-
Been stuck on this problem for a while - seems easy in principle but I have limited javascript knowledge (maybe PHP is the answer?). The problem is this: I have a list of links, and a separate div. I need to be able to load different html content to the separate div depending on which link I click. For example I click link 1, and content1.html loads in the target div. Then If I click link2, content2.html loads in target div in place of content1.html. Any help would be greatly appreciated! Thanks Ross
-
- 1 reply
- 890 views
-
-
Hello I am trying to create a horizontal navation bar via htm/css. I can do it fine without any problems however the problem arises when trying to change the gap between the text. For example if I have links such as Home Buy About etc I want to be able to change (widen or narrown) the gap between the text. I've been trying to work it out for a few hours and I'm not getting very far. I only want to do it using html or css. Any help would be much appreciated. Here is the basic code I am working with for testing purposes: <!DOCTYPE html> <html> <head> <style> ul { list-style-type:none; margin:0; padding:0; } li { display:inline; } </st…
-
- 1 reply
- 852 views
-
-
I'm new to web developing and I was wandering if there were any good design software out there to use. I use Dreamweaver but I only use it a little and it's more of a development tool rather than a design tool. What I'm looking for is a WYSIWYG software that can be used as a protoype while in the design/creative phase of the website.But I'm looking for a software that will also create the CSS code too. Once I have the prototype I will create the code by hand. The idea is to give me as much flexibilty as I can get. I have used Fireworks but it saves everything as a png file and it doesn't create any code. I'm not sure if what I'm asking for exisits but if you know …
-
- 3 replies
- 1.6k views
-
-
$(document).bind("scroll.myScroll", function () { var scrollTop = $(document).scrollTop(); masthead = $(".mast-head").outerHeight(); notef = $(".note-f").outerHeight(); frontcontainheight = $(".center").outerHeight(); //derivative variable abpos = (frontcontainheight / 2.1); sidebarwidth = $(".sidebarholder").width(); dataheight = $(".data-top").outerHeight(true); controlwidth = $(".loop-contain").outerWidth(); innerwidth = $(".front-contain").outerWidth(); //get side-contain width dynamically //derivative variable sidecon = (controlwidth - innerwidth); elem = $(".center"); paddingTopBottom = elem.inn…
-
- 1 reply
- 1.2k views
-
-
Hello! I have trouble with very simple question ( i thought so), But i spend a few hours and can't solve this. I have code and float don't working for right column. I will be very pleased if anyone can point me to the right direction. <div id="big-content"> <div class="left-col"> <ul class="banners-bottom"> <li><img src="images/1.gif" alt=""></li> <li><img src="images/2.gif" alt=""></li> <li><img src="images/3.gif" alt=""></li> <li><img src="images/4.gif" alt=""></li> </ul> …
- 9 replies
- 1.3k views
-
Hey Guys, I'm trying to change the colour of an image (add an overlay) on hover, but i can't get it working for the life of me. Anyone who can give me an answer, I'll pay $10 to your PayPal account. .imageBox img:hover Basically I want some text to appear on hover in one colour, say black, but I want the picture to change colour (say white) when hovered. So the picture turns white with black text on hover.
- 6 replies
- 1.2k views
-
Hi, over the last month I have been working hard learning how to code html/css so that I can create my own e-commerce website. Please could you give me any feedback, good or bad, on what you think needs to be done to improve it. www.projector-screen-material.co.uk Many Thanks Ben
- 7 replies
- 1.5k views
-
Hey guys, If you take a look at my website, and click any of the links in the menu, you will notice that the website smoothly scrolls to the relevant section. If you scroll back to the top, you will see a blue box in my header with two buttons, one to the contact page, one to request a call back. The one that goes to the contact page does not scroll smoothly, it jumps right to the page. I asked the developer who I bought the theme from how I can make that one button scroll smoothly to the contact page, and his response was "You’d have to tie those buttons into the smooth scroll javascript which is called in /style/js/scripts.js" I have no idea how to do what…
- 2 replies
- 1.8k views
-
Hey guys, I am having a go at styling a form.... I honestly hate forms but going for it anyway. I am having issues styling the submit button by itself as it is taking on the generic input style. The layout goes as follows (I have stripped it down to the basic bits I am talking about):- <div id="two-column"> Main form elements here <div id="contact-button" class="fourcol last"><input type="submit" value="Send" class="wpcf7-form-control wpcf7-submit pink-button" /></div> </div> So when this loads it brings up the generic input styling of:- input {padding: 9px; border: solid 1px #E5E5E5; outline: 0; background: #FFFF…
-
- 4 replies
- 907 views
-