Everything posted by TheJCD
-
How do you validate this code?
If someone could have a look at this and try and make it work then show me the code and explain it then that would be much apperciated, thanks. If you guys are gonna do this in CodePen this is the CSS just so you can see it properly. .form-control { font-size: 14px; font-weight: normal; line-height: 1; color: #555; background-color: #eee; border: 1px solid #ccc; border-radius: 4px; padding-top: 6px; padding-right: 12px; padding-bottom: 6px; padding-left: 12px; } .form-inline { width: 100%; } .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; padding-left: 1%; padding-right: 1%; } .sr-only { display: block; padding: .2em .6em .3em; font-size: 75%; line-height: 1; white-space: nowrap; vertical-align: baseline; border-radius: .25em; } More of the HTML below: <div class="div-box-5"> <div class="bottom-centre-text"><h2>Kjøp bilforsikring i to enkle trinn</h2> <form class="form-inline"> <div class="form-group"> <label class="sr-only" for="registration">Registreringsnummer</label> <input type="text" class="form-control"> </div> <div class="form-group"> <label class="sr-only" for="dittpersonnummer">Ditt personnummer (11 siffer)</label> <input type="password" class="form-control" placeholder="DDMMAAnnnnn"> </div> <div class="form-group"> <select class="form-control"> <option>Velg</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> </div> <div class="form-group"> <button type="submit" class="button-2">Neste</button> </div> </form> </div> </div>
-
How to validate this form with Javascript?
If you guys are gonna do this in CodePen this is the CSS just so you can see it properly. .form-control { font-size: 14px; font-weight: normal; line-height: 1; color: #555; background-color: #eee; border: 1px solid #ccc; border-radius: 4px; padding-top: 6px; padding-right: 12px; padding-bottom: 6px; padding-left: 12px; } .form-inline { width: 100%; } .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; padding-left: 1%; padding-right: 1%; } .sr-only { display: block; padding: .2em .6em .3em; font-size: 75%; line-height: 1; white-space: nowrap; vertical-align: baseline; border-radius: .25em; } More of the HTML below: <div class="div-box-5"> <div class="bottom-centre-text"><h2>Kjøp bilforsikring i to enkle trinn</h2> <form class="form-inline"> <div class="form-group"> <label class="sr-only" for="registration">Registreringsnummer</label> <input type="text" class="form-control"> </div> <div class="form-group"> <label class="sr-only" for="dittpersonnummer">Ditt personnummer (11 siffer)</label> <input type="password" class="form-control" placeholder="DDMMAAnnnnn"> </div> <div class="form-group"> <select class="form-control"> <option>Velg</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> </div> <div class="form-group"> <button type="submit" class="button-2">Neste</button> </div> </form> </div> </div>
-
How to validate this form with Javascript?
Hi, Check this code out: <form class="form-inline"> <div class="form-group"> <label class="sr-only" for="registration">Registreringsnummer</label> <input type="text" class="form-control"> </div> <div class="form-group"> <label class="sr-only" for="dittpersonnummer">Ditt personnummer (11 siffer)</label> <input type="password" class="form-control" placeholder="DDMMAAnnnnn"> </div> <div class="form-group"> <select class="form-control"> <option>Velg</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> </select> </div> <div class="form-group"> <button type="submit" class="button-2">Neste</button> </div> </form> I have a form going across horizontally formatted and everything, but I am new to this and I am wondering how would you validate this? I am so confused with the form group, form inline etc. Some of you may say I should know as I coded it but I grabbed it off Bootstrap to assist me in the making. Thanks.
-
How do you recreate this in HTML & CSS?
Hmmmm this didn't work...
-
How do you recreate this in HTML & CSS?
Hi, Project is going well, just working on the bottom part of the website where I have to face this. One field is an input box I think then the other two are buttons. If people could have a look and let me know how to go about this then it would be much apperciated. Thanks.
-
How to make HTML navigation float to the right of company logo?
Check this out: AT the top, how do i float the list navigation bar horizontally and to the right of the logo? And also how to style it the way it is... thoughts? Thanks so much!
-
PSD to HTML - Don't want it in tables. Help ASAP
Brilliant thanks.I'll crack on with that today and see how I get on. The full width of the psd is 1066, height 2559. Then I have an inner wrapper where the width is 958 pixels and height 2267. The trouble I have is grabbing the images I need and styling them to the exact proportion of the psd. Anyway, I will give it a go. Thanks.
-
PSD to HTML - Don't want it in tables. Help ASAP
Hi, When i moved my psd file over to dreamweaver and sliced a few images - the HTML is all in tables. My task is to create 'semantic code' - how do I go about making this website? Do i have to create divs, ie - header, wrapper, nav etc, then slice the images from the psd that I need, then recreate the psd by using CSS and HTML to create the divs and the width of the divs, then insert the images into the divs? Is that correct? Or am i chatting bs? Need help asap!! Thanks
-
Help! Need assistance with adding javascript into a web page...
If you could just take a look and tell me how to go about this then that would be great, thanks. Need to add javascript, make it responsive and create a fluid layout.
-
Help! Best method to convert a PSD to dreamweaver?
Hi evu, I've briefly looked at the fluid site link you sent me. But it didn't say how to actually implement it...? Like the other thread, I'll post up the layout later.
-
Help! Need assistance with adding javascript into a web page...
Can't at the moment, will do it later when home.
-
Help! Need assistance with adding javascript into a web page...
Hi, The psd file has a few buttons (images) so I guess I can do something there. I just need to add some interactivity for users - problem is I've never used JavaScript but need to show I've tried to implement something. At least! So this psd file - I've sliced most of the buttons and my initial thought is can you make some effect with to buttons? (Remember they are images) ...I don't really know what else to say as I don't know the functionality of JavaScript haha. I've been too busy just making sure I've been slicing correctly and watching YouTube videos. Going to work soon but I'll come back to the thread to provide more about the scenario if needs be. I've has experience with web design before like HTML CSS and Wordpress so I understand a bit of code and creating static websites and doing little tweaks. Used photoshop, fireworks and dream weaver but mainly to create images and crop but not JavaScript, working with psd and slicing, and responsive design. Thanks.
-
Help! Best method to convert a PSD to dreamweaver?
Hi, I do know HTML and CSS, I know how it all works. I've just never gone through the conventional method of creating a website from scratch from a PSD file to a functional website. (Sad I know!) Thank you for your replies, with regards to creating input boxes - the PSD file shows this, how do i go about doing that? They seem styled quite fancy and at the bottom of the web page. I have been able to slice up the psd file and open it in dreamweaver but my issue are the input fields at the bottom and there is a 'submit' button but the button is an image. How do I link that image with the input field that I have to create? If any of that makes sense? I am going to work soon but will definitely look at those links you sent me.
-
Help! Best method to convert a PSD to dreamweaver?
Also once I have got it into dreamweaver, do i need to make divs so everything is structured? I have been told to use 'fluid measurements' so (em+%) Someone please clarify this! Thanks TheJCD
-
Help! Need assistance with adding javascript into a web page...
Hi, I have been given a PSD file which needs to be converted into dreamweaver. After this bit has been sorted, I have been assigned a task to add javascript to the page. How does this would? Can people give me examples of how I would add javascript to make a page more dynamic? I can provide more information if necessary, sorry if I seem a bit vague, just in a rush! Thanks, TheJCD
-
Help! Best method to convert a PSD to dreamweaver?
Hi, I have been given a PSD file which I need to build. The file opens up in photoshop and there are buttons on the page, as well as a form field :S What is the industry method to get the PSD to Dreamweaver? Do I just need to use the slice tool? Prior to begin to slice, there are already slices already in the PSD (grey lines/boxes) turns out the PSD is made up of many blocks/grids. Can someone explain to me why this is? If someone can explain to me how this all works then i would be very very grateful! I can provide more information about the project if necessary. Thanks, TheJCD