...

View Full Version : Serious HTML problem



MoMofranci
07-31-2012, 12:48 PM
Hey guys, i am having serious HTML problems with my site...i think it has a lot of errors and i am finding it hard to easily see the errors that the validator found and change them confidently....without messing up the site i mean. as a matter of fact when i look at the errors found by the validator it seems it has no errors there

can someone please please help me...this is my website
http://www.stigmaglobal.com/

MrTIMarshall
07-31-2012, 02:56 PM
I'll fix this for you, can you please explain how exactly it is meant to be appearing at the moment?

Best Regards,
Tim

VIPStephan
07-31-2012, 02:59 PM
Oh yeah, your code is kinda messy. It all starts already with the lack of a doctype (http://www.alistapart.com/articles/doctype/). But there is no point in trying to fix code a program has written for you with you apparently having not much experience yourself. I could only ask to rewrite it manually using semantic HTML.

MrTIMarshall
07-31-2012, 03:05 PM
Oh yeah, your code is kinda messy. It all starts already with the lack of a doctype (http://www.alistapart.com/articles/doctype/). But there is no point in trying to fix code a program has written for you with you apparently having not much experience yourself. I could only ask to rewrite it manually using semantic HTML.

I've just realised this, and when I copied their code, I was unable to edit certain fields.

As this is currently only basic, it shouldn't take too long to re-do, even if you don't know how to do so. Have a little Google research on div's and styling, HTML and css is fairly easy for what you've done so far.

I can help you along the way if you want? Simply ask on here or PM me.

Best Regards,
Tim

tempz
07-31-2012, 06:18 PM
You have some serious issues with your website.

I don't understand why you used a table :S

COBOLdinosaur
07-31-2012, 06:58 PM
Definitely some serious issues. That is not a layout, it is a drawing using absolute positioning. A page with a thousand ways to break. Plus no doctype to give the browser a clue what rules it should apply for rendering and using tables for layout makes it a 20th century relic.

Please help yourself by taking some time to learn HTML and CSS basics. Just google for some tutorials. You do not need to become a master of web development, but you need to understand enough to realize how bad that template is.

MoMofranci
07-31-2012, 08:58 PM
darn it, OK so is it because i posted the url and not the template, will it help if i sent the template itself? how can i change the coding now?
the thing is i put myself in it now...i need to upload the site in the next few days
how do i do an intensive course on HTML coding? i really need help

MoMofranci
07-31-2012, 09:01 PM
I've just realised this, and when I copied their code, I was unable to edit certain fields.

As this is currently only basic, it shouldn't take too long to re-do, even if you don't know how to do so. Have a little Google research on div's and styling, HTML and css is fairly easy for what you've done so far.

I can help you along the way if you want? Simply ask on here or PM me.

Best Regards,
Tim

i think the reason is because i made a template first (which has uneditable elements when made into a page), and then made the page from the template. all done on dreamweaver

MoMofranci
07-31-2012, 09:03 PM
I'll fix this for you, can you please explain how exactly it is meant to be appearing at the moment?

Best Regards,
Tim

should i do a screenshot?

tempz
07-31-2012, 09:04 PM
http://www.htmlcodetutorial.com/document/

What you want to learn is, HTML, CSS or CSS3, jQuery or Js.

Once you have learnt them start learning, MySQL, PHP and others.

VIPStephan
08-01-2012, 12:29 AM
What you want to learn is, HTML, CSS or CSS3, jQuery or Js.

Once you have learnt them start learning, MySQL, PHP and others.

Whoa, take it easy, will ya? The OP said they need to go live in a few days so don’t overburden them with terms that are completely irrelevant for the imminent task at hand and would take at least a year to learn properly (I would even claim that learning plain ol’ HTML in a few days is a little too much to ask for).

And are you seriously referencing a source that says “Copyright 1997–2002”, i. e. which is 10–15 years old?? I get eye cancer by looking at the uppercase tags already and shudder when I see someone talking about attributes like “topmargin=0” and the Netscape browser. Go with time, man, and update your sources. Even W3Schools is more up-to-date although that wouldn’t be my first recommendation either. I recommend http://htmldog.com/ for starters.

tempz
08-01-2012, 12:41 AM
Whoa, take it easy, will ya? The OP said they need to go live in a few days so don’t overburden them with terms that are completely irrelevant for the imminent task at hand and would take at least a year to learn properly (I would even claim that learning plain ol’ HTML in a few days is a little too much to ask for).

And are you seriously referencing a source that says “Copyright 1997–2002”, i. e. which is 10–15 years old?? I get eye cancer by looking at the uppercase tags already and shudder when I see someone talking about attributes like “topmargin=0” and the Netscape browser. Go with time, man, and update your sources. Even W3Schools is more up-to-date although that wouldn’t be my first recommendation either. I recommend http://htmldog.com/ for starters.

I typed HTML Tutorial in Google and that looked the easy to start learning. I don't go around checking dates etc.

If want to spend your time making sure he's learning up to date code, be my guest!

On the other hand, It's better for him to learn HTML then move on to PHP/MySQL because most modern websites require some sort of php script.

waxdoc
08-01-2012, 12:58 AM
If the template is a problem. View>Source of site page, Select ALL (cmd/ctrl-A), copy (cmd/ctrl-C), create a new HTML doc in Dreamweaver, in CODE view select all and paste (cmd/crtl-V) Source code you copied from site. MODIFY>Template> Detach from Template.

That does ot solve the HTML or CSS errors, but it will release you from the erroneous template.

tempz
08-01-2012, 04:09 AM
You have some serious issues with your website.

I don't understand why you used a table :S

I see what you did there!


http://www.tiopike.com/wp-content/uploads/2012/03/i-see-what-you-did-there.png

MoMofranci
08-01-2012, 02:46 PM
i put the doctype, still not exactly sure what doctype i should be using. ran the page through validator some of the errors are hard to understand, but i've been trying to fix most of them. im think im just gonna try and upload it in the interest of time, then rewrite it again with more time. i welcome any help which willbe extremely appreciated.

COBOLdinosaur
08-01-2012, 06:51 PM
In my experience, most clients will accept late delivery of a quality product, but if you deliver junk on time; you will not get repeat business, and there may be some dispute about final payment.

MoMofranci
08-03-2012, 04:34 PM
I have managed to sort out links and stuff
but why is the site not centred in google chrome but it is in firefox

the margin is 0 auto.....

http://www.stigmaglobal.com/homepage.html
is there something im doing wrong

COBOLdinosaur
08-03-2012, 05:22 PM
The margins and other positioning properties do not mean a thing as long as everything is absolutely position. The browsers have zero options on how to render because they are being commanded to produce a rigid format based on absolute positioning.

As I said earlier; this is not a layout, it is a drawing. This kind of rigid approach will render acceptable cross-browser or cross-resolution. It is not workable.

MoMofranci
08-03-2012, 05:31 PM
is there anyway to rectify this problem....i am not too versed, the major problem is that it is not centred on some browsers
also how would i make a website/template without the design first
i learnt by designng on photoshop first then slicing and then building on dreamweaver

COBOLdinosaur
08-03-2012, 05:51 PM
I saw a quote the other day on another forum:"The only thing you can learn from Dreamweaver is how not to build a website".

You lack the basics. It is like someone trying to build a house without first learning how to use a hammer and saw. You need to learn HTML and CSS ... plus a little javascript at the very least.


how would i make a website/template without the design first

You start with requirements and defined functionality; not from a picture. The content and functionality define layout. After the structural layout is in place you decide how it should look and start adding the eye-candy. If you start with a look it ends up being 3 times as much work, probably is inefficient and unreliable, and will be difficult to maintain.

It is unfortunate that you started learning the wrong way. The only way to correct that is to step back and learn the basic you need.

MoMofranci
08-03-2012, 06:30 PM
I started with functionality before the site was designed, all links, logo etc was determined first...theres really no other way to do this..its just that it was done on PS

its obvious i need to learn html/css etc....i wouldn't have posted on the thread if thats what i wanted to know, i wanted to find out if anyone could help me considering the time frame i have
so your informed post is not actually productive to me, i take nothing out of it except "you need to learn HTML, CSS etc" and that i already know....since i started this thread
but thank you though, if you know anyone that can point me to my coding errors exactly and maybe hopefully a way of fixing them or help with fixing them, THAT would be productive.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum