PDA

View Full Version : A very confused new user of Dreamweaver and making websites


masstsnk
11-09-2010, 05:31 PM
Hi everyone!

I've spent hours trawling the net to try and solve these problems but I still don't have a solution. It could just be me being very confused as I was taught html and css VERY briefly by my boss for an hour...then I had to work the rest out. I've got this one web page running in Safari, but when I load if in Firefox I get:

XML Parsing Error: mismatched tag. Expected: </body>.
Location: file:///Volumes/Macintosh%20HD/Users/Massimo/Desktop/Web%20site/Book/Chapter01SH.xhtml
Line Number 479, Column 4: </html>
---^

And when I open up Dreamweaver Browser Compatibility Check I get this (http://www.flickr.com/photos/16478046@N04/5161875534/).

The HTML can be downloaded as a file here. (https://www.yousendit.com/download/dklvK3BNTkxqY3F4dnc9PQ)Sorry, I'm not sure how to wrap text up and every time I tried attaching a file it said it was over the limit, even though it wasn't!

Lines 124, 132, 134, 288, 351, 412 are highlighted in yellow.

It says line 6: Found 6 errors in template.css

Affects: Firefox 1.5; Internet Explorer 6.0, 7.0; Internet Explorer for Macintosh 5.2; Netscape 8.0; Opera 8.0, 9.0; Safari 2.0

Line 12 Found 1 errors in main.css

Affects: Firefox 1.5; Internet Explorer 6.0, 7.0; Internet Explorer for Macintosh 5.2; Netscape 8.0; Opera 8.0, 9.0; Safari 2.0


Line 127 - same as Line 12

and 'Unsupported Value: 'Middle' - Found 6 errors in template.css

Affects: Firefox 1.5; Internet Explorer 6.0, 7.0; Internet Explorer for Macintosh 5.2; Netscape 8.0; Opera 8.0, 9.0; Safari 2.0

...on lines 160, 166,172,179,242,313,319,325,332,376,382,388,395,43 8,444,450,457.

If anyone can help me I would be so grateful. I'm tearing my hair out over this and my boss is giving me no help at all. This is all new to me and I'm getting really confused.

Thank you so much!

masstsnk
11-09-2010, 05:44 PM
Sorry, my boss made me delete the html as it's for something copyrighted. I guess this means I can't be helped...!?

Corrosive
11-09-2010, 05:59 PM
Yeah, that really makes it tricky to help.

gentleone
11-09-2010, 07:28 PM
Nice boss you have.

Corrosive
11-09-2010, 07:30 PM
http://comps.fotosearch.com/comp/IMZ/IMZ238/angry-boss-shouting_~cwa0027.jpg

LEARN TO MAKE WEBSITES OR ELSE! DON'T GET ANY HELP. MY STUFF IS TOP SECRET!!!!

gentleone
11-09-2010, 07:51 PM
hahahahha :)

masstsnk
11-09-2010, 09:45 PM
Yeah you guys have got that pretty much spot on!

Corrosive
11-10-2010, 06:54 AM
Well, we'd love to help you out but we'd be flying blind I'm afraid. See if you can talk boss-zilla round.

masstsnk
11-10-2010, 11:09 AM
Ok, I deleted the content or replaced it with 'x's' so now my boss can't complain. Here is the file! (https://www.yousendit.com/download/dklvYlJha0Q1R05FQlE9PQ)

gentleone
11-10-2010, 12:12 PM
That's one hell of a messy page, mate! I don't blame you for this, but your boss who's thinking that one hour of 'bad example coding' will make you a webdesigner.

There's way too much bad things going on on that page, which takes a couple of hours for me to clean that up.

Tell your boss that you can't build web pages and especially if you target mobiles with .xhtml with an hour of bad coding lesson. There is more to it!

If you go on like this, it will lead you to more bad coding an thus bad working sites with heaps of errors.

masstsnk
11-10-2010, 12:15 PM
Hey gentleone,

Thanks for the honesty and heads up! Thanks for realising that I don't claim to be a coder as I only started yesterday! Any quick tips to clean it up a bit? At least to get it working on Firefox? Any help at all Would be appreciated!

gentleone
11-10-2010, 12:39 PM
Okay... one question tho'... what's the reason of saving the page with a .xhtml extension? With this extension the page will be treated just as an XML file... are you aware of that?

masstsnk
11-10-2010, 12:51 PM
It's so that it can be read and used on an iPad. It's a page from an eBook with a bit of javascript in it. So is the .xhtml extension not necessary?

gentleone
11-10-2010, 12:59 PM
Five years ago a .xhtml extension was important for cell phones, but not now anymore. All the smart phones and IPad can handle pretty easy .html. So my advise... just save as html. .xhtml will give you troubles in normal browsers.... especially IE (what's new?)