help a newbie !
Hey people, just got this link from a friend and they said theres alot of helpful people on there that probably wouldnt mind lending me 20mins of there time.
Ive made a website and everythings fine but the background on it, i cant seem to get it right its probably real simple but if anyone could msg me id love it, id prefer MSN , my email is [email protected] or just PM me
Thanks heaps in advance!
residual2 posted this at 11:16 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
ive actually uploaded it too some free hosting someone gave me but it just shows up as a white page with bad scripting ? any ideas ? website is
http://www.geocities.com/solid_design2003
JeevesBond posted this at 11:48 — 14th January 2004.
He has: 3,956 posts
Joined: Jun 2002
That just came up with a blank screen, with a Geocities advert. Had a look at the code, which showed a considerable number of tables and other junk...I don't have time to search through the code for the problem right now...Sorry.
I would start by looking through your Javascript for the problem, the only error i got was an external Javascript file (which appears to have come from Geocities) being blocked by IE.
Oh! Just seen something which might cause the problem: All your table widths are set to 100% (even nested ones)...And there are plenty of tables in there! You need to sort that out
a Padded Cell our articles site!
residual2 posted this at 12:41 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
heh thats the thing, i dunno what i did and now i cant undo it so much for backups eh arghhh im screwed ! but it works on local drive when i open it its all perfect ??? hmmmm
JeevesBond posted this at 13:15 — 14th January 2004.
He has: 3,956 posts
Joined: Jun 2002
Well your code leaves a lot to be desired. My advice: Re-write all the code, and make sure you get it right
residual2 posted this at 13:35 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
K, gone through it hadnt closed the head and its actually geocities not liking it i uploaded onto t35/ my isp webspace and it worked fine weird
residual2 posted this at 14:45 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
Ok, ive somewhat fixed it up a bit got it online all working fine, but on my login when i take out password it makes the image perfect when i put password back in it ruins the image, any ideas here maybe shrinking the text size ? site is residual2.t35.com
druagord posted this at 14:49 — 14th January 2004.
He has: 335 posts
Joined: May 2003
well if we could see what it look like wwe could probably give better advice
residual2 posted this at 14:52 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
Its funny this hosting when i go to http://residual2.t35.com it comes up with no images but when i go residual2.t35.com it comes up fine....hmmm sorry drua, forgot the link
druagord posted this at 14:58 — 14th January 2004.
He has: 335 posts
Joined: May 2003
Well ok i had a look i'm on a mac here so do want you want with what i say. on netscape everything look fine. but on explorer i get a blank page. i noticed that the tag is missing
IF , ELSE , WHILE isn't that what life is all about
The Webmistress posted this at 15:03 — 14th January 2004.
She has: 5,586 posts
Joined: Feb 2001
Right, now that we can see the page what was your problem?
Welcome to TWF by the way - stop by the introductions section and tell us more about yourself.
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
residual2 posted this at 15:09 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
Drua, i appreciate your help any would be great and yeah i just put the tag back in, now mistress the problem is the login if you see where it says PASSWORD its like skipping something in the graphic but when i take out PASSWORD it changes back to a perfect image yet the size is on 1 and i cant go any smaller, btw thx for the welcome ill head to the intro now !
druagord posted this at 15:16 — 14th January 2004.
He has: 335 posts
Joined: May 2003
Weird i still get a blank page on IE for mac
residual2 posted this at 15:19 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
Yeah on geocities when i uploaded it before it was getting a blank screen, i thought it would have been the head tag but i changed it and still no luck, i uploaded it onto t35 now and it seems to be working fine for me on IE
JeevesBond posted this at 15:45 — 14th January 2004.
He has: 3,956 posts
Joined: Jun 2002
It's not suprising, your coding is terrible...unless you clean it up, it will never display in a reliable useable way on different platforms/browsers!
a Padded Cell our articles site!
residual2 posted this at 16:17 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
....this is first time ive actually done html in a site....i have no clue what to clean up, where do i start?
The Webmistress posted this at 16:19 — 14th January 2004.
She has: 5,586 posts
Joined: Feb 2001
What are you using to create the html?
residual2 posted this at 16:21 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
some stupid program the school has, there cheap its coffeecup html or something and the graphics were done in photoshop.
The Webmistress posted this at 16:54 — 14th January 2004.
She has: 5,586 posts
Joined: Feb 2001
Try validating your code which will help you to clean up your code and then go on from there.
residual2 posted this at 17:07 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
Well i failed haha, it says to do some doctype yet i have no clue where abouts to put it in my html any chance of some help here ?
I could not parse this document, because it does not include a DOCTYPE Declaration. A DOCTYPE Declaration is mandatory for most current markup languages and without such a declaration it is impossible to validate this document.
You should place a DOCTYPE declaration as the very first thing in your HTML document. For example, for a typical XHTML 1.0 document:
Title
The Webmistress posted this at 17:23 — 14th January 2004.
She has: 5,586 posts
Joined: Feb 2001
When you use your html editor is there a choice of which standard it does the code to?
residual2 posted this at 17:31 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
Nope, well at the moment im trying to work out what doctype to use....omg so hard this scripting stuff
residual2 posted this at 18:16 — 14th January 2004.
They have: 37 posts
Joined: Jan 2004
Ok went through http://www.doctor-html.com/RxHTML/cgi-bin/single.cgi and everything is perfect on the site http://residual2.t35.com besides for the browser errors, it runs fine in HTML 4.0, Opera 6.0 and IE 4.0, 5.0, 5.5 and 6.0. If anyone could just have alook at my code and let me know whats wrong id really appreciate it, just wanna get it working with Netscape 6.0 and 7.0 others im pretty sure nobody uses anymore...oh well 3am over here in australia time for some sleep gnight
Suzanne posted this at 20:51 — 14th January 2004.
She has: 5,507 posts
Joined: Feb 2000
No, you're not valid: http://validator.w3.org/check?uri=http%3A%2F%2Fresidual2.t35.com%2F
1. you are using CSS with HTML 3.2 -- it's not supported! you have to use HTML 4.01
2. you have multiple body and html tags
3. you are using the attribute type for script elements, it's not supported in HTML 3.2
4. you have some incorrect attributes in there (extra img within an image tag...
See attached. It's not perfect, but at least you're a lot closer. You can handle fixing the other errors and replacing bad markup with proper CSS from there.
residual2 posted this at 03:04 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
heh all i know about css is what i read in a book wouldnt have a clue about it but thx heaps for the semi-fixed file now to work out the css part
residual2 posted this at 04:44 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
Ok....ive got it down to 7 errors but i cant quite figure out how to fix these last 7 heres the link to the results : http://validator.w3.org/check?uri=http%3A%2F%2Fresidual2.t35.com%2Findex3.html&charset=%28detect+automatically%29&doctype=%28detect+automatically%29 anyone know how to fix them 7 errors thx
Abhishek Reddy posted this at 05:28 — 15th January 2004.
He has: 3,348 posts
Joined: Jul 2001
Sure.
#1: remove height="100%". You can't use that in tags.
#2: replace background="images/topback.jpg" with style="background-image:url('images/topback.jpg')"
#3:
<td height="8"><span class="style7"><font size="0.5">USERNAME:</span></td>
'Notice how you've opened a font tag, but not closed it before the bit? Add a just before the .#4: Similar error to #3.
#5: In this case, you're closing the font tag after the . Since was opened first, it must be closed last. Move the to just before the .
#6: Similar error to #5.
#7: Similar error to #5.
Hth
residual2 posted this at 07:50 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
Your a life saver helped me so much although ive got just 2 left that i cant get any ideas ? http://validator.w3.org/check?uri=http%3A%2F%2Fresidual2.t35.com%2Findex3.html&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&verbose=1
residual2 posted this at 08:18 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
Ok alls good in validation now one more question to you gurus out there, if you notice on this page the login down the bottom, see how its fine but just around wrong way, ive tryed putting it as USERNAME - TEXTFIELD1 - PASSWORD - TEXTFIELD2 here but now its got a space between username and the textfield......i tried aligning it to bottom without any luck then i put in vertical-align:bottom; into the style7 up top and it comes out like this but now all its done is spaced it from the top......can someone please help
JeevesBond posted this at 12:42 — 15th January 2004.
He has: 3,956 posts
Joined: Jun 2002
I've fixed the problem, and cleaned up the table code for you:
<table cellspacing="0" cellpadding="0" width="170" align="center" border="0">
<tr>
<td height="8">
<span class="style7">USERNAME:</span><br>
<input style="border: #3d4b4f 1px solid; font-size: 12px; width: 170px;" name="textfield2222">
</td>
</tr>
<tr>
<td height="8">
<span class=style7>PASSWORD:</span><br>
<input style="border: #3d4b4f 1px solid; font-size: 12px; width: 170px;" name="textfield2222">
</td>
</tr>
</table>
a Padded Cell our articles site!
Abhishek Reddy posted this at 12:50 — 15th January 2004.
He has: 3,348 posts
Joined: Jul 2001
Try removing height="28" from the in which you have the textfield for th username.
And congratulations on the (nearly) valid code. I would still remove the height="100%" and alter my design to suit a changing height.
Or what Jeeves said. Good work, 002.5.
residual2 posted this at 13:14 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
Thanks heaps ! id try and validate it but the bloody site went down for some reason and i cant connect to the FTP.
JeevesBond posted this at 14:16 — 15th January 2004.
He has: 3,956 posts
Joined: Jun 2002
#1 Remove the height attribute from the table (how many times?! )
#2 Check line 142 & 143...You have: (where ... are the other attributes of the tag) this isn't allowed as you haven't defined a and . The first table declaration is redundant so you need to delete it.
#3 See problem 2... You have a redundant tag on line 142, delete and the second 2 errors will go away.
Hope this helps
a Padded Cell our articles site!
JeevesBond posted this at 14:17 — 15th January 2004.
He has: 3,956 posts
Joined: Jun 2002
Hey?! Did you delete your last post? Or am I missing something?
residual2 posted this at 14:20 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
http://residual2.t35.com/index3.html - now how come the site doesnt go all the way to the bottom it like stops a bit ! omg what a bad few days for me and now ive got 4 errors in validation up from 1 arghhhhhhhhhh
The Webmistress posted this at 14:25 — 15th January 2004.
She has: 5,586 posts
Joined: Feb 2001
residual2, please don't go back and amend/delete your postings as it becomes very hard for anyone new to this thread to understand what's going on and for those involved to keep track of what's happened!
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
Abhishek Reddy posted this at 14:39 — 15th January 2004.
He has: 3,348 posts
Joined: Jul 2001
Regarding validation:
142: <td height="71" valign="top" style="background-image:url('images/loginback.jpg')">
<table width="170" border="0" align="center" cellpadding="0" cellspacing="0">
143: <table cellspacing="0" cellpadding="0" width="170" align="center" border="0">
Like Bond says, you have which is not allowed. What you want is . . . etc. And don't forget to close any new tags you add.
I suspect the other errors are related to the above. Very often, several errors shown by the validator really stem from maybe just one or two errors in the code. After all, the validator is only a machine, and if one error throws it off, it'll see other "correct" things as mistakes too. So don't be disheartened by it.
Regarding the height: I think it's better to leave the height flexible rather than filling up the screen. height=100% is not valid, so it may not display the same across different browsers. Also, wait till your site fills up with content before you judge the minimum height. And also, with one image and some CSS trickery you could get the grey bar on the right and the blue at the bottom to repeat so that it appears to fill up the white space.
JeevesBond posted this at 14:39 — 15th January 2004.
He has: 3,956 posts
Joined: Jun 2002
Especially when you spend ages working out what those errors in the deleted post were and then more time fixing them! Grrr, my patience is running out with this one...
Anyway, stop moaning about getting errors, I've already posted the answer. Fix them - it isn't rocket science!
a Padded Cell our articles site!
JeevesBond posted this at 14:42 — 15th January 2004.
He has: 3,956 posts
Joined: Jun 2002
Abishek:
The last error he got was an unlosed and both table declarations are identical, I advise delete the first declaration instead - what do you reckon?
a Padded Cell our articles site!
Abhishek Reddy posted this at 14:49 — 15th January 2004.
He has: 3,348 posts
Joined: Jul 2001
You're right. I thought about that just after re-reading. Didn't notice they were identical -- likely an accidental repeat. Deleting the first is probably the best way to go.
residual2 posted this at 14:53 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
Ok ive fixed all the errors but #1 the height one, when i take out the height it screws up the tables on the page, any suggestions about that ?
JeevesBond posted this at 15:02 — 15th January 2004.
He has: 3,956 posts
Joined: Jun 2002
Put it up on the site without the 100% I'd like to have a look at what happens
residual2 posted this at 15:05 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
http://residual2.t35.com/index4.html
residual2 posted this at 15:07 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
OMG this bloody host has gone down again.....damnit !!
residual2 posted this at 15:10 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
Going to have to wait for this host to come back online hopefully soon, cant find any other hosting, geocities and web1000 just comes up as blank pages when ive uploaded it, sorry! .
JeevesBond posted this at 15:14 — 15th January 2004.
He has: 3,956 posts
Joined: Jun 2002
Host is ok now... I have taken a look, and all seems fine. If you put some content into the main part of the page it'll stretch down to fill the gap.
a Padded Cell our articles site!
residual2 posted this at 15:24 — 16th January 2004.
They have: 37 posts
Joined: Jan 2004
Ok after 3 days and 40 posts the front page is finally finished !! omg. heh still cant validate the height bit, but no worries only 1 error, id really like to thank Jeeves, Mistress and Suzanne and especially to Abhishek who stayed up till 3am in IRC helping me hes a damn legend so now its onto the login and php ...omg here we go again once again thanks everyone. Btw site is here if u wanna check it out.
The Webmistress posted this at 15:24 — 15th January 2004.
She has: 5,586 posts
Joined: Feb 2001
To be honest my advise would be for you to try and simplify your design so that you don't need background to fill spaces. Get a simple design done, validate the code, sort out the css and get the content added. Once you have done this then you can move on to more complex designs with the basics of a good site under your belt.
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
residual2 posted this at 15:27 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
yeah ? it looks all weird to me, the actual version with the 100% in is http://residual2.t35.com/index3.html and the one without the 100% is http://residual2.t35.com/index4.html
residual2 posted this at 15:30 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
For some reason when i just tried to validate index4, it came up with the height being 1000%, yet i took it out so i tryed again and reuploaded and its still coming up as 1000% no idea why it would be doing that.
residual2 posted this at 16:24 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
Ok.....i give up this is just annoying now, i delete the height attribute preview it on localdisk its fine then upload it, go to validate and its been changed to height="1000%" so i do it again making sure theres no height="1000%" and it still screws up so i changed it to style height: 100%" and its all fine but then i upload and it changes it again to height="1000%" but without the style........omg someone help me on this
JeevesBond posted this at 16:27 — 15th January 2004.
He has: 3,956 posts
Joined: Jun 2002
Good point Julia!
Be careful with WYSIWYG editors as well, as it stands your site is 10 times more complicated than it should be, and as you can see: Doesn't validate! It will be far easier for you to learn how to code if you use a decent editor, instead of trying to decipher the mess your current one has created!
a Padded Cell our articles site!
residual2 posted this at 16:30 — 15th January 2004.
They have: 37 posts
Joined: Jan 2004
Does it really 100% matter if its validated....like only one error :/ but is there also anyway to expand the page so i dont have the white line down the bottom where the page ends, also what kind of editor do u recommend ?
Abhishek Reddy posted this at 23:47 — 15th January 2004.
He has: 3,348 posts
Joined: Jul 2001
It really depends on who your target audience is. If you're aiming for, or including, say, disabled/impaired people in your audience, then you'll want the site to be 100% valid and also compliant with accessibility guidelines. If you're going for techy people who have and use the latest software, then you can be a little more lenient with the validation. And so on.
Sometimes the validator brings up unrealistic or very nitpicky errors that may be able to ignore, but it's usually possible to come clean on everything.
Imho, the best editor is any good text editor. I build and edit my sites manually. Helps me learn more and get to know the code better. But some others would recommend Macromedia's Dreamweaver because it can produce standard and valid code... there's quite a bit to it. Search the forums for previous discussions on the matter.
JeevesBond posted this at 08:27 — 16th January 2004.
He has: 3,956 posts
Joined: Jun 2002
Personally use the code view in Dreamweaver, it is a very good text editor by itself
The underling problem to this is the junk code your editor has generated, although not as bad as Frontpage or Word, it still impedes your learning.
Abishek is right - Start off by learning HTML the right way!
a Padded Cell our articles site!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.