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
-
Hello friends, Just wondering how many of u have implemented responsive navigation menus in the sites u made?
-
- 2 replies
- 873 views
-
-
Basically, at the moment, I have a CSS drop down menu on hover and it doesn't seem to be working on ipad and iphone users, I understand that they don't have a 'hover' but a click would work just as good, anyone have an idea on how to get this to work?
-
- 4 replies
- 939 views
-
-
Hi, I'm trying to make prettyPhoto fire entire gallery of images with a single <a href> text hyperlink. I've read documentation and it says you can do this via API but I can't get around to make it work. http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/documentation/ Any ideas how to mod the code?
-
- 0 replies
- 1.1k views
-
-
So I'am currently building up mine layout via css only. So I'm using the background-color/borders to get mine website style. "It's just for the training part to refresh mine css memorie". Now I came to the point I add the center menu next to the left menu. All seems to work fine but when I re-size the browser then the center menu just get moved downwards because it just want to be shown. This issue is as far I know in Google Chrome maybe the other browsers as well. I got all of the code scripts attached and I hope some'one of you know that simple answer that I am currently over looking. The .jpg image supposed to be in the images map. Edit; reporte…
-
- 9 replies
- 1.4k views
-
-
good afternoon all. I have had this problem today and its draining the life out of me, so i thought i would share some of my missery with you guys, I am currently developing my works new website. It has a long way to go, but i am trying to make sure everythign works every step of the way, i have installed a plugin that pins to the right hand side of my website called "quote request" it works on all browsers - Check it out www.arporter.co.uk now check it out in ie 7 or 8. the form is underneath the website, looking terrible. PLEASE PLEASE HELP ME 0 Craig Pettit | Business Solutions
-
- 10 replies
- 1.6k views
-
-
Hi, I was wondering if anybody on here knew of any free templates for WordPress similar to youporn or pornhub but on a smaller scale. I have limited knowledge of WebDev but know the basics. If anyone could help I would be very greatful. Thanks Chris
- 1 reply
- 878 views
-
Hi I have an image of a village map on a website. I want to have a list of locations on the same page such, that when a location is clicked on, it is highlighted on the map. This could be achieved either by overlaying an arrow at the relevant place or by highlighting a small mapped area of the image. I'm hoping that this can be achieved in HTML CSS &/or javascript as I don't have access to php or serverside scripts. Any advice on the best way to go about this would be much appreciated. Thanks in advance, Geoff.
-
- 5 replies
- 2k views
-
-
this is the link http://davidcolligan.com/test/index.html what i am trying to achieve is a full width website, never tried it before, it looks fine when i view it on my laptop, but once on the ipad its all weird, i was wondering if anyone could help regards collie
-
- 3 replies
- 995 views
-
-
hi, i am having a little trouble building a horizontal navigation bar with permanent horizontal sub menu. the sort of thing i am after can be found at the independent.co.uk is it possible to build a menu like this with just css alone? many thanks.
-
- 1 reply
- 1.1k views
-
-
Hey, How can I set my Business lite theme up so the Slider only displays the first slide? I.E. I have no interest in the second or third slide? Thanks, Sam Find my site: here
-
- 2 replies
- 885 views
-
-
I've got a fun little challenge for everyone here. Those who frequent the IRC will know that I've been playing with slanted headings. These have now evolved into wrap-around headings; currently they look like this fiddle: Skateside's awesome fiddle. Here's the challenge: can anyone think of a way to make the slant stretch to the full height when that heading double-lines? The only rule is that you're not allowed to add any more elements (except a rogue <br> for testing). It should degrade in older browsers (I won't insist that it has to work perfectly in IE7, although you'll be hailed as a CSS god if you can pull it off). The background of the <body> t…
- 10 replies
- 1.2k views
-
Hi, I'm using prettyphoto on a project we're developing, our customer wants the PDF to open in a Prettyphoto lightbox on desktop browsers (which is is doing now), but not on mobile devices like iPad or Smartphone - but instead to open as the iPad normally handels PDF format using it's own app. The link is generated by a function (Wordpress) - any ideas how I could get that almost redirect setup in the same link? Thanks Tom
-
- 2 replies
- 3.8k views
-
-
I am reading a book on Javascript and am trying to create a rollover image but when I preview in the browser it doesnt come up with anything other than a block with and "X" Please help Hear is the code: --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script> var greenBlock = new image; greenBlock.src = "greenblock.jpg"; var redBlock = new image; redBlock.src = "redblock.jpg"; func…
-
- 2 replies
- 882 views
-
-
Hi, I have an instance of Jplayer (HTML5 audio player for jQuery) and an instance of JW Player (HTML5 video player) on the home page of a website I'm jazzing up for a friend: http://www.creativetuition.co.uk As you can see/hear, the audio player at the top auto-plays. I'm trying to work it so a user can play the video below and have the audio player pause automatically. If it was possible, it would be perfect if the audio player began playing again if the video was paused or ended. I presume I have to use some sort of event 'listener', but really I am struggling and would really appreciate any help you guys can offer. Thank you A…
-
- 0 replies
- 1.4k views
-
-
Hello. I use colorbox on a button. The button is placed on a div. Clicking anywhere on the div perform some action. When clicking on the button, both the colorbox and the div under it are activated. How do I stop/cancel bubbling when clicking on this colorbox button? Thanks.
-
- 0 replies
- 962 views
-
-
any suggestions why my container border wont show in ie 7 and 8?
-
- 3 replies
- 1k views
-
-
Hey guys, Pulling my hair out at this one - I've got a slideshow on my site which also uses jquery mobile: http://palmercreative.co.uk/m/ It seems to display the slideshow as if there's no jquery first time, then when you refresh it's ok? Is it something to do with the way I'm loading the jquery in? Is there some sort of no conflict thing I need? The head looks like: <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Canal holiday - Find the Best Canal Holiday of superior quality from College Cruisers </title> <link rel="stylesheet" href="themes/style.min…
-
- 7 replies
- 908 views
-
-
Hi guys! I have made a drop down menu, and changed the z-index of the menu and the jQuery slider, so the drop down would go over the top. Now the slider has disappeared completely! (the big white area under the menu) Any ideas? Website is here: http://mattmaclennan.co.uk/gb2/index.php Thanks! Matt
- 4 replies
- 875 views
-
Hello, Anyone able to help me. I have a friend who wants a single page website for his photo portfolio. He wants it to make it like this one CLICK HERE. Any idea on how I can do it?
-
- 31 replies
- 2.7k views
-
-
Hi everyone, this is my first post here and I doubt it will be my last. I am trying to learn the basics. I find the best way to do it for me is to jump in and play around with already existing websites. So, I emailed Maciej at somewhere that i don't need to mention and asked if I could practice on theirs. I was featured in awwwards and it has a few features I would like to learn. Maciej sent me his website but I am having trouble linking the stylesheet to the index file and I believe I can't really do much without this. I have hosted the .css files myself and tried pasting the html to where Maciej's is but it will not work. I would really appreciate any help here.…
- 15 replies
- 1.6k views
-
Please see the attache image. How do I use css to design this font. I try to use text-shadow but I can't add the correct border around the font. thanks for the help
-
- 4 replies
- 904 views
-
-
Is there an alternative to Google Custom Search? The free version has sponsorship embedded with in the results. Is there an free open source alternative?
-
- 0 replies
- 1.2k views
-
-
I Don't Know If This Is The Right Forum...Sorry If It's Wrong. However I Need Help In Learning The MXML Language. Especially This Thing: In The Code, We Create Some Elements Like This <s:Image... <s:Label... Etc....... I Just Need A Code So I Could Put An HTML Page On The Web! I Need Something Like This(PS The Following Code Is NOT Valid): <s:WebBrowser src="#"... This Was An Example Of What I Want. And Also If There Is Any Reference To Know ALL The Components Of MXML EX: <s:... That Would Be Very Good Thank You And Sorry Again If It's The …
-
- 1 reply
- 872 views
-
-
Hey Here's a two parter that'd i'd love to get some help with. PART 1 - The site is a wall of photos which display in a random order ever time the page is refreshed. This is done by a lookup of .jpgs in an /image folder. My problem is that I've just made a video, and I'm not sure how to include .mp4's. I've tried adding , '.mp4' to picPaths[i] = imgFolder+'pic'+(i+1)+'.jpg'; but it doesnt work PART 2 I'd love to have each image open on its own separate page when clicked - any ideas? Any help would be much appreciated. Here's the link to live site www.rowancorr.com Regards James p.s here's the code of the site... <!DOC…
-
- 2 replies
- 1.3k views
-
-
Hi guys, I have a problem with my CSS, I float the image left, and the text wraps okay. But the footer moves up for some reason, any ideas why? Here is the website The bit in question is the "<div id="footer">" with the green line green line and the "Copyright GBsqd LLC. All Rights Reserved" on it. Thanks! Matt
- 2 replies
- 879 views
-
Well, I've broken my dependence on Dreamweaver and jumped into the deep end of the pool. Now I'm up against something that I was absolutely sure should work, and I'm stumped. I am trying to use Javascript to load an image and display it in a div when a button is pushed. It works just fine if I use an absolute address for the image, but when I use a variable nothing happens. I trace the variable and it is returning the correct value. Every indication is that this should work, but it just does nothing. Please help. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www…
- 3 replies
- 922 views
-
Hi guys, i've searched through the forum for similar posts and did find some but none with any answers that helped me. Please visit the website as a reference - www.thetwistedtroom.co.uk For some reason the subscribe button doesn't appear to do anything, nor the contact us form. HTML - index.html <div class="form-wrapper email-list"> <div id="mesaj"></div> <form id="subscribe" method="post" action="php/subscribe.php" name="subscribe"> <input type="text" id="semail" name="YourEmail" placeholder="Subscribe to our email list" /> <!-- You can stylize the submit button by changing its color. To do this, replace t…
-
- 4 replies
- 2.6k views
-
-
Hi all, im probably being stupid. But my website container wont center. #container { border: 1px dashed #9b1c26; margin: auto; float:left; height: auto; background-repeat: repeat-y; padding: 10px; width: 800px; } any ideas?
- 8 replies
- 1.5k views
-
Hi there, I admit I haven't spent hours looking through the posts for a solution, but nevertheless I did have a quick look and what i found doesn't work for me. The problem is with a horizontal navigation and its hovering subnavigation blocks. To illustrate, here's a snapshot of it in Firefox, Chrome, ... ..and here's how it looks in ie: Notice how the submenu position is off to the right by X pixel.. the z-index problem is obvious Now the css: .navigation { position: absolute; bottom: 10px; left: 0; background-color:#0076a6; width: 100%; overflow: visible; } .navigation ul { list-style-type: none; margin-left: 215px;} .navigation ul li { display: block; f…
-
- 1 reply
- 930 views
-
-
Hi, I was wondering if anyone could help me. I am new to web design and am just getting to grips with my Adobe Dreamweaver CS5 software. At the moment I am trying to put a logo in my header section of my website however whenever I do it cuts off half of my logo and I can't get it to display. The logo is a png file and here is my current coding: #header { float:left; width:100%; height:250px; } #logo{ background: url('../Imgs/logo2.png')no-repeat; float:left; width:200px; height:200px; } I have tried lowering the width of the logo and height and also tried changing the properties of my header section but no matter what I do it doesn't work, I'm not sure i…
- 11 replies
- 1.4k views
-
Hey all, I'm using this Script to resize a DIV - everything works as it should except it only applies it to the first DIV with that ID (where as I have 10 of them): <script> jQuery(function($) { var screen = window.innerHeight - 200; $('#resize').css("height",screen); }); </script> And the result : <li id="resize" class="item lightbox youtube-video show-titleno-hover" data-id="id-894" style="height: 391px;"> <li id="resize" class="item lightbox youtube-video show-titleno-hover" data-id="id-828"> <li id="resize" class="item lightbox youtube-video show-titleno-hover" data-id="id-177"> <li id="resize" class="item…
-
- 3 replies
- 885 views
-
-
I have an idea for a new site, its all designed but im wondering how to implement it. I need to have a div to span the whole page, width and height. It will have a gradient background so that image will be repeated within this div. The general design will be a single page website so i want each div to be a new page and fill the whole page exactly. I have tried width and height 100% but nothing shows up . . .
- 3 replies
- 888 views
-
Hi, I am in the process of starting my own web design company and would like some assistance creating a demo area for templates designed for Joomla and WordPress. I have the design and I have some examples that I am studying to get more of an idea of what I need but I would like some help creating some of the code for this, the idea is to have a custom toolbar with a dropdown menu giving the option to select templates for both Joomla & WordPress but I need to have the target load into the iframe below. Any help with this would be greatly appreciated Charlie H, StarrTheme.
-
- 0 replies
- 1.2k views
-
-
Hi! First time ever I am building a website completely from scratch, it's been working fairly well up until now when I encountered a few problems. I am super (super super) new to this and honestly don't really know what I'm doing so my coding might be a complete mess... Anyway, I have a few problems. First of all my H1 (which is the same on every page). It is in bold which I don't want, I've tried putting the font-weight to normal but that didn't do anything so I took it off again. I also can't seem to change the size of it any larger than size 6... anything beyond that and the size won't increase anymore. Same problem with the menu, I can't change the size nor m…
- 9 replies
- 1.8k views
-
How can I make these sub list items horizontal? <html> <head> <title></title> <style> * { margin: 0; padding: 0; } body { padding: 100px 0 0 0; } container { position: relative; } #navbar { width: 1600px; height: 46px; background:url('darkheader.png'); } #navwrapper { width: auto; height: auto; border: solid 1px yellow; position: absolute; top: 100px; left: 250px; } ul#nav, .sub1 { list-style: none; } ul#nav li{ width: 150px; text-align: center; position: relative; float: left; margin-right: 5px; } ul#nav li a{ text-decoration: none; display: block; width: 150px; height: 45px; line-height: 45px; } ul#nav .sub1 li { border: so…
-
- 1 reply
- 865 views
-
-
Hi guys, I'm styling up a vertical 2 level navigation menu for a client website and I am having difficulty with the hover event for a parent li. 'About Us' and 'Services' both have a class of 'parent' as they contain a sub-menu ul. When I hover over the parent li I have changed it's background to be black and when the parent a within it is hovered over the link changes to white. However when my mouse leaves the parent to enter the sub-menu li the link goes back to it's default black. I need the parent a to remain white when my mouse enters the sub menu. I'm not sure how to achieve this. Any help will be greatly appreciated. Here is the site link: http:…
-
- 0 replies
- 860 views
-
-
.box-n { } .box-n summary { display: none; } .box-n nav { position: relative; width: 974px; height: 666px; background: url(../images/pages-visuals/what-we-do-bg.png) 170px 30px no-repeat; } /*.box-n nav { position: relative; width: 974px; height: 666px; background: url(../temp/svg-field.png) 0 0 no-repeat; }*/ .js .box-n nav { background: none; } .ielt9 .box-n nav { background: url(../images/pages-visuals/what-we-do-bg.png) 170px 30px no-repeat !important; }
-
- 3 replies
- 941 views
-
-
I am using Dreamweaver CS5 to design a website. I don't have a link, as it is only on my local testing server right now. I have attached my code. The built-in behaviors are killing me. I inserted nav items as rollover images. The rollovers work, but the link only seems to work in Firefox, not in Chrome when I am testing it. I know that it is better to hand-code than use built in behaviors. I am learning PHP, but am not yet up to learning JavaScript (I had to leave school, and can't learn it all at once on my own). Any help you can give me to get over this issue would be greatly appreciated. I am completely stumped. Please help! code.html
- 5 replies
- 892 views
-
Hi all I'm Alex, and I'm new on this forum. I'm looking for a solution for my problem: So, I want to crate a clickable Europe map, where users can select one, two or any countries they want, and upload one photo on selected shape. I'm working with dreamweaver CS5. Thanks !
-
- 0 replies
- 873 views
-
-
Hi guys, I'm in the middle building a website for a local accountant. He wants us to incorporate a bunch of tax calculators on his website like these: http://www.haslehursts.co.uk/ard/documents.asp?AID=319&SID=11&FID=5245 Has anyone got any experience in doing this or could you point me in the right direction? I'm a bit stumped with this tbh. My ability to code calculators is pretty weak at best, and even if it wasn't I don't fancy spending a week on coding all the equations the accountant gives me if at all possible. If it makes any difference it's a bespoke wordpress site that I'm building. Cheers, James
-
- 2 replies
- 1.2k views
-
-
How do you figure out specificity ? I've looked at numerous articles on specificity and I can't figure any out, including HTML dog and the Star Wars version of specificity.
- 2 replies
- 893 views
-
Hi everyone, I'm trying to find a forum system that can fullfil an important feature i want to have on the forum. A sub forum will be for making group (game party) for people to join So the post would look a little like below, The button would add you to the list of people that want to be there that day. So something like a Like system would be fine too, since it could be altered a bit. Thanks in advance for any recommendations
-
- 2 replies
- 879 views
-
-
Hi all, Not sure if anyone can help we with this but I’m not an experienced coder and would really appreciate some help. I am making a holiday homes website and have got an availability calendar I need to modify. I need to change the .SQL to filter the results based on the ‘HomeID’ URL Parameter. This is because I want to show the availability for different homes in my database. <?php error_reporting(0); include("config.php"); /// get current month and year and store them in $cMonth and $cYear variables (intval($_REQUEST["month"])>0) ? $cMonth = $_REQUEST["month"] : $cMonth = date("n"); (intval($_REQUEST["year"])>0) ? $cYear = $_REQUEST["y…
-
- 0 replies
- 1.4k views
-
-
Using XHTML, what's the easiest way to get a navigation bar to remain on the index page after clicking one of its links? I'm thinking frames but is there an alternative way to achieve a menu that doesn't open its links in the same window (because this means that the menu disappears) In HTML I would use the following (if I wanted the links to open in a iframe): <iframe src="page1.html" id="frame1"></iframe> <p><a href="http://www.w3schools.com" target="frame1">W3Schools.com</a></p> "target" is invalid in XHTML. How can I modify the above code so that it works and validates in XHTML?
-
- 1 reply
- 868 views
-
-
Hi everyone, Sorry if this is in the wrong section of the forum, Im not too sure where to put it. I am re building a website for a client however I have a problem that I have never come across before. Basically he has an iframe on his website that gives vehicle statistics when you select your vehicle from a drop down menu. He wants these stats putting into a table rather than use the drop down's. If i select every vehicle and copy the data manually it will take me about a week of hard labour as there are hundreds of vehicles. Does anybody know of a way to extract the data from an iframe? I've never had to do this before so its got me. Many thanks.
-
- 6 replies
- 900 views
-
-
Hello, I am having a bit of jQuery problems. I'm not too sure how to construct my jQuery to apply different style to each navigation item on page scroll. The code I have right now & what it does: function setActiveNavigation() { //store location of each div var $home = $('#front-page').offset().top - $(window).scrollTop() - 80; var $about = $('#aboutme').offset().top - $(window).scrollTop() - 80; var $work = $('#projects').offset().top - $(window).scrollTop() - 80; var $contact = $('#contactme').offset().top - $(window).scrollTop() - 80; //set active to none var $active = '#none'; //set active to id once scrolled up/down to it if($home < 100)…
- 5 replies
- 1.3k views
-
Hello, I am using rollover button images for my navigation. On one of the buttons I'd like to be able to have two seperate links and images come up upon the rollover effect. Is this possible? Many thanks for any replies, Dan.
-
- 5 replies
- 982 views
-
-
Hello sir ! I am newbie working on a website. I bought a html template from themeforest and editing it according to my need. I stuck at the point of contact form . Below is the code in the template for it. Now how i change it ? Where did i put my email id so that it will send the message to my email directly. There is also a jquery file with the name of contact as well. Thanks Contact Form Code : <div class="contacts-bg-white"> <h3>Do you need help, support or advise?</h3> <p>Lorem ipsum dolor sit amet, verenam operibus furiam conclusoque sponte profundo. Conservus mihi esse haec aliquam inlido laetare quod eam ad per. Antiochi…
-
- 5 replies
- 1.2k views
-
-
I Have A Variable Which is "X = 0", I Want That Variable To Change Each 3 Seconds!. Here Is What I Mean Var X = 0 After 3 Seconds This "X" Is = 1 After Another 3 Seconds This X Is = 2 Then, When X = 2, The Variable Goes Back To X = 0 Then Start Again Counting 3 Seconds And X = 1 Etc.... Thanks For Your Help
-
- 9 replies
- 1.4k views
-
-
Alright, I am currently developing a site,for a game project and I've ran into few CSS problems. One of which is when you zoom in the positioning of the div layers mess up. Also I am currently trying to position two character images on either side of the page. But when In do this, it messes the page up, just like then way it does when it zooms in. Site: http://db.tt/S32CxYPO Any help would be most appreciated.
- 6 replies
- 859 views