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 am learning about web development. This website http://www.beautifulbeanbags.co.uk has quite an impressive feature. Click 'add the cart' on any product, & the image zooms across the page to the shopping cart. Is this done with Jquery? Thank-you.
- 2 replies
- 909 views
-
I am trying to use a basic css drop down menu as it would allow me to add pages to my site easily and expand it in the future with no real problems. I found a nice script but some of the things I can't get quite placed how I want them. I am trying to move the slider right up against the nav bar, I am sure I put a massive padding bottom on something when I was playing around with it. The nav menu doesn't overlap the slider, would using stack overflows be away around this. I am also trying to move the social network buttons in line with the nav bar. The links don't center despite me using margin 0x auto; through out the nav links When I move onto subcategories the m…
- 5 replies
- 906 views
-
Hi, I hope someone can help. I'm using drupal and a web developer has got the following code for 3 field columns: .field-group-3-columns>div, .field-group-3-columns>fieldset { float: left; width: 32%; margin-right: 1%; } .field-group-3-columns>div:last-child, .field-group-3-columns>fieldset:last-child { margin-right: 0; } .field-group-3-columns>div input, .field-group-3-columns>fieldset input { width: 90%; } When I add a field in the 1st column's field group, it moves accross into it's own column. Could it be to do with the length of this field, as it's longer than the others? What do I need to adjust to fix this, without reducing the s…
-
- 5 replies
- 890 views
-
-
I am trying to use a basic css drop down menu as it would allow me to add pages to my site easily and expand it in the future with no real problems. I found a nice script but some of the things I can't get quite placed how I want them. I am trying to move the slider right up against the nav bar, I am sure I put a massive padding bottom on something when I was playing around with it. The nav menu doesn't overlap the slider, would using stack overflows be away around this. I am also trying to move the social network buttons in line with the nav bar. The links don't center despite me using margin 0x auto; through out the nav links When I move onto subcatego…
-
- 2 replies
- 880 views
-
-
I am looking to add similar plugins to this website on the homepage similar to this one. I found a great little one for twitter but I am looking to get a fb one that is exactly the same as the one on this homepage but couldn't find one. I was also wondering if there is one for blogspot too but am not sure if there is or if you can create it via an iframe, I had a look but couldn't find one. An example of what I am trying to achieve is on this homepage: http://www.kimlyons.com/
-
- 6 replies
- 895 views
-
-
Hey I recently implemented a twitter plugin that I found on my personal trainers website. I really like the plugin, it seems to load fast and work well. I found that the fb like box for some reason added a lot of load time onto my page so decided against implementing it and I can integrate both via the twitter plugin anyhow. The only problem is it has of courses been styled using css and I couldn't find the necessary coding to style the widget. It is quite a large site and well beyond my level of expertise. I was wondering if anyone knew how I could style it. Also it has affected the divs on my homepage too. The website I took the widget from was http://ww…
-
- 1 reply
- 868 views
-
-
Hey, so basicly Im trying to implement this Toolbar Jquery plugin I found.... http://paulkinzett.github.io/toolbar/ It works perfectly! except for one thing... I am currently running this loop to display all the users active the past 10 minutes (bottom) and i want the toolbar to work for every div with the ID user... Not just the first one it finds in the script.. I use use $(this) anywhere.. because it doesnt use a click(){} function.. (usually id assign to the #user then display a toolbar under $(this) but i cannot do that here) while($row = $result->fetch_array(MYSQLI_ASSOC)){ echo "<div id='user' …
- 3 replies
- 1.1k views
-
Hey I recently implemented a twitter plugin that I found on my personal trainers website. I really like the plugin, it seems to load fast and work well. I found that the fb like box for some reason added a lot of load time onto my page so decided against implementing it and I can integrate both via the twitter plugin anyhow. The only problem is it has of courses been styled using css and I couldn't find the necessary coding to style the widget. It is quite a large site and well beyond my level of expertise. I was wondering if anyone knew how I could style it. Also it has affected the divs on my homepage too. The website I took the widget from was http://ww…
-
- 1 reply
- 857 views
-
-
Hello, I am using Flexslider, and am trying to load a different set of images for desktop and mobile (blame the designer!!). It almost works, however when navigating between slides (after resizing your browser window), the slides just seem to go off to the far left never to be seen again. I have created a test page here. When you go to the page you should see the desktop banner (with 2 navigation buttons in bottom left of browser window. If you now resize your browser to below around 600px, you should see the aspect of the images change to a more square version. This is when the mobile images are loaded in place of the desktop ones. However if you now try and …
-
- 2 replies
- 3.2k views
-
-
Okay, this is a real newbie question and, believe me, I have delayed in posting since I am not, in most cases, such a novice but... I am finally trying to get my head around Javascript. The basic concept is easy and follows all programming languages I am already aware of and yet I cannot get a basic div to work. In fact no matter what I do I cannot get anything to work. This is really bugging me but I believe once the obvious has been stated I can then move on to more complex things. The HTML is basic: <!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="css/styling.css" /> <meta http-equiv="Co…
- 4 replies
- 887 views
-
Hey guys. I'm new in Javascript so I need help. I am creating a live game map from an online game. The Data(coordinates,userid, etc.) is exported as json. My problem ist now to create a map, where everything is visualised. I have a the map in image files: {X}x{Y}x{Z}. {X} and {Y} are the coordinates and {Z} is the zoom level.(.jpg files). I want later, that the data is imported with Ajax, but to solve this problem, I first need a map^^. The map should be composed like the image you can see here. in PHP the visualisation is like the code below. Hey guys. I'm new in Javascript so I need help. I am creating a live game map from an online game. The Data(coordinates,user…
-
- 0 replies
- 951 views
-
-
-
Hello, I am having a slight issue with aligning my bootstrap navbar. I have attached an image of how it currently looks however I am wanting to get the sub-nav above the main navbar aligned on the right. This is the code I am currently using. <!-- NAVIGATION BAR --> <!-- Part 1 --> <header> <div id="top"> <div class="container"> <div id="subbar" class="pull-right"> <ul class="nav-list"> <li class=""> <a href="#">About Us</a> </li> <li class="splitter"></li> <li class=""> <a href="#">Conta…
-
- 0 replies
- 5.6k views
-
-
I just started to learn HTML and don't learn CSS yet. (I will learn CSS soon.) I want to change the color of the title(Name, Math, Science, Languages) in a table like the attached file. How can I change the color of the character into white color? The source I wrote is as the follows. ------ <table border="0" cellpadding="8"> <caption><font size="6">The Average Score</font></caption> <thead bgcolor="#FE9A2E"> <tr><th>Name</th><th>Math</th><th>Science</th><th>History</tr> </thead> <tbody align="right" bgcolor="#F6E3CE"> <tr><th>Taro</t…
- 3 replies
- 890 views
-
Afternoon people, Just trying to create a simple line to seperate a heading from a paragraph, just to space things out a bit. Something like the neon green lines on this site http://neon-velo.com/#overview I have a feeling it could be a value of a Border property, but have not yet found it. Any ideas guys? Thanks.
- 12 replies
- 6.5k views
-
Hiya, Can someone tell me how to get a div to sit right at the top of the page 100 width with no gaps. I have changed paddings and margins to 0 and this hasn't done anything. Thanks :-)
-
- 4 replies
- 909 views
-
-
Hi Everyone.. I'm not sure whether or not this is possible. but when you zoom in using View, zoom on the browser , the whole website increases size.. is there any way to make that its default and permanent so basically just make the entire website bigger, but so that every visitor sees it like that? Thanks Martin
- 5 replies
- 894 views
-
Hey guys, It's been a while since I posted a question, mainly because everything was going fine the website has moved to live, but i'm still working on the swipe handlers. I'm currently using the touchSwipe jquery plugin. Live: http://www.4people.nl <script> $(function() { $("#content").swipe( { swipeStatus:swipe2, allowPageScroll:"horizontal" } ); function swipe2(event, phase, direction, distance) { console.log( phase +" you have swiped " + distance + "px in direction:" + direction ); } }); …
-
- 1 reply
- 971 views
-
-
hello on www.davidcook.me/project its not bringing through the background image and the topbar image, any ideas
- 11 replies
- 1.2k views
-
Hi guys, I've been searching the web all morning and I haven't found a solution for what I want to achieve. I'm pretty new to css/javascript and maybe it's a simple solution, but we all gotto start right at the bottom, right? I hopped onto jsfiddle and made a simple page. When I click on "First Link" I want the first div class (.one) to change background-color to #ccc. Then when I click on "Second Link" I want the div class (.two) to change to #ccc while reverting .one BACK to it's original #fff. Please look here>>>> I'm not allowed to post links! GRRR I need help >>> JSFIDDLE DOT NET /nwANU <<< Any help would be g…
- 10 replies
- 15.8k views
-
Hi, I'm with a problem in a site I'm developing for a client, which is not centralizing in IE 8 and 9 - althought it works well in Chrome and Firefox. It stays at the left at the screen. The site is at: http://184.172.154.184/~caio/clientes/gerardi/ I recently made another site, which works fine in IE 8 and 9, and also in Chrome and Firefox: http://www.marciopi.com.br I looked all the code to see what I did wrong, but I couldn't find it, even copying and pasting the "body {" and "#wrapper" css code of one into other. Thank you for any advice, Caio.
-
- 2 replies
- 890 views
-
-
My 1 year is coming up with my girlfriend, and I wanted to do something very special for her. She love pictures, and especially pictures of us that have good memories. So as part of the gift, I bought a domain, and when time comes hosting, and I would like to do something like this: The background of the website will be a wooden table, on the table are photos with a semi-thick white border around them (almost like polaroids). I want to be able to drag the pictures around the table (with momentum effects ex. its slides a little before stopping when moved), on top of each other, but with a border of course so they wont go off the screen. Also, when the image is clicked I wo…
-
- 0 replies
- 953 views
-
-
I am looking to collapse the jquery accordion menus on the how can i help and useful tips pages. When the page loads the menus are already open, I am not sure why or how to make sure they are collapsed when the page loads? The link is http://www.cherrietestingwebsite.org/tips.html http://www.cherrietestingwebsite.org/help.html
-
- 5 replies
- 876 views
-
-
Creating a site in Lithuanian. How do I get all there letters with symbols on the page. Do I HAVE to use HTML entity codes for all thee letters or is there a quicker way?
-
- 2 replies
- 876 views
-
-
For some reason the images on the how can I help and useful tips page overlap the next heading down and for some reason, the menus appear fully open as opposed to collapsed when the page loads. How do I get around this? Thanks. The website is www.cherrietestingwebsite.org
-
- 0 replies
- 999 views
-
-
For some reason the images on the how can I help and useful tips page overlap the next heading down and for some reason, the menus appear fully open as opposed to collapsed when the page loads. How do I get around this? Thanks. The website is www.cherrietestingwebsite.org
-
- 0 replies
- 972 views
-
-
I'm absolutely useless with JavaScript, but I need this table to work with it. I'm trying to create a table that will populate a row of cells based upon a selection from a drop down menu. The drop down menu sits at the top of the third and final column in my table and should populate the cells directly below it. Each selection from the drop down menu has to populate 23 cells. Finally the page is written in HTML5 with an external CSS3 stylesheet and it will have an external JavaScript file to make the whole thing work. If anyone can tell me how to do it, even if it's just the basic workings of the code, it would be appreciated. Here is the code for the table: <fo…
-
- 1 reply
- 899 views
-
-
Hi, I've downloaded a JQuery flip card thing from Codecaynon but I'm having a problem. When I click on the card it opens a new window. Is it obvious to anyone how I need to change the code below to open a URL in the same window: <script type="text/javascript" charset="utf-8"> $(window).load(function() { $('.cardflip').cardflip({hover:true,adj:5,url:"01.html"}); }); </script> How its working at the moment: wellards.co.uk/courses/MSLA/0.html Thank you
-
- 0 replies
- 1.3k views
-
-
Hi - I'm displaying an external website in an iframe. The links in the external website, which I have no control over, use the "_parent" target which opens the link location in a new window. I would like to force the links to open within the iframe. Is it possible to force this using javascript? Thanks
-
- 4 replies
- 2.5k views
-
-
Hey guys, I'm working on a new project and the base is a vertical scrolling website and i'm going to use parallax alot but i don't know that much of it yet so for now i would like to know how i can have a fixed menubar at the top but only when you aren't on the index page. So I don't want a fixed navigation bar on the top page (index part) but only when the user scrolls to the following pages ( scrolling down to 'about us' ... ) Can someone help me pls?
-
- 1 reply
- 1.1k views
-
-
Hi guys, i've made a start designing my first site using HTML and CSS. Its a slow but steady progression. I asked a friend about getting the site online, who has set up a Wordpress account for me. First impressions are that you don't have much control over the general layout, and its not the easiest of programs to use. What are the general thoughts? Should I persevere or stay clear? I should mention that my plan is to build a portfolio of sites, and hopefully over time make something of it i.e. career change, so I need to make sure I keep in the right direction. Thanks for your help.
- 8 replies
- 1.4k views
-
Im trying to get this javascript tool tip to work but I can't work out why its not. Any one see where I'm going wrong? <!DOCTYPE html> <html lang="lt"> <head> <title>Land Plots</title> <meta charset="utf-8"> <link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="css/flexslider.css"> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="js/jquery.flexslider.js"></script> <script> $(document).ready(function() { $.ajax({ type: "GET", url: "home.php?nocache="+Math.random(), cache: false, dataType: "html", success: function(data) { …
-
- 3 replies
- 1.6k views
-
-
Hey guys, just a quick question If I'm looking to learn how to code (eventually I would like to learn more about php so I can create my own forums and stuff like that) which resources would you recommend? I have seen a lot of people talk about code(dot)org but when I went on there briefly it seemed really basic. Do you guys recommend this site or would you recommend a different one?
- 4 replies
- 903 views
-
Hi there guys, I'm wanting to use something called "ProfoundGrid" as a base for a site I'm making. (I would post a link but I'm very limited without more than 25 posts) At the moment I'm using Ruby and Compass (Windows), but I'm having a little difficulty understanding how the files link up and what not. You can see the file structure for the PrfoundGrid I'm interested in at Github. The main grid file is called "_grid(DOT)scss", which I'm pretty sure it used to control the grid system. Say I wanted to decrease the gutter width ($gutter_width) of the grid, how would I go about doing that? I've tested a few tutorials and understand about using the "--watch" command to sy…
- 6 replies
- 3.1k views
-
Aaargh! I've spend days trying to get control of how my posts appear when I paste a link into my FB status. I've learned about og meta tags, and put a link rel image_src as well as og:image. I can display the image I want, but it's too large. I've read that og images have to be at least 180x180, so I've chosen 200x200. FB shrinks this to 156x156, but I'd like it smaller - say 90x90. Anyone know how to do this? Please? Webdesign is a RABBIT HOLE!
-
- 4 replies
- 1.3k views
-
-
I've been reading a little about using SASS for CSS production. It seems like a great way to write your code with the ability to declare variables and so forth. Is anybody here using it, and what software are they using to write this in / compile it with. I'm on a PC by the way. Also what are your thoughts on this as I don't see it being mentioned an awful lot!
- 13 replies
- 1.6k views
-
http://www.chrisparishaines.co.uk/articles.html If anyone can visit the page and view the source as the footer is doing my head in I really need it sorted! Please help me!
-
- 4 replies
- 880 views
-
-
I am trying to remove a big white space at the bottom of the featured products etc. I am using woocommerce and cannot for the life of me find the css to change. Can anyone else see what I am missing, extra eyes and all that ;-) http://antiquesilveronline.co.uk/ There's too much CSS to post here, I have been using the developer tools in firefox
-
- 6 replies
- 1.3k views
-
-
Hello. I am using the tinynav plugin on my site to display my nav in a drop down when the screen is resized to a small size for responsive design. The plugin works great except for one problem. It doesn't appear to display the current page that is selected. I have used the javascript from the site: http://tinynav.viljamis.com/ The code that I have inserted into my site is: <script> $(function () { $("#nav").tinyNav({ active: 'selected' }); }); </script> This does not seem to display the current page when the screen is resized. Has anyone else come across this problem, or know a way to fix it?…
-
Hi Guys, Good day I have a web site: www dot my-portfolio-site dot site88 dot net/ and I want that the website has to be responsive and perfectly function on mobiles and tablets. For your kind information, I know HTML and CSS coding. But I don’t know how to convert the website has to be responsive and perfectly function on mobiles and tablets. So, please see my source code and suggest which code I should write. And where should I place it? No more, I am waiting for your kind response. Thank you.
- 4 replies
- 934 views
-
I have created a table with 7 rows, and 2 columns to display some opening times on my website. I'm trying to set it up so that when someone hovers the mouse over a row, the row changes colour. The problem I'm having is that when I hover my mouse over any of the rows the colour does change, but you can see a line down the middle of the table (where column 1 finishes, and column 2 starts), is there anyway I can stop this happening? This is the CSS I have: .table tr { background-color: #006; color: #FFF; } .table tr:hover { background-color: #06F; color: #FFF; } This is the HTML I have: <table width="250" border="0" class="table"> <tr> …
- 2 replies
- 951 views
-
Hi I am wanting to add a sub menu to one link only when the user hovers over it and I am getting a little confused as to where I need to add code to my HTML and CSS. I have had a look at a few tutorials but these are from scratch and I already have my CSS set up for the navigation, so don't really want to start over. Could someone advise what is required. Please let me know what parts of my HTML and CSS code you require to help and I will post it up. Many thanks in advance Phil
- 24 replies
- 1.9k views
-
Hi I've used style="max-width: 100%; height: auto;" To resize most of the images on my responsive Wordpress site, however the logo image won't seem to resize. I've tried #logo { float:left; margin-bottom:0px; max-width: 100%; height: auto} and under the seperate css codes for smaller resolutons when view on tablet /* -------------------------------------------------------------- :: Note: Design for a width of 480px -------------------------------------------------------------- */ @media only screen and (min-width: 480px) and (max-width: 767px) { /* -------------------------------------------------------------- :: HEADER --------…
-
- 2 replies
- 881 views
-
-
Hey WDF, We're just about to properly expand into mobile design and was looking for some advice. A friend of mine uses Artisteer a lot for some of his low budget jobs, and was showing me the way it automatically "mobilizes" depending on the screen size, which is OK I guess but I don't like the idea too much on it changing just depending on what size the screen is. Can anyone recommend any good articles on detecting and changing the website if it's loaded on a mobile / tablet / computer. So I can build 3 websites in effect which will be different depending on what its loaded on. Thanks! - Nemo
- 2 replies
- 948 views
-
Hi, I've got a problem and I can't figure out how to solve it.. I create website's in HTML, CSS and Javascript but now i started to use Wordpress because i have no knowledge of PHP. I've read that you just need knowledge of HTML to use Wordpress, but everything is in PHP & CSS. So here is my question, Is there a way to convert a full HTML&CSS based website to PHP? Or does anyone has a better solution to make HTML based website's in Wordpress? I never used those "Click & Play" programs and I need to creat a webshop right now, but a decent cart is always in PHP.. That's why i started to use it right now.. Hopefully you guys understand my problem…
-
- 5 replies
- 899 views
-
-
Yo guys , just took a look at a site I've been working on on my iPad and noticed a rubbish display issue with no answers available on the web ( its not the one to do with viewport) http://consortium-staging.eazyti.gr/ Take a look at the titles at the bottom , why choose us ? and what our clients say. View on an iPad 3 preferably and you will see grey lines going through them. Does anybody have any idea how to solve this ? I must make it clear that I have tried disabling cufon and it isn't the cause ! Many thanks in advance Luke
-
- 8 replies
- 884 views
-
-
Yes... I am still at this. in fact I made a restart because I was most likely too busy fixing problems, rather then building the final result. I made a completely new setup which has only 1 scrolling div. And quite frankly, I am still terrible with jquery. I editted the jquery which I used for easing the scrolling on the first go. live: www.thijsch.nl/4people fiddle: http://jsfiddle.net/Tieskevo/TX8ey/ I tried to change the animate from html, body to the new element that has to move, namely the div #scrolling. But apparently that would be too easy. Which is great, because it means I get to spend 2 hours of researching different options, not that it really got me any …
- 6 replies
- 1k views
-
Hey all, Im just wondering what the next step is to building medium/large apps with javascript? Would it be using something like using backbone.js or something similar? The reason I ask is because I wanted to get better at straight forward javascript as I hate seeing jquery solutions for many js issues that people have on the internet. Once you get used to the syntax/methods etc etc Im wondering how you take the core language to the next level?
-
- 3 replies
- 884 views
-
-
Hello guys.. I just recently decided to pursue a career in web developing because I enjoyed much of what I studied on HTML during my college days. However, as time passed by I wasn't able to practice what I've learned because of my recent job as an MIS encoder. Now that I'm going to study again to pursue a bachelor's degree and at the same time employed by a company, I decided to pursue what I really love to do, and that is to develop a website. Now, I'm a bit kinda lost. Where should I start? I mean, how do I develop my skills? What necessary steps do I need to consider in order for me to be on the right track towards becoming a Web Developer? Right now I just fi…
-
- 2 replies
- 1.1k views
-
-
Hi all, I've been trying to make this Batman infographic interactive The pop up Youtube vids work in all browsers (click on batman's vehicles to see) but the pop up 'inline' text boxes don't work in IE when you click the blue 'i' icons next to the vehicles http://drewphp.zymichost.com/fancyapps-fancyBox-0ffc358/demo/batman.html Can anyone help please? Not sure why the text boxes don't work in IE Here's all the fancy box code (despite the universal fancy box files/code) <img src="drew-test-lightbox.jpg" width="720" height="3733" alt="Batman" usemap="#planetmap"> <map name="planetmap"> <area shape="circle" coord…
-
- 1 reply
- 2.3k views
-