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
-
hellow.It is very interesting. A heart that's full Css even use a picture yet. watch this demo.. Put it under <head>. @-webkit-keyframes menuanimation { 0% {} 100% {-webkit-transform: scale(1.1);} } @-moz-keyframes menuanimation { 0% {} 100% {-moz-transform: scale(1.1);} } <!–powerd by:http://www.shek.ir–> @-o-keyframes menuanimation { from {} to {-o-transform: scale(1,1);} } @-ms-keyframes menuanimation { 0% {} 100% {-ms-transform: scale(1,1);} } @keyframes menuanimation { 0% {} 100% {-moz-transform: scale(1.1);} } #heart { -webkit-animation: menuanimation 0.5s linear infinite 0s; -moz-animation: menuanimation 0.5s linear infinite 0s; -o-animation: men…
-
- 3 replies
- 1.3k views
-
-
Hello all Is it possible to place text/images/body content over a background image? I'd like to use the same background image on each page and place the necessary content for my site over it. I had a good look online but only found old tutorials on using tables! I recall thats a big no no now?! Many thanks Webtatsic.
- 2 replies
- 878 views
-
Hello Can anyone tell me what the issue is the "*all rights reserved" should be next to the submit button but for some reason its at the top i have validated my work and nothing comes up thanks also on internet explorer and firefox the form should have text in but for some reason it doesnt, it shows on google.
- 6 replies
- 889 views
-
Hello Guys, I am doing a slider for an eBay template but I have a problem. eBay gives me this error: I have not made the Javascript and I don't know how to code it so my question is, does anyone know how to fix the code so eBay accepts it? This is the code (The replace( function is near the beginning.): eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('x 4={1M:{1N:"1O 1P…
-
- 0 replies
- 883 views
-
-
Hello, im making some buttons using canvas and JS, but i'd like to make rounded corners and a white circle on the left of my button (next to text), but i kind couldnt figure it out how to do it... so i'd like to ask for some help Here is what i got: button in html: <a href="#"> <canvas onmouseover="drawCanvas2()" onmouseout="drawCanvas1()" width="170" height="50" id="gradientCanvas"> Your browser does not support HTML5 Canvas. </canvas> </a> JS code: function drawCanvas1() { var gradientCanvas = document.getElementById('gradientCanvas'); var context = gradientCanvas.getContext('2d'); var myGradient = context.c…
-
- 0 replies
- 1k views
-
-
hi all, I am new to web design as i am still studying css. though i have studied margins in the past and was comfortable with them. but recently i got into positioning.. I am beginning to get confused with the top,bottom stuffs was d difference between margins and positioning in css? when am i suppose to use margins web links and other will be much appreciated.. tanks,,,,
-
- 0 replies
- 854 views
-
-
its my website what im making in html and css, slideshow was make with "flash slideshow maker professional" this screenshot is taken in google chrome but in firefox i can not see the menu and facebook button below, i tryed to uze z-index but it didnt helped please help me. thank you!
-
- 2 replies
- 881 views
-
-
I'm quite new to web design and this is my first website http://www.harveygallery.co.uk/ I've used a full width header with centered content, however, the page is going on continously and I cannot figure out what I've done wrong! Any advice would be very welcome Thanks!
-
- 1 reply
- 864 views
-
-
hi guys, I would like to define onclick event in the following manner : * when any where in the page but a specific element is clicked, then onclick event will be triggered. I have a menu ,and I want it to be closed when user click on any where else in the page. how should I define such thing ? tnx
-
- 2 replies
- 983 views
-
-
Hi, can you help me? I Want to make a someting like this: http://walkabout.andover.edu/ Is this made with Javascript/Jquery? Can someone tell me where can i get some information to make it? Thank You João Frederico Branco
-
- 1 reply
- 1.5k views
-
-
Hello, I am new one to this forum, can any one let me know how to implement this type of map in my website. Thanks in advance. www.distancesfrom.com www.distancesbetween.com
-
- 0 replies
- 888 views
-
-
Hello All, Thanks for all your help. Bashing away at this responsive code and encountering a problem: Bit of the text and the News Bar / Aside jump up into and around the USP boxes (blue boxes in the middle of the page Acoustic Floating Floors and Noise Control Boxes). This only occurs when you are increasing the browser size from about 300px wide to 480px (or there abouts). And then its ok again (with the blue boxes next to each other) and when you increase it again the text beneath starts getting up in amongst it all. (I know that there is errors above that screen size too, will sort them once this is sorted, hopefully it will be a similar fix for it all!) To V…
-
- 2 replies
- 878 views
-
-
Hello, been trying to tidy up my URL's. I have never used htaccess so need some help. My hosting is with godaddy and according to them htaccess is enabled. So, i created a text file called ".htaccess" and then upload to my server. The contents of my file were just: RewriteBase /\ RewriteEngine on\ RewriteRule ^moreinfo/([^/]*)$ moreinfo.php?title=$1&more=$2 [QSA,L] Basicly, here is my current URL: http://www.damnthatsgenius.com/moreinfo.php?title=Time+Telling+Watch&more=More+Info And i want it to be e.g. http://www.damnthatsgenius.com/moreinfo/Time-Telling-Watch This however gives me a 500 error across my site. …
-
- 5 replies
- 892 views
-
-
Hi All, I'm struggling through the code for a responsive website. Getting there with most of it, but having an issue with the underline of the Title text next to the logo. When I reduce the browser size down the bottom border of the Title suddenly jumps up in size and runs through the logo and beyond. I've been trawling through the code but cannot find a reason for this. Its very frustrating. I'm actually having issues right through this website with stuff appearing ontop of other stuff and jumping around in weird ways... Still battling with the main content window (as you can see!) Thanks guys! Rich http://www.mason-uk.co.uk/responsive/html5boilerplate.htm…
- 4 replies
- 4.2k views
-
Hi all, I've got a problem, I want a couple of images under each other who are clickable. If you go over the image they need to change. If I take one image it works, but if I take a couple of image's they are clickable but they don't change the image's.. -- Here are my scrips if i use one image(What does work): HTML: <div class="frisdrank"></div> <a href="[url="http://google.nl/"]http://google.nl/[/url]" onmouseover='thinkwithsatish.src="Images/Frisdrank1.gif" ' onmouseout='thinkwithsatish.src="Images/Frisdrank.gif" '><center><img src="Images/Frisdrank.gif" NAME="thinkwithsatish"/></center></a> </div> …
-
- 6 replies
- 1.2k views
-
-
When i put the euro sign into my script i get this � how can i fix this?
-
- 7 replies
- 1.1k views
-
-
Hi All I need to host an mp3 player on either a Wordpress site or an html site. The minimum requirement is that the player needs to allow people to download a higher spec version of the track upon pressing a button. Ideally I would like it to also have an optional Donate button (to allow people to donate via Paypal if they wish) Is anyone familiar with a player that has this functionality? All advice very much appreciated Thanks C
-
- 0 replies
- 1.1k views
-
-
Hello! I went through many tutorials and exemples about parallax effect but I didn't find anything that is easy to understand. So, if you have some tip or links to follow, please tell me. Any suggestion is welcomed! Thank you very much!
-
- 1 reply
- 1.4k views
-
-
- nav
- jumps up
- clear
- clear float
-
Tagged with:
Working on a responsive site at the moment, and I'm battling with my nav bar. My Nav bar jumps up next to my logo on the smaller resolutions (less than about 780px), but it needs to go underneath it! I've been bashing away at this all morning and cannot see why this is occurring. Is there an easy way to tell a div to appear underneath of the one before that I am missing here? http://www.mason-uk.co.uk/responsive/html5boilerplate.html
-
- 1 reply
- 877 views
-
Hi All, Working on this responsive site, and was wondering what you guys felt that the minimum mobile phone screen res width I should design for was? I went on http://sender11.typepad.com/sender11/2008/04/mobile-screen-s.html It shows that the current most used size is 240 x 320 Although there are some older phones that have 128 x 128 and even 101x 80 - which just seems ridiculously small to design for. I know that the idea of good responsive design is that it functions on everything, but getting down that low just seems painful!
-
- 4 replies
- 1.6k views
-
-
Hi, I am new in web development. I have write a code for tree listing in JS with collapse function. But its not working properly. Is there any one can tell how I can do this?
-
- 0 replies
- 1.1k views
-
-
Hello friends, I was just following this tutorial here and tried to put this code in a simple html @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { body { background: red; } } and when i resized my browser in opera the background color dint change to red any ideas? why its not wrking? or i am missing something?
-
- 1 reply
- 851 views
-
-
Hi, I've made this site for my brother. propertynetestateagents.co.uk But the search boxes appear a bit funny in Chrome. They are suppose to be round, but they have little corner bits poking out. Can anyone help me get rid of those. Thank you
-
- 6 replies
- 1.1k views
-
-
Hello Friends, I need your help. I have a website where articles are submitted. On the read_article.php page, i retrieve my data from the mysql DB like this. <?php $id = $_GET[id]; $get = mysql_query('SELECT * FROM articles WHERE id='$id''); $rows = mysql_fetch_array($get);{ $id = $rows[id]; $topic = $rows[topic]; $body = $rows[body]; } ?> I did my Previous and next button like this <a href='read_article.php?id=<?php echo $id--; ?>'>Previous Article</a> <a href='read_article.php?id=<?php echo $id++; ?>'>Next Article</a> if the current Article $id is 5, Clicking on Next Articles will show Articles whose $…
-
- 2 replies
- 916 views
-
-
Good afternoon.... Me again... with this website. Good news is, im working on the portfolio for those of you who requested more photos last time i posted on the forum bad news is, I cant give you more photos right now... WHY???? here is why http://www.jayharrisofficial.com/portfolio.php I will create a second album but when you click on any album it displays all photos from all albums, Any advice would be great Cheers
-
- 0 replies
- 1.2k views
-
-
Hello website experts and thank you in advance for any assistance that you can provide to a complete novice. A couple of years ago I completed a website design course and then went on to create a site for my wife’s business. Plain and simple, no fancy templates, just raw HTML. The site has served my wife well and she now has a nice established business. I know it could definitely use some cosmetic improvements (and there are still tables on one page) but for now it just works fine! I’m working through a SEO document and have become semi obsessed with getting zero errors on the W3C validation tool. First things first, here’s the site: www.kindermusikwithnadine.c…
- 2 replies
- 879 views
-
Afternoon, So as someof you may know, ive been working on this site for a while and all of a sudden, when i load the page the left menu "login" underlaps the main men the full width footer generates loads of white space issues underneath, however if i press f5 a few times it seams to work? any suggestions on this jayharrisofficial.com thanks in advance
-
- 11 replies
- 1.4k views
-
-
Hi Guys, Thanks to those of you who have helped me in the past. Been away in Peru for 3 months and just got back. My client needs their existing website to resize. Unfortunately it isn't a very flexible design, and I need to put together a proposal. The other unfortunate is that I don't know much about this subject. I was hoping that I could pick your brains regarding the different ways of doing this. Do you know much about Responsive Web Design or assigning different CSS stylesheets depending upon the users browser size? Or possibly another option? I need to know about the different options available to me. Been out the loop a bit on this subject... Been look…
- 29 replies
- 3.3k views
-
How would I have the value of one text <input> tag value = another text <input> value on the same page? EDIT: If possible, I also need to have a separate input = 5% of another javascript variable. Thanks
-
- 1 reply
- 873 views
-
-
Hi there... I'm currently using wordpress to create a website and haven't had many issues using CSS to get the designs I wanted set into place. The problem i'm having is that I can't seem to remove the rollover effect from tables placed within my content. It's somehow related to the same effect used when rolling over the drop down menu. I'v made a test page with a table if you guys would like to have a look: http://www.underground-revolutions.com/test-page Many thanks - Shutts
- 6 replies
- 1.5k views
-
Hello Guys, I am having a problem with the w3c validation.. It tells me that it is unable to validate.. Error message ------------------------------------------------------------------------------------------------------------------------ The following notes and warnings highlight missing or conflicting information which caused the validator to perform some guesswork prior to validation, or other things affecting the output below. If the guess or fallback is incorrect, it could make validation results entirely incoherent. It is highly recommended to check these potential issues, and, if necessary, fix them and re-validate the document. No Charac…
-
- 4 replies
- 924 views
-
-
Hi. I need to know how you do button rollovers using html5 and css3. Here's an example: *link removed* please help, thanks.
-
- 2 replies
- 1.4k views
-
-
Hi folks, just wondering if any of the javascript wiz kids have a code for replacing one div of text with another when their corresponding links are clicked? Thanks if you can help!
- 15 replies
- 21.4k views
-
Hey is there a way to reload a div using jquery to show updated content like from a data base, without having to load the content from another page like $("#div").load("test.php").fadeOut(1).FadeIn(1); cause i dont wanna load the content from a seperate page like the above example thanks in advance
-
- 2 replies
- 19.7k views
-
-
Hello friends, I have an online store where customers can make order and submit and get delivered at their doorstep. Also customers can purchase items offline at the store. Each offline sale is entered into the localhost mysql DB. At the end of the each day's sales, every offline sales can just be uploaded to the online mysql DB with a click of a button. Pls ow do I write this script. Thanks
-
- 3 replies
- 881 views
-
-
Hello everyone. I am new to web design and coding and also this site. Okay so the issue Im having is on dream weaver. I want to create a layout very similar to this site : http://thereem.com/index.php The problem is my logo is stuck on the left and I cant move it around by dragging. So I used a div tag on html and tried to move on css, Nothing happens. Here is the html code: <div id="header"><img src="images/logo1.jpg" alt="logo" width="452" height="77" align="absmiddle" /> <div id="logo"> <h1> <a href="#">Fighters World Wide</a> </div> </div> and here is the css which I placed u…
-
- 3 replies
- 922 views
-
-
I'm creating my own them in wordpress and making a side bar on the right the website. As the side bar isnt going where I want it to be I wanted to check on fire bug. But I found that the code has a line through it. Anyidea why? #sidebar { float: right; width: 300px; }
-
- 3 replies
- 893 views
-
-
Hi guys, I create a html page and put an input component on this page whose type is text. I set the readonly property for the component because I want to display date and time in this component so user can not change it. My question is how can I diplay date and time in this component so that its value keep on changing as the time change.
-
- 1 reply
- 844 views
-
-
Hi guys, Trying to make a loans repayment calculator for work Got a HTML 5 slider at the moment but it doesn't work on any other browswer except chrome http://drewphp.zymichost.com/calc4.html Also doesn't display what value you are "on" Ideally I'd like a slider input like the Wonga or Comparethemarket ones http://www.comparethemarket.com/loans/ https://www.wonga.com/ Is the technical term -"slider"? can anyone point out the code they're using? have looked at the.js on wonga but can't see Thank you in advance p.s. I don't work for a payday loans company (or a bank)
-
- 0 replies
- 5.9k views
-
-
Hello friends, I have an online store where customers can make order and submit and get delivered at their doorstep. Also customers can purchase items offline at the store. Each offline sale is entered into the localhost mysql DB. At the end of the each day's sales, every offline sales can just be uploaded to the online mysql DB with a click of a button. Pls ow do I write this script. Thanks
-
- 0 replies
- 853 views
-
-
Hello friends, I have an online store where customers can make order and submit and get delivered at their doorstep. Also customers can purchase items offline at the store. Each offline sale is entered into the localhost mysql DB. At the end of the each day's sales, every offline sales can just be uploaded to the online mysql DB with a click of a button. Pls ow do I write this script. Thanks
-
- 0 replies
- 878 views
-
-
Friends, Did you all have a blast this New Year? If not, then it’s not over yet! Web Design Company Lexolution IT Services is offering a variety of exciting discounts on its newly launched services of PSD to XHTML Conversion. Yes friends, you can get upto 35 percent off on PSD to XHTML conversion services. Here are some more details for your convenience: 20% Off on every PSD sliced to XHTML 25% Off on up-to 5 PSDs 30% Off on up-to 10 PSDs 35% Off on more than 10 PSDs Isn’t it interesting friends? However, you all need to make the decision quickly as the offers expire on 20th Jan 2013 Cheers Maneet Puri
-
- 2 replies
- 1k views
-
-
Hi everyone, I was wondering what is the best way to implement the title and alt on a linking image. An img-tag can have both the title and alt attributes, an a-tag can only have the title attribute. When linking an image what is the best way to implement the title-attribute? Should I put it on both the img and a-tag or just one of the two?
-
- 0 replies
- 854 views
-
-
hi everyone working on my portfolio site, have my portfolio page designed and laid out the way i want the only problem i have is i have one piece of work floated to the left and another piece floated to the right but underneath which can be seen at www.davidcolligan.com/portfolio2.html . which looks fine, but i have a margin-bottom on the top portfolio piece but once i add more content to the top one it just overlaps the second peice of work, what is the best way to remove the margin-bottom and have it not overlap but just keep going on without interfering with the next portfolio piece any help would be great thanks collie
- 9 replies
- 1.4k views
-
I've been font-end developing for about 5 years now, and I'm starting to get into using more responsive layouts. I've touched on using media queries so as the browser window gets smaller, the layout shifts. This is, of course, using a fluid layout. Take a look at the follow CSS code: @media all and (max-width:480px) { @import url('mobile.css'); } @media all and (max-width:720px) { @import url('ipad.css'); } @media all and (max-width:1020px) { @import url('desktop.css'); } The file names and dimensions are arbitrary. My question, up for discussion, is whether or not something like this is a good idea, efficient, useful, etc. The CSS files would almost a…
-
- 8 replies
- 3k views
-
-
This could be hard to explain but I'll give it a shot. in games you have a score/points, when you earn some points it will update your points like you would expect but some games do like an animation of some sort, so let's say your on 100 points and you gain 250 then you final value you would be 350 (wow am great at maths) but instead of going something like 100 to 350 in a flash it will go maybe something like 100, 154, 548, 687, 981, 342, but always end up at 350 (points that it would add up too 100 + 250) in a animation ad like to know if this can be done in jquery that's if you know what i mean by now probably not but still? The link below is kind of what am …
- 12 replies
- 4.6k views
-
Morning all. This seems like a farely simple issue but its giving me a headache so hopefully one of you guys/girls can help. I have used a twitter widget. from twitter on my clients website but all it displays is "tweets by jay harris" no actual feed. www.build.teqqnet.com/social.php can anyone advise on why this might be? Cheers
- 15 replies
- 1.8k views
-
please help me resolve these issues. the banner looks pushed down in chrome. and now the first slide in the banner in firefox and opera is pushed up, and reversely pushed down in ie9. please help!!! thank you in advance. moreaboutme.org
- 5 replies
- 1k views
-
Hello all, I am attempting to fully validate my first xhtml document. Can anyone tell me, when I am using the recommended DOCTYPE tag: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Why the validator is only Tentatively validating the document, while saying the following: The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">" has been suppressed and the DOCTYPE for "XHTML 1.0 Strict" inserted instead, but even if no errors …
-
- 2 replies
- 3.6k views
-
-
Hello all, Website noobie here. I've dabbled with basic CSS and HTML in the past but really getting myself into a bit of web design for some friends and family. Anyway, have a question I'm hoping someone can help me with and I apologise if this is in the wrong forum topic. I'm designing a webpage for a photo competition where entries are displayed in a gallery style webpage. The images are going to be uploaded to the site by the competition judges on a monthly basis. I'm using lightbox2 (unless anyone has a better suggestion) to display the images in a given folder (i.e. Jan, Feb, March . . .) and figured out what I need to do to get that working. I was wonder…
-
- 1 reply
- 875 views
-