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'm trying to work out how to make my form a little more interesting, and have found a free UI download for a form I really like. The thing is, how can I use this to style my form? I'm assuming it's not good practice to go replacing submit sections with images (if this is even possible?) or is this the way it's done. Essentially, I want my form (which only has a text-area, text fields and button) to use graphical elements like this. Is it best to try and replicate this with CSS? I'm not sure I'd be able to get the right look with just CSS.
-
- 2 replies
- 872 views
-
-
Hi, I quite like the way that a product is added to the shopping basket on the Harrods website, and how you can hover 'My Bag' in the top right to see what's in your basket. http://www.harrods.com/product/chisel-punched-leather-oxford/grenson/000000000002805315?cat1=new-men&cat2=new-men-shoes-just-in# I was hoping to do something similar for a project I'm working on. Does anyone know of (or can reccommend) a jQuery/AJAX script that works in a similar way please? Christian
-
- 0 replies
- 1k views
-
-
http://sallyong.com for example this website above,if i move my mouse over these 4 items Amaya Saujana » Binjai Residency » For Rent » For Sale » 1)It will have this drag down animation effect,how can i get this animation?? because if i use only <li> and <ul> script, it does not have the animation, all info under it just display straight away without animation. 2)what script should i use in order to allow my website to adapt itself to different resolution?? for example this site when you drag the corner of screen to make it bigger/smaller, the main content screen will adjust itself to fit the resolution .I've tried <center> and it doe…
-
- 3 replies
- 884 views
-
-
Any ideas how this is done? On this site the image of the guy in the about section scrolls and appears only when a certain page point is passed. Trying to replicate something similar!
-
- 4 replies
- 865 views
-
-
I'm not 100% sure if this is Javascript or not (I know nothing about JS) so apologies if this is in the wrong section. http://www.theprintdoc.com/ I would like to change the hover navigation on this website from what it is now to how it looks in my attached image. As you can see I would like to change the shape but I want to keep the dynamic actions of the menu. Any ideas? Thanks
-
- 3 replies
- 906 views
-
-
Whats the Best CSS3 framework to use and do yous use it on all your projects?
-
- 2 replies
- 1.1k views
-
-
Hi everyone, the website that is in question is http://tiptopdesigns.co.uk/index.html right now it is a temp home for it. The problem is, the sidebar (the blue and pink strip) down the left side is fine in chrome and firefox. However it does not show up in IE of any release. Any ideas on how I could go about fixing this error? Thanks in advance Stevo!
-
- 2 replies
- 870 views
-
-
I am currently designing a website. On my website I have a hover effect on thumbnails which required the image to be absolute, the css is like this: img { border:0; /* allow javascript moves the img position*/ position:absolute; The problem i'm finding is that now any images I put in a floating div go funny and wont position correctly. Is there away I can apply the absolute position to the thumbnails only? I am wanting to apply it to the following css as apposed to the whole page but I dont know how. The hover effect css is: .item { width:292px; height:292px; border:1px solid #000; margin:5px 5px 5px 0; /* required to hide the image after resiz…
-
- 2 replies
- 877 views
-
-
Hi guys, I am very new to forms and have made this one using a few different tutorials and examples out there. Now it looks like a form but I'm at that point where I need it to work and to be honest, I haven't a clue how to do this. In an ideal world the forms would be sent to my email. Here is what I have ATM. <form if="form1" method="post" action=""> First name* <input type="text" name="firstname" /><p> Last name* <input type="text" name="lastname" /><p> Address* <input type="text" name="address" /><p> Town/City* <input type="text" name="town/city" /><p> Postcode* <input type="text" name="postcode"…
-
- 6 replies
- 887 views
-
-
In gmail, Where we click email text in right side top. The div box will be open. How we design the box ? Also how we close the box when mouse click at outside. I attached screenshot
-
- 1 reply
- 988 views
-
-
So I'm making our sites compliant just using the notion that if the user is on the site they accept our usage of cookies. I'm using the cookie plugin to have a very simple bar at the top. This is my code: $(document).ready(function(){ //get the value var modalcookie = $.cookie('modalcookie'); if(modalcookie == "yes") { $("p.cookie").hide(); } $("p.cookie").click(function(e){ $(this).fadeOut("fast"); $.cookie('modalcookie', "yes"); }); }); It seems OK for me in Chrome but some weird behaviour elsewhere. My girlfriend says for her, when the page loads the message shows but disappears on its own. It should only disappear when the user…
-
- 4 replies
- 2.4k views
-
-
Hi, I use simple cms, which is suits me well. However a client wants a website that has pop-ups for his image gallery. When I use Lightbox, Simple CMS will allow him to edit the thumbnails but not the full size image. Is there an alternative to Lightbox that uses the same jpg file for both the thumbnail and full size image. Or does anyone have any other solutions? Thank you!
- 5 replies
- 895 views
-
Hi I am currently working on a design for a friend of mine. I have come across this problem with the html / php code that i am trying to use to get my website to work in Wordpress. The problem i am having is that wordpress loads the top half of the files, but it will not load the main section of the website which worked before fine. I dont know where i am going wrong here, as i followed a tutorial and everything else worked apart from this! You can view my website on: http://65.39.128.45/~waseem/ (And you will be able to see what i mean about the information below not loading up at all!!) I think there is something wrong in my code below but i cant figure it o…
-
- 21 replies
- 2.4k views
-
-
Hi everyone, Hoping for a little help as I'm totally stuck! http://www.tiptopdesigns.co.uk/contact.html The above is a link to a page I was testing out on various browsers. So far its working on everything except Firefox (even IE works). The page looks fine except the contact form is not showing as styled in the CSS file, or how it does in other browsers. Any ideas on the issue would be super appreciated. Thank you! Stevo!
- 9 replies
- 1.1k views
-
Hello friends I am studying the book use your head but I have a problem in my code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Minha viagem pelo Brasil em um Segway</title> </head> <body> <h1>Segway no Brasil</h1> <p>Documentação de minha viagem pelo Brasil em meu próprio Segway!</p> <h2>20 de agosto de 2005</h2> <img src="images/segway2.jpg" /> <p> …
-
- 3 replies
- 866 views
-
-
i have an issue with this page & the footer is not in center... kindly guide me for this... you can visit link here... http://goo.gl/LgfvG Thanks in Advanced. by [link removed]
-
- 2 replies
- 893 views
-
-
Hi i got the problem when i restoring down the firefox , my web site i squzzing up and nothing stays in place. I was trying everything i could but its just getting worse My web page is www.htmluj.ugu.pl Some pictures: My index.html <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>Learn Basic HTML,XHTML AND CSS</title> <link type="text/css" href="theme.css" rel="stylesheet" /> <link type="text/css" href="div.css" rel="stylesheet" /> </head> <body> <div id="pag…
-
- 1 reply
- 1.9k views
-
-
For some reason there seems to be breaks between my headings and paragraphs but am not sure why the address is http://www.cherriewebdesign.com/aboutme.html Any help greatly appreciated, thanks
-
- 5 replies
- 1k views
-
-
Hi friends......................... In this post i want to share some difference between HTML and XHTML. HTML is a Hypertext Markup Language. XHTML is an Extensible Hypertext Markup Language. HTML must be served as text/html. XHTML must be served with an XML MIME type, such as application/xml or application/xhtml+xml. HTML is a static web page. XHTML is an advanced version of it.we can make the web pages to be displayed dynamically.XHTML is a combination of XML and HTML.
- 7 replies
- 902 views
-
Hey my contact me page displays differently from all my other pages due to me linking to two css external stylesheets and I don't know how to fix it. Also there are gaps at the bottom of all my pages between the footer and content and a gap in the middle of the home page too. I have no idea how to fix this at all. Another strange thing am sure its nothing major my thank you page works fine in all browsers apart from safari where all the content displays to the left hand side of the page as oppose to the centre, it does not happen in any of the other browsers and am not entirely sure how to fix it. The website is www.cherriewebdesign.com and any help would be …
-
- 5 replies
- 881 views
-
-
Hi guys, I want to implement AJAX into a contact a contact form, here is the code I have so far... $("#contact_form").validate({ meta: "validate", submitHandler: function (form) { $('#contact_form').hide(); $('#sucessmessage').append("<h4 class='form_thanks'>Thanks, your email has been sent! We will get back to you as soon as possible</h4>"); return false; form.submit(); }, /* */ rules: { name: "required", lastname: "required", // simple rule, converted to {required:true} email: { // compound rule required: true, email: true }, subject: { required: true, }, message: { required: true } }, messages: { name…
-
- 1 reply
- 874 views
-
-
I am trying to create a full width mega menu. That is, where the drop down (child element) is the full width of the parent menu. I am having a little difficulty finding a suitable example that is close to what I want. The type of effect I am going for is some thing like this: http://nigelbuckner.com/menu_test/ The technique I have used here is not suitable because the drop div (child element) that appears has the <a> tag from the main menu wrapped around it. This is only suitable for a pop-up box. The code for this looks like: <nav> <ul id="mega"> <li><a href="#" id="train_web_1">Web Design <div id="train_web_2"&…
-
- 2 replies
- 5.9k views
-
-
Hope someone can help - I'm trying to use the jQuery Cycle plugin to create a slideshow (obviously!), however I also want to load different images (different slideshow) depending on screen width to create an adaptive layout. Link below is a stripped version of the website I'm working on, which works fine in modern browsers, just not IE8 and below: http://www.wickywill...g/oh/index.html I am aware that using strings to load content is probably bad practice, but I did load the slideshows through Ajax and still ran into the same issue. Can anyone see why the above won't work in IE8??
-
- 3 replies
- 3.9k views
-
-
Hello, i am designing this website (password: background1) and now i am stuck!! It's a tumblr based website. It's one thing, the background color of the blockquotes. It's black now, also the footerlinks of each post (and border of searchbox) don't change color when being hovered over. Hereyou can see the original tumblr layout which i am using. What I changed are the background colours of the page-wrapper and bg-wrapper to transparent. But suddenly the black boxes now come up. Maybe it has to do with the code in custom css?? #bg-wrapper { background: none; } But when I am removing this code, the background of the page isn't transparent anymore. W…
-
- 14 replies
- 2.3k views
-
-
I've attached 2 images showing what my problem is. Has anyone come across this before, I'm thought it might be a common problem. The slider was 940px width, I have changed it to 740px width and seem to have this problem now - (the images show in a vertical line for about 1 second while the page loads).
-
- 3 replies
- 872 views
-
-
The layout of my site is not working correctly, am not sure why but the background of the footer isn't displaying and the border not showing all the way round. I have run it through a validator and it validates to strict, my css has a couple of errors but nothing to do with that. My address is http://www.cherriewebdesign.com/aboutme.html . Any help appreciated thank you
-
- 4 replies
- 875 views
-
-
-
Hey all, I'm somewhat of a newby to the web design world and I have a question that I couldn't figure out how to word for google. Basically I want this line (like in the portfolio, skills, and contact heading in this site... http://www.jorgenmortensen.eu/) to be on both sides of my h2 tags on my site. I'm pretty sure it's something in css to accomplish this but i wasn't sure what. Any help is appreciated! Zac
-
- 5 replies
- 872 views
-
-
Hi, i have made a website using joomla, and i really do like it! Its been perfect for a while but for some reason i find that Google Chrome is displaying it differently on certain pages... for example http://pinpointdistribution.co.uk/index.php/distribution-prices When you open with Firefox it is displayed as 3 boxes across the page and a large box at the bottom, however now open it in chrome and you will see that only 2 boxes go across and the third is slipped underneath? Can anyone else see this problem using chrome? if you do, does anyone have any suggestions about what could be coursing it? it worked fine before too, so i assume something h…
-
- 8 replies
- 2.4k views
-
-
Hello all, Ive just finished my layout with the exception of the footer which will include a background set for the div. Its only 6px high and when making this on a seperate webpage it works fine... See code below... <!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=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> .footer { width:854px; height:6px; background-position:center; background-image: url(images/footer.jpg); backg…
-
- 3 replies
- 884 views
-
-
http://bizzteams.com/forum/html-css/ Thanks to brightonmike, it has come to our attention that the above forum is stealing content from us... We will take swift action regarding this matter but for anyone interested, pop along and have a look, feel free to register and absolutely ruin those thieving bar***...
- 41 replies
- 5.6k views
-
How can i make these buttons into links, Ive got the effect i want but how will i make them into links? Here's the page im talking about. http://connordesign.comyr.com/fresh.html
- 7 replies
- 914 views
-
Hi all! I'll begin by explaining that I know very little of css at all. I know what it is, what it does and roughly how it works, but that is it! I have been trying to add a vertical, single level menu to my website and can't get the menu to display properly when I look online in a browser. All that will display are the links (at least they work) but without the actual graphic (which is the whole point!). I designed the menu using an online generator (css menu builder.com), saved the graphic, the html and the style sheet. I added the html where I wanted the menu displayed on the page, linked the style sheet and saved. I then uploaded the page, the style sheet and t…
-
- 5 replies
- 886 views
-
-
Can somone help me with this wrapper. I cant get it go follow behind the content. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <!-- CSS Styles --> <style type="text/css"> body { background: #eee; font: 13px/18px 'Open Sans', sans-serif; color: #4b4b4b; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.10); -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-font-smoothing: subpixel-antialiased; image-rendering: optimizeQuality; -ms-interpolation-mode: bicubic; } #wrapper { margin: 0 auto; width: 960px; padding: 0 25px; background: #F5F5F5; ba…
-
- 2 replies
- 885 views
-
-
hi all, ive just found this script and it works well! However i dont want the link function there so can someone please delete what needs deleting so it still works cause when i delete the link parts it stops working... I only want to click a button and an image swops which is what it does. But this code also includes a onclick of the image it opens a URL and i need that part deleting from all images.. Its embeded in the Jscript.. any help will be greatly appreciated! Cheers then <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html> <head xmlns="http://www.w3.org/19…
-
- 0 replies
- 1.2k views
-
-
I am currently using dreamweaver to develop a website. I am using the .dwt format for templating as well as editable regions. In my preview, my elements appear to all be aligned to the centre as they should be, but when previewed in ANY browser, my content <div> tag will stick to the left... Please help! Website files in the attachments (you can open the .dwt file, under templates, in your web browser) Thanks Templates.zip
-
- 3 replies
- 876 views
-
-
Have been searching high and low for a solution that works, have tried every plugin I can find on the front page of Google and none seem to work. I want to scroll smoothly between my links/anchors rather than a harsh jump. I've tried to implement this but it simply does not work. Anyone know where I'm going wrong? Site with jQuery code included but nothing happening
-
- 6 replies
- 2.4k views
-
-
Hi I am currently editing a template on the domain quakers-pc-repairs.co.uk however I am unable to get the top menu to display anything in the background other than a colour. What I need is an image. This is what I tried so far: Code: .navigation ul li a { padding: 24px 16px 0 16px ; margin:0; display: block; font-weight: bold; font-size:18px; text-transform:capitalize; color:#fff; text-shadow: 1px 1px 1px #000; height:50px; background-image:url(images/test.jpg); } What I need is this image behind every li tag. What am I doing wrong? I'm using Firefox to test it. Thanks in advance
-
- 5 replies
- 20.4k views
-
-
So I'm trying to place the following two java plugins on the homepage of my SMF portal. One is a simple JQuery image slider and the other is a Jquery video library. They're both very light-weight plugins but for some reason having trouble getting both of them to work at the same time. Either one of them breaks while the other works and by breaks I mean, the images won't display - the loading bar just keeps going on. I tried them on same blocks and on two different blocks too, no luck. This is the code for the image slider: <link rel="stylesheet" type="text/css" href="css/style4.css" /> <script language="javascript" type="text/javascript" src="js/jquery.js"…
-
- 2 replies
- 882 views
-
-
Hello I have a TXT file with a lot of hyperlinks inside, my problem is I need a little HTML editor that can open this TXT file, and allowing me to save it in HTML... but... generating the code automatically, in the sense that I see the hyperlinks underlined, ready to be clicked... I cannot do this with Word, because when I paste the links from the TXT to the document... I see them as text, and not as hyperlinks... so I need something that automate the process and allow me to convert this TXT file with the hyperlinks inside as an HTML file with the proper code to show them underlined. Any idea or suggestion about an editor or some way to do this? Thanks PD I am …
-
- 1 reply
- 879 views
-
-
Ok so here goes, ive made myself a nice looking CSS button my text is centre aligned, however it wont seem to align to the midle of the whole box. These are going to be my bottons for my small image gallery. 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.w3.org/1999/xhtml"> <head> <style type="text/css"> .buttonbox { width:300px; height:30px; text-align:left; } .imagebutton { width:20px; height:30px; background-color:#999999; border:solid 1px #000000; text-align:center; float:left; } .imagebutton:hover { width:20px; height:3…
-
- 4 replies
- 877 views
-
-
Hello, I have a few issues with a nav bar. http://mylzh.net As you can see, the drop downs appear, but because they're positioned down from the buttons, it disapears by the time you try to use the drop down links. How can I fix this? Also, how would I make the last link have a border-radius? I can't see to get that done either. HTML: <div id="nav"> <ul id="jsddm"> <li><a href="http://mylzh.net/content.php"><!--BACK UP START-->HOME<!--BACK UP END--></a></li> <li> <a href="#">COMMUNITY</a> <ul> <li><a href="http://mylzh.net/arcade.php">Arcade</a></li> <…
-
- 3 replies
- 1.9k views
-
-
Hi all, I'm not exactly sure what's going on with what I'm trying to do, but I'm guessing that the files are conflicting, which is not enabling one of them to work. Basically I bought a Theme from Them Forest, it's using WooCommerce and Wordpress as a CMS. I'm not very knowledgable in the PHP Javascript area (still), so I've been doing a lot of editing on the theme in HTML & CSS. I downloaded a slider and customised it to my liking, and when I try to add it to the site, it stops the main Slider from working. I'm working on WAMP so won't be able to give you any links to show you what's happening, but here's the line of code that stops the main banner from w…
-
- 0 replies
- 862 views
-
-
Hello all, first time poster here. I'm not sure whether this is something that is possible in Javascript, I'm fairly sure it will be. I have a client that sells canvas prints online. They need a solution that will enable customers to firstly select an image, then a color, then a size, and for it all to appear on a 'mock' canvas all on the same page. This will then proceed to a paypal cart checkout. Does anybody know of a way to do this, or could point me in the direction of a website that I can walk through this with? When I say canvas, I mean actual canvases, printed to hang on your wall, not so much HTML5 canvases. All I need it to do is select the animal (…
-
- 1 reply
- 2.8k views
-
-
We're in the process of creating our first responsive website (http://27.131.69.118/~chris/ - this is a production site, so excuse the mess!), but having some issues with backgrounds/divs not spanning the full width of mobile devices. The site features three different styles - desktop, tablet and mobile. The mobile version produces an issue I've encountered before, but am unsure how to rectify. Towards the bottom of the site, there are two areas (main-bottom and footer) that don't span the width of the screen when viewed on a phone. Our viewport tag is as follows: <meta name="viewport" content="width=device-width"> If I set the width property t…
-
- 1 reply
- 1.7k views
-
-
-
Hi folks, I'd appreciate any advice you can offer me. I might just be missing the fix for this out of sheer fatigue. I'm working with a scrolling div styled with "width: 100%" (identical to the one on my current site http://notionalanthem.com). I want to add fixed-width blocks of text between some of the images, and retain the scrolling/overflow properties of the div. The closest I've got to succeeding with this is by using a series of unordered lists and appropriate styling options for each. So far (after messing around with divs and span classes instead of lists) I have got the text to display correctly in line with the images, but have lost the scrolling functi…
-
- 5 replies
- 1.6k views
-
-
Hello, i bought a template a day here, and i have changed a few things on the website with Adobe DreamWeaver. Since i am new to this coding stuff ( HTML... 5? and CSS) I would love to have somone look through my code and clean it up! And i would LOVE if you could describe the code in the file itself, like :" This is the header ". Reply here if you would like to help me, and i send you the files in a sort of way, Thanks alot! - Petter Hanssen
-
- 5 replies
- 897 views
-
-
Hi, I am creating a site with a static header. However, when I move the page up the wowslider I have used goes over the top of the static header. Is there a solution? Here's the Link TY
- 4 replies
- 864 views
-
i have the attached picture.I succeded to make it reapet-x, but i want down to continue with the same down color. Any idea how to make this? the line is in gradient and i want to continue with the same color down.
-
- 1 reply
- 870 views
-