Everything posted by JohnNerush
-
passing a varable
Well since you are using php i would reccomend using sessions, a very simple guide to this: At the start of your php file/s that will have the variable passed, put the following statement at the very top, directly after the <?php tag on a new line. session_start(); Now you can set variables to be stored in the session. Setting a session variable is done liek this: $_SESSION['name'] = $var name is anything you want it to be, name it somthing that will help you remember what the variable is used for. $var is the variable you want to pass. To call the variable simply echo the session var: echo $_SESSION['name']; $_SESSION['name'] will hold the variable through as many pages as you want providing the page has session_start(); at the very beggining. To destroy the var and the session put this at the bottom of your final page: session_destroy();
-
passing a varable
You could use sessions, cookies or hidden form fields, are you using PHP?
-
Username and Password fields
Yes, all the form elements are generated with html, you can make them look anyway you want without them working. you then need to use the php to make them functon and yes make them work.
-
Username and Password fields
Hi, there are a few here: Membership scripts. Just be sure to read about securing your php applications (assuming your going to be using php and mysql). Securing php apps
-
Replacing text with images in PHP script.
What advantage will you achive with this system over js/flash text replacement like Sifr?
-
Injecting colour into motone layouts?
I tend to try and stay away from multilevel unless absolutly necessary, a main services page with links leading from it would be fine imo.
-
Injecting colour into motone layouts?
Nice design. In all honesty the only thing i would do is add a border under each of the nav buttons, similar to the line under the logo, you could then also colour them to bring in the colouring you wanted.
-
the dreaded horizontal scroll bar
change } #wrapper { height: auto; margin: 0 auto; padding: 0; width: auto; } to } #wrapper { height: auto; margin: 0 auto; padding: 0; width: 98%; } and change every other "width: auto;" to "width:100%;". It is untested but might work. Your style sheet could also do with some love, its contents is all over the place.
-
Graphic / Cartoon / Animated etc.
You can scketch then scan and colour in illustrator/photoshop with the pen tool etc. You can use a graphics tablet/pen mouse to sketch digitally onto the computer. Alternativly you can illustrate with the pentool directly.
-
tag cloud
Here is an example based on what I said above. Tag cloud styling
-
tag cloud
A tag cloud would generally be done with HTML text rather than images.
-
Space between Div's in IE7
Yes thats correct, im glad it worked. Basically it is a wild card removing all defult padding and margin, each brouser will add its own ammount of padd/margin to some elements, this causes alot of cross brouser problems. The general principle behind using a reset is to use a list of elements rather than using the wildcard, i use the following: html, body, div, h1, h2, h3, ul, li,p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; } you can read about them on nettuts here or do a google search for css reset.
-
Space between Div's in IE7
I think ZigPress is on the right track, as a test add this (below) to the top of your css file. * {margin:0; padding:0; } If that works then you should read about "CSS Reset's" and the correct way to do it.
-
Where do I start?
hehe you will get there, just takes time to get your head round it.
-
Where do I start?
Well i use Dreamweaver and PHPDesigner 2008 pro depending on what im doing, the main reason i use dreamweaver is becasue i am lazy and like to use the built in ftp for single file uploads. Out of the ones i linked i would say notepad++ or phpdesigner but it is a very opinionated debate hehe you will possibly have a different opinion.
-
Where do I start?
Yes they should all be free. Some are linked below: Notepad++ PHPDesigner lite Notepad2 Zeus Editor
-
Where do I start?
No specific order other than Editor > XHTML and CSS, everything else will follow. I would recomend anything other than notepad, look at things like Notepad ++, PHPDesigner Lite (it is fine for HTML, CSS, JS etc) Notepad 2, there are loads. The biggest benifit is code highlighting and tools that will speed up your coding. A couple of months and you should be confident in coding and the process in how you develop your design into html and css.
-
Stopping a black outline around image in html
Didnt mean it in any way other than pointing out that there is a huge ammount of variation in style/preference of coding technuiqes, just to clarify. Just defining #class img would result in unecessary code additions to the style sheet in the event you was to want an image (Edit, with a border) within the class that didnt have anchor tags wrapping it. in my opinion But maybe thats just a bad/unecessary style i have picked up over time.
-
Stopping a black outline around image in html
Its basically personal preference/coding style as to wether you do the full set of elements or a short handed version. I generally do the full list but it depends on the HTML layout and your style of CSS.
-
Where do I start?
Edit for spelling, my my it is terrible tonight, good job spelling isnt normally my issue as a designer ^^ Learn (X)HTML I would got for XHTML rather than HTML, XHTML is basically a stricter version, it requires all tags to be closed etc, you can learn about the different types and the basic code on the w3.org website. Learn CSS This is how you make things look nice, colouring your fonts, styling your boxes etc, I would reccomend pixel2life.com and google for css tutorials. Learn the basics of SEO (Search engine optimisation) It is not hard to learn what to do and what not to do, you will benifit in the long run by taking the time to read on this while your learning. Look at CSS gallerys See what other people are doing, visit the sites and look at the source code, it is a great way to learn. Get a decent IDE/Coding tool Find one you like and learn its interface and built in tools then stick with it, you will benifit from a familar working enviroment. Most importantly Dont give up and keep practicing, it takes time to get good but is worth it, there is nothing like the feeling of getting up for work and not being unhappy while you are there
-
Stopping a black outline around image in html
change round the a and img #buttons a img {
-
Stopping a black outline around image in html
Im pretty sure it wont validate however it is best practice to use css regardless.
-
google page ranking
hehe im sure its alovely site, certainly sounds like it. i would love to see it if your willing to share the url.
-
google page ranking
the google tool bar that gives you the correct PR is only updated every 3 months i belive. If your using a PR calculator i can not vouch for how accurate they are or if they work at all.
-
google page ranking
It is generated by a secret alogorythm that I doubt will ever be avalible for you and me to see. All we know is some of the biggest contributing factors, SEO is not my speciality so hopfully somone will confirm/deny what i say. I belive some of the biggest contributors to your Google PR is: Backlinks from other sites, the better the content match the better the backlink is, and the higher PR that site has gives you more "points" also. Well written code and correct use of heading tags, not hiding keyword heavy content for search engine spiders to crawl through while the user cannot see it (ie: putting a bulk ammount of keywords and links to within your site in white on a white background hidden behind an image...). Well written and fresh content, changing on a regular basis. A well created robots.txt file? - not sure how much this would effect how google feels about you, just speculation. Like i said, not an SEO expert but that is what i can think of off the top of my head.