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
-
I am using jquery tooltispster (http://calebjacob.com/tooltipster) plugin to reveal some menu on hover. What I need is on hover the tooltip wants to show and the tooltip should hide on clicking outside the area of the tooltip, that is anywhere in the body. Is it is possible..? http://jsfiddle.net/jm_kumaresh/M4ffx/ - JSfiddle link
-
- 1 reply
- 5.8k views
-
-
Hey im new here, and I just started learning aboute handcoding websites, and in almost all of the tutorials I have done they are using some tool called Emit I think? for expanding shortcodes like this one "h3+p*2+hr.alt+(blockquote>p+cite)+hr.alt" To the giving html <h3></h3> <p></p> <hr class="alt" /> ..... and so on But cant finde any info on how to install it? or how it works & downloade it, if its possible? Please help... it looks allot faster for coding!!! All Regards Dannie Noller
- 3 replies
- 898 views
-
Had this issue before, but cant put the same resolution to work with a different use. I have a fixed sidebar, with a scrollable content box to the right. If you look, you can see once scrolling the content div stops. How can i make it keep going for the whole page? see here: http://www.buildsanctuary.com/test.php EDIT: sorted it by changing the body background colour to what i wanted.
-
- 1 reply
- 873 views
-
-
Hey, i saw this theme: http://themetrust.com/demos/ink/?page_id=274 And want to base my site design on something like it. Not copy, just i like the sidebar so for now was just testing to see if i could get it working responsively. Im trying to centre the testblog div in the centre of the content div by giving it 80% width and a margin of 10%. But the margin-left just seems to add padding to the shape... any help? heres a jsfiddle: http://jsfiddle.net/T2aEh/
-
- 2 replies
- 879 views
-
-
Hi! I'm not really a big expert, so I need help I'm working on a page where the main topic is tourism and seeking accommodation. I have a lot of types of accommodation in different places. I want to make a form in which the chosen type of accommodation and location on the page to display the selected accommodation in chosen city or island. I need a code or any tipe of help! tnx something like this...see picture working in css, html, java, jquery ...
-
- 4 replies
- 1.6k views
-
-
I want the same size and same rules on like 25 divs. Can I simply do Copy and Paste?
- 3 replies
- 888 views
-
Hi all, This problem is killing me. I hope / pray someone can help. Essentially I need to pass a JS variable to a PHP variable without refresh/form submission or redirecting. I'm new to Ajax so please be patient <script> $(function() { var admin = <?php echo json_encode($admin->isAdmin($user['username'])); ?>; var phone=""; if(admin == true){ $.ajax({ url:"http://ipinfo.io", dataType:'jsonp' }) .success(function(response){ $("#address").val(response.country); …
-
- 0 replies
- 1.5k views
-
-
On this site http://nurdit.com/worldoflofts there seems to be an issue with the social Entypo characters. They dont show up on Chrome or Safari but they do fine in IE and Firefox. Any known reasons for this?
-
- 4 replies
- 1.4k views
-
-
I'm using the Flexisel Jquery Carousel (http://9bitstudios.github.io/flexisel/) and I just can't seem to work out how to change the image size? I need a different image size for each carousel, can anyone help? also need to change the padding between the images, again this is driving me crazy! Link to site here
-
- 4 replies
- 7.9k views
-
-
This is the CSS I have for my div tag: #footer { width: 100%; height: 30px; text-align: right; background-image: url(images/footerbackground.fw.png); vertical-align: text-bottom; } But it's still displaying the text at the top of the div tag, rather than at the bottom of the div tag. How can I correct this? Thank you for any help.
- 10 replies
- 8.2k views
-
I need some help, this page renders fine in IE8+. In IE7 it breaks, where it breaks is the div class=sectionthree rounded-cornersc and sectionone rounded-cornersb. It's not so much it breaks, those two divs shift, I tried removing margins, adding margins, I felt like I've tried almost everything.
-
- 13 replies
- 1.6k views
-
-
Hello, i dont think lightbox is what i am after here. Basicly on my site i have lots of bb styles tags. They are in amongst text and i want a way that i can click a button / click the images and you can just flick through them in the style of lightbox etc. I dont need thumbnails or anything like that. Any ideas? so just want to give all images the same class and then they work as a gallery
-
- 6 replies
- 887 views
-
-
Hi all, Is there anyway to create a zoom level between the regular levels in the Google Maps API (eg. 4.5)? Cheers, Al.
-
- 2 replies
- 875 views
-
-
Hey guys, Having a bit of an issue with this site - The mailto link in the footer seems to not work in chrome, safari or firefox but it's fine in IE? Could it be something I've done odd with the css? Thanks, Chris
- 2 replies
- 883 views
-
Hi all, I'm making a basic website for a local pub at no charge. Just helping our village pub with a website. I have some old code that makes a nice picture slideshow in IE9 and below. It doesn't work in IE10 so I wanted to ask here if anyone had a good free slideshow maker that I could use and that would definitely work in IE10? I'm creating the site from scratch but if anyone has any good pub templates they could share I'd also be most interested. Thank you for any help in advance Webtastic
- 4 replies
- 889 views
-
I recently created a new webpage but I'm having problems trying to center it vertically. I'm really new to html and css so I was hoping someone might be able to explain to me in layman terms how to edit my html to either get my page to center vertically or at least how to add a top margin so the page isn't stuck right up against the top of the screen. I tried changing the top margin value from 0 to something else, but it didn't work. Here is my current html: <html> <head> <title>Webpage Home 3</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" leftmargin="0" top…
- 5 replies
- 931 views
-
I have this javascript animation on the homepage, but I want the user to only see it once and then not to see it again for another hour. Is this possible? <script type="text/javascript"> if (screen.width > 640) { var s = document.createElement("script"); s.type = "text/javascript"; s.src = "<?php echo get_template_directory_uri(); ?>/js/identica.ani.js"; $("head").append(s); } </script>
-
- 0 replies
- 1.2k views
-
-
I would like to be up to date and take information about all css updates and new rules from wsc. I know there is lots of good source (i found lots of userful links and tutorials on this forum). But for to be good developer i need not only to read tutorials but know about all new css rules and styles. Where is WSC i can find all information about updates? I found this http://www.w3.org/Style/CSS/ but this page have links only on full draft. I need only read about new style or updates when it appear on WSC, for instance - new rule was appear in media quries etc. Sometimes i see in someone code the new css futures and start afraid that in WSC so much news but i don't kno…
- 2 replies
- 1.1k views
-
Hi, I have a problem with the JavaScript code on my website. I'm talking about the words, price and days calculator at the bottom of page (below the table). The problem is that when I'm selecting the word count in the rows of the table, it doesn't affect the number of words, price and days in the calculator immediately, but only after that I'm typing on another field. Here is the code of the calculator: function costTimeCalculator(totalwords) { var cost=totalwords*0.015; cost=cost.toFixed(2); var time=2; if(totalwords>5000) { time=Math.ceil((totalwords/2500)); //if((totalwords%2500)==0) // time=time-1; } if(totalwords>0) { $('#words').text(CommaFormatted(total…
-
- 2 replies
- 975 views
-
-
This is what I want to change: <strong>Text</strong> How do I change the text size here? And how do I do it in design mode?
-
- 3 replies
- 905 views
-
-
I'm familiar with using media queries to make websites responsive, and to hide/show/reposition elements of a page. However could anyone recommend a solution to omit heavy loading images and/or JS for the purposes of speeding up the usability of the mobile experience? I'm working on a website that uses a lot of full screen images and videos, which are highly load intensive on a mobile when using 3G. In the past I've used server side PHP to detect the user agent and output a variable, which I can then use within an If/Else statement for any page elements which are load intensive. However this approach has become increasingly problematic with so many new devices comi…
-
- 3 replies
- 887 views
-
-
Hey guys, I'm working on my first website which is about horse racing and tips to go with it. I am wondering would it be possible to have my website auto record the results onto my website without me manually entering them every time? Like i was thinking that if my website could somehow go to a website with the results already up and copy them but I have no experience so i have no clue if something like this would be possible and if so how hard would it be to execute? Thanks in advance anyway, hope this is the right place to post this I'm developing in dream weaver btw.
-
- 4 replies
- 1.1k views
-
-
There is this cool header effect I want to use and can be found here at http://ideaware.co When you scroll down the header becomes darkened which is kinda cool. I'm trying to work out from the source code how this is done but am having no luck. Is it JQuery or is it HTML/CSS? Whats the trigger that initiates the effect?
- 3 replies
- 7.5k views
-
I wanted to create a stripe from one side of the page to the other, no matter the resolution. So I used this code: body { background:url('url/to/img.png') repeat-x; } I created that way a pattern with an image that repeats itself so it creates a stripe. Now I want to add another stripe at another part of the page. How do I set another stripe at a different place with that code?
- 7 replies
- 909 views
-
I need to make just the 'Login' page float to the right like the picture below On my menu editing page there's an option for 'Title attribute', is there a code i could add here to make just this individual login page float to the right? Also I'm also using Sahifa theme if that makes a difference.
- 13 replies
- 2.9k views
-
Hi there I need to make a Slider like linkedin.com. Please tell me, if you know any sliders like that. Screen-Shot : Regards
-
- 0 replies
- 1.2k views
-
-
I just got a new progect. It will be large corporate site. Director said that design is ready (but i didnt see the design yet) and ask me to make a responsive layout. I cant decide by myself what is better: choose Framework, gride (Bootstrap, http://cssgrid.net, http://www.getuikit.com/index.html) or something else? I think in some cases bootstrap is not flexible for all goals, but its hard to make all layout without framework.. only by hand. I am strongly need your advice where i should start the responsive layout for to make good layout. I will make responsive site for the first time. I had only training for myself. Thank you for any advice!
- 10 replies
- 1.5k views
-
As the title indicates, I'm using a combo of rems and ems on a responsive site. Cross-browser support is a big deal on this one. I checked the template in IE yesterday and the results are so varied that I must be doing something wrong. In IE8 & 9 the site is all over the place, I'm seeing massive font sizes, margins and padding that are way out ect. Part of me is thinking of rewriting everything back to px. Here are the thoughts that are going around in my head at the moment. Perhaps I should use them for font sizes and left / right margins and padding only. Nothing with height, nothing top / bottom. Perhaps padding should just be calculated in percentag…
- 5 replies
- 898 views
-
Hi there, I've been using Dreamweaver's Fluid Grid system lately, I just wanted to know your opinions on it? It's served me well, as an introduction in to fluid grids and responsive design but I can't help but feel it's somewhat limiting? There must be better ways out there surely? Or perhaps I'm just using it wrong? Cheers Sam
-
- 0 replies
- 1.4k views
-
-
I want to add space between lines. How do I do it in design mode?
-
- 5 replies
- 1k views
-
-
In my site, (techhamlet.com) I have the top category links (web, linux, all, other, windows) aligned well. In a desktop browser it work perfectly. But in Android, in both custom and dolhpin browsers, it won’t. Check this screenshot : What is wrong in here? How to fix it? Is there a firebug like tool for android?
-
- 3 replies
- 987 views
-
-
Hi, I'd like to change the code below to have the div sliding in after 2 seconds and sliding back up after 20 seconds. Can anyone help change the code to use a time delay rather than a button. <html> <head> <title>jQuery slideUp and slideDown</title> <script src="http://code.jquery.com/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#up-button').click(function(){ $('#box').slideUp(); }); $('#down-button').click(function(){ $('#box').slideDown(); }); }); </script> </head> <body> <input type="button" value…
-
- 3 replies
- 950 views
-
-
Hi, Someone please help. I'm trying to center a div with a fixed width of 1000px within a div container with a width of 100%. I assumed that i could just put the margins to auto for the inner div, but this doesn't seem to work. Can someone please help. What would my CSS need to look like to make this work? Thank you!
- 7 replies
- 886 views
-
Hi all, just wondering if there was a way to make a phone number text a link (on mobile devices). On a site I'm currently working on, there is a phone number located in 2 places on the site - in the header and the footer - the footer text seems to be a link when using an iPhone (is this a default setting on iPhones?) but the header phone number text just appears as text. Is it as simple as making the text a link and giving the href a value of the phone number? Cheers. Al.
- 4 replies
- 1.1k views
-
I'm working on a friend's site and it works great, but in ie the top menu is hidden (and some other problems, but this is the main one i want to solve) and i tried using modernaizer and stuff but it doesn't work and i can't figure out what's the problem, i would very much apciate if some would have some advice... This is the site: http://g-m.co.il Thanks.
- 4 replies
- 1.5k views
-
So I wanted to implement into my site live page review. For eg. when you go to ThemeForest and you choose a theme, you have an option to live preview it. http://themeforest.net/item/slyde-showcase-your-writing/5269849?WT.ac=category_item&WT.seg_1=category_item&WT.z_author=playnethemes How can I implement something like that into my page?
- 2 replies
- 893 views
-
Hello could anybody help I am trying to put a contact form on the homepage of my website and am not to sure how it works. Could anybody post the code for a basic form or a link to any guides please. Any help would be appreciated. Thanks all
- 4 replies
- 885 views
-
So here is what I wanted to do. You take one page, any page, say for eg. http://www.smashingmagazine.com/ and now using Google Chrome you edit something (you know how to edit with google chrome, ctrl + u, and so on...), say logo or some color. Now, is there any way to save those changes and then you get some link. Then you send that link to someone else and what he see is modified page with the same original url or little modified url? Is that even possible, somehow?
-
- 1 reply
- 3.9k views
-
-
Hello, looking for a quick way around a problem. I have a follow button on my website that when clicked, submits data via ajax. I have else where used the ajax code so that the div changes its css as it happens, but its not working with this one as i have variables for the colour etc in the php files and all sorts. So i have the form contained in a div called "followdiv" I just want the content of the div to reload. On the page there is a call to the database in which it makes a check and sets the submit buttons class depending on the result. Is it possible to just reload the div and nothing else so it works like that? Here is what i have so far fo…
-
- 1 reply
- 3.8k views
-
-
This is the 11th draft of my new homepage that I'm working on. You can see previous versions by editing the URL with a lower number. Here you go www.markgoodwinpianos.co.uk/newtest/11.htm I feel like I'm nearing completion but would like feedback from anyone who can suggest ways in which the design could be improved. I don't want feedback about the content, only the CSS work. The spacing, the colours, the fonts etc. It has been designed to look good on ipads and iphones as that is what most of my traffic are using to visit my site. The text looks a bit big on a PC but I think it looks fine on an ipad. The fonts are from Google's font service I'd be ve…
-
- 9 replies
- 1.5k views
-
-
im currently making a JQuery plugin that will allow you to build a ajax contact form with custom fields, currently im using this to generate the form, would you say this is too much effort filling out the options for a simple contact form <script> $('.contact').contact({ email:"test@test.com", inputs:[ {name:'First Name', placeholder:'First Name ...', type:'text', required:true, id:1}, {name:'Last Name', placeholder:'Last Name ...', type:'text', required:true, id:2}, {name:'Subject', placeholder:'Subject ...', type:'text', required:true, id:3}, {name:'Text', placeholder:'Message ...', type:'textarea', required:true, id:4}, {name:'gender', p…
- 4 replies
- 1.1k views
-
Hello, i have lots of divs that are generated via database query. I am using this: $(function(){ $(".blogresults").hover(function () { $(".blogdesc").slideUp("fast"); }); }); to slide in the .blogdesc div but it is happening on all the divs at the same time. How can i edit this code to only affect the div hovered? Also, anyway to make the slidetoggle go up not down?
-
- 3 replies
- 874 views
-
-
Quick question, I've just read a few posts in other forums dated from 2012+ and most of them state that there should only be 1 h1 tag on each page. I was under the impression that in HTML5, it was up to the developer how many to use. I'm asking because 'Bing Webmaster tools' brought it up on one of my sites. Cheers. Al.
- 8 replies
- 1.2k views
-
I want to solve why class=sectionone and class=sectionthree are shifted in IE7 ? I've tried to solve, by removing the margins, adjusting the margins, adding padding, I can't find the solution.
-
- 3 replies
- 887 views
-
-
Can anyone think of way of updating this slideshow to be responsive? .scrollable .items currently needs a fixed width to function jsfiddle.net/lecollective/RkGTR/
-
- 0 replies
- 1.2k views
-
-
I want to create a black stripe that is from one side of the screen to another, no matter what the resolution is. A stripe with 100% width that doesn't end. But I want it behind all of the divs I created. Something like the one behind the objects here: http://www.templateaccess.com/demos/webpro-cuber/ I want it to be in the background and to be able to place things on it. How do I do that? Can you help me with the code?
- 7 replies
- 948 views
-
Why is the rollover image working with a delay? I can see the rollover image moving on top of the original image. This is not what we mean by rollover image. It needs to work instantly. <p><a class="test" href="contact"><span>test</span></a></p> .test{ display:block; height:49px; width:344px; background:url(/images/test.png) top; } .test:hover{ background-position:bottom; } .test span{ display:none; } I also tried this code: .test{ display:block; height:49px; width:344px; background-image:url(/images/test.png); } .test:hover{ background-position: 0 -49px; } .test span{ display:none }
-
- 3 replies
- 889 views
-
-
index.htmlstyle.css These are my files for my site. I want to move both of the coat of arms to be even with the bar above them, I want them to be on top of the bar. Any Idea on how I could do this? Thanks! And if anyone is willing to help a beginner designer, please add me on skype: anzewx
- 1 reply
- 855 views
-
Hey all I designed a site for a friend. Got some javascript running om the home page thats supposed to rotate 6 images. Offline it works great but as I upload it it only shows the container with alt. I can see it rotate but there are no images in the block. http://www.phoboslamps.co.za/ Head code: <script type="text/javascript"> var howOften = 2; //number often in seconds to rotate var current = 0; //start the counter at 0 var ns6 = document.getElementById&&!document.all; //detect netscape 6 // place your images, text, etc in the array elements here var items = new Array(); items[0]="<a href='quote.html' ><img alt='image1' src='lamp…
- 4 replies
- 891 views
-
Hello! I am very new to web design and I started yesterday with HTML5. What should I learn next? Any tips for me? BTW, here is my site if you want to see that I made with HTML5: www.anzewx.tk
-
- 6 replies
- 1.2k views
-