Re: [WSG] What have I missed here?

2003-12-21 Thread Ryan Christie
I'm taking a glance at your page errors and will give you a few points 
to help you get stuff sorted out./

Line 48 
http://validator.w3.org/check?uri=http://auslegs.com.au/about/index.cfm#line-48, 
column 112/: there is no attribute height (explain... 
http://validator.w3.org/docs/errors.html#attr-undef)
|...llspacing=0 cellpadding=0 height=18|

table's height are defined by the total height of it's columns. columns 
have a height property, tables do not.

/Line 92 
http://validator.w3.org/check?uri=http://auslegs.com.au/about/index.cfm#line-92, 
column 154/: character  is the first character of a delimiter but 
occurred as data ...=MCTimber / Metal Combination Legs  Metal 
Legs/a/li

|
Anywhere you want an ampersand to display on a page, it has to be entered using its
unicode encoding which is amp;
|/Line 150 http://validator.w3.org/check?uri=http://auslegs.com.au/about/index.cfm#line-150, column 
82/:  required attribute alt not specified (explain... 
http://validator.w3.org/docs/errors.html#attr-missing).
 |com.au/images/SmallFooterSymbol.jpg/p|
All images have to have an alt attribute in xhtml. It's pretty easy to forget to 
include
alt's if you're not always thinking about it. i do it all the time :)
/Line 150 http://validator.w3.org/check?uri=http://auslegs.com.au/about/index.cfm#line-150, 
column 86/:  end tag for img omitted, but OMITTAG NO was specified
 |au/images/SmallFooterSymbol.jpg/p
you didn't close the img tag properly. In XHTML, img tags have to be written up as
img src=url alt=alt text / .. if you add a space and slash to the end of your
img tags, these errors will go away. same goes for the hr tag you used; needs to be hr 
/
|/Line 152 
http://validator.w3.org/check?uri=http://auslegs.com.au/about/index.cfm#line-152, 
column 26/:  reference not terminated by REFC delimiter
|p align=centercopy 2003 Auslegs, Pitt Town, NSW, Australia/p
that's just a run-on mumbo jumbo for you forgot to put a semicolon after the copy
|//||
HTH bud
-Ryan
http://www.theward.net
Michael Kear wrote:

A are you saying just cos there's 56 teensy weensy little errors that
makes a difference
Gulp!   Yeah. Well by the time I've fixed all those I might just have fixed
whatever the problem is. 

Thanks Peter.

Cheers
Mike Kear
-Original Message-
From: Peter Firminger [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 21 December 2003 1:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [WSG] What have I missed here?

Hi Michael,

First problem is that the page isn't valid.

http://validator.w3.org/check?uri=http://auslegs.com.au/about/index.cfm

Second, the CSS isn't valid.

http://jigsaw.w3.org/css-validator/validator?uri=http://auslegs.com.au/style
s/auslegs.csswarning=1profile=css2usermedium=all
I suggest sorting those issues out first as this will eliminate some of the
problems and make troubleshooting easier for others. A doctype is very
important as it affects how browsers render the page.
Regards,

Peter

 

-Original Message-
From: Michael Kear [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 4:36 AM
To: [EMAIL PROTECTED]
Subject: [WSG] What have I missed here?
I tried using the classic CSS menu from the Uberlink CSS
Rollovers: Overview
article I picked up on this list.  I managed to copy the code
and style
sheet from that tutorial, and now I want to see how it will
work on a site
I'm working on.  It's a two-level menu setup though, so I
want to have the
minor level have different style.
I've managed to get two levels in the menu ok, but for some
reason the first
item in the sub-level has all the characteristics of the top
level.   Can
anyone see what I've got wrong in the code?
The page is at http://auslegs.com.au/about/index.cfm

And the style sheet concerned is at
http://auslegs.com.au/styles/auslegs.css
The first sub-menu item should be classic turned timber
lounge legs - the
first item under the Products category.
The structure of the menu on the page is:

ul
 liTop level item/li
 liTop level item/li
 liTop level item
   ul
  liSecond level item/li
  liSecond level item/li
  liSecond level item/li
   /ul
/li
liTop level item/li
ul
Is anything wrong with this structure?  It works fine on
another site I
have.
Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
p.s. I know it looks horrible right now. I want to get this
to work then
I'll do some pretty graphics for the menus to suit the site.
*
The discussion list for http://webstandardsgroup.org/
*
   



*
The discussion list for http://webstandardsgroup.org/
* 



*
The discussion list for http://webstandardsgroup.org/
* 



 

*
The 

RE: [WSG] What have I missed here?

2003-12-21 Thread Peter Firminger
Hi Michael,

When you output the data from the database, do a replacement on  with amp;
so that it doesn't have to be changed in the database.

Not wanting to go too far off topic (it's to do with valid output so I think
it's ok) the way I do this in CF is the following in application.cfm:

cfscript
function OutputFormat(string)
// cleans the output from the database to the page
{
returnstring = Trim(string);
returnstring = Replace(returnstring, '', 'amp;', 'all');
return returnstring;
}

request.OutputFormat = OutputFormat;
/cfscript

Then on the page itself:

#request.OutputFormat(database_field_content)#

P

 -Original Message-
 From: Michael Kear [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 21, 2003 10:08 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [WSG] What have I missed here?


 Thanks Ryan,  But I'm working on that page at the moment, and
 there's no
 telling what you'll see if you look at it now.

 I'm not sure about the ampersand.  It's a dynamic field
 coming form the
 client's inventory database and I don't think I'll be asking
 him to change
 his inventory and invoicing system just so it can please a
 web validator.
 Maybe I'll just make do with a lesser standard rather than
 have him change 4
 or 5 of his internal systems.  I'll have to think about that.


 But thanks a lot for going to the trouble to help.   I'll have a go at
 tidying up the page and see where I stand after that.


 Cheers
 Mike Kear

 -Original Message-
 From: Ryan Christie [mailto:[EMAIL PROTECTED]
 Sent: Sunday, 21 December 2003 9:29 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [WSG] What have I missed here?


 I'm taking a glance at your page errors and will give you a
 few points
 to help you get stuff sorted out./

 Line 48
 http://validator.w3.org/check?uri=http://auslegs.com.au/about
/index.cfm#lin
 e-48,
 column 112/: there is no attribute height (explain...
 http://validator.w3.org/docs/errors.html#attr-undef)
  |...llspacing=0 cellpadding=0 height=18|

 table's height are defined by the total height of it's
 columns. columns
 have a height property, tables do not.

 /Line 92
 http://validator.w3.org/check?uri=http://auslegs.com.au/about
/index.cfm#lin
 e-92,
 column 154/: character  is the first character of a delimiter but
 occurred as data ...=MCTimber / Metal Combination Legs  Metal
 Legs/a/li

 |
 Anywhere you want an ampersand to display on a page, it has
 to be entered
 using its
 unicode encoding which is amp;

 |/Line 150
 http://validator.w3.org/check?uri=http://auslegs.com.au/about
/index.cfm#lin
 e-150, column 82/:  required attribute alt not specified
 (explain...
 http://validator.w3.org/docs/errors.html#attr-missing).
   |com.au/images/SmallFooterSymbol.jpg/p|

 All images have to have an alt attribute in xhtml. It's pretty easy to
 forget to include
 alt's if you're not always thinking about it. i do it all the time :)

 /Line 150
 http://validator.w3.org/check?uri=http://auslegs.com.au/about
/index.cfm#lin
 e-150, column 86/:  end tag for img omitted, but OMITTAG
 NO was specified
   |au/images/SmallFooterSymbol.jpg/p

 you didn't close the img tag properly. In XHTML, img tags
 have to be written
 up as
 img src=url alt=alt text / .. if you add a space and
 slash to the end
 of your
 img tags, these errors will go away. same goes for the hr
 tag you used;
 needs to be hr /

 |/Line 152
 http://validator.w3.org/check?uri=http://auslegs.com.au/about
/index.cfm#lin
 e-152, column 26/:  reference not terminated by REFC delimiter
 |p align=centercopy 2003 Auslegs, Pitt Town, NSW, Australia/p

 that's just a run-on mumbo jumbo for you forgot to put a
 semicolon after
 the copy
 |//||
 HTH bud

 -Ryan
 http://www.theward.net


 Michael Kear wrote:

 A are you saying just cos there's 56 teensy weensy
 little errors that
 makes a difference
 
 Gulp!   Yeah. Well by the time I've fixed all those I might
 just have fixed
 whatever the problem is.
 
 Thanks Peter.
 
 
 Cheers
 Mike Kear
 
 -Original Message-
 From: Peter Firminger [mailto:[EMAIL PROTECTED]
 Sent: Sunday, 21 December 2003 1:08 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [WSG] What have I missed here?
 
 Hi Michael,
 
 First problem is that the page isn't valid.
 
 http://validator.w3.org/check?uri=http://auslegs.com.au/about
/index.cfm
 
 Second, the CSS isn't valid.
 
 http://jigsaw.w3.org/css-validator/validator?uri=http://ausle
gs.com.au/styl
 e
 s/auslegs.csswarning=1profile=css2usermedium=all
 
 I suggest sorting those issues out first as this will
 eliminate some of the
 problems and make troubleshooting easier for others. A
 doctype is very
 important as it affects how browsers render the page.
 
 Regards,
 
 Peter
 
 
 
 -Original Message-
 From: Michael Kear [mailto:[EMAIL PROTECTED]
 Sent: Sunday, December 21, 2003 4:36 AM
 To: [EMAIL PROTECTED]
 Subject: [WSG] What have I missed here?
 
 
 I tried using the classic CSS menu from 

RE: [WSG] What have I missed here?

2003-12-21 Thread chris

Yes, '' is reserved for the declaration of XML entity references.

As well as doing replacements on dynamic content, you also need to
consider this in anchors when linking to scripts that use url variables.

eg. a href=/php/forum.php?id=453amp;page=2 Page 2 /a

Chris B


*
The discussion list for http://webstandardsgroup.org/
* 



RE: [WSG] Validated [Virus checkedAU]

2003-12-21 Thread Taco Fleur

You are absolutely right, but
Show me and I will remember
Teach me and I will learn

I don't particularly do well when I have to read a whole page like that, however when 
someone shows me in a brief sample specific to my problem then I will learn ;-)

Thanks anyway, I never thought to click those links, why I don't know??

Taco Fleur

*
The discussion list for http://webstandardsgroup.org/
*



Re: [WSG] XHTML/CSS standards guide

2003-12-21 Thread Andrew Cheong

It looks good!  I've been writing in XHTML for a year or so now, simply
because I heard it was going to replace HTML and I was afraid of being left
behind.  I've read several tutorials on XHTML before I gave up trying to
figure out the difference.  Each tutorial seemed to be too vague.

Your What Is XHTML tutorial just cleared everything up for me.  Thanks!



(I joined this group a few days ago.  This is my first reply.  I'm not sure
if I'm doing it right - I just went to reply after reading Ryan's email
and here I am, sending this.  Hopefully it will work.)

- Original Message - 
From: Ryan Christie [EMAIL PROTECTED]
To: Web Standards Group [EMAIL PROTECTED]
Sent: Sunday, December 21, 2003 2:48 PM
Subject: [WSG] XHTML/CSS standards guide



 Hey guys,

 I've been working on writing a learners guide to XHTML / CSS composition
 and usage which is intended for beginners. It's going to be used to help
 train new employees that come to work for the design company within my
 university (http://medialab.jmu.edu). My boss is interested in
 implementing standards compliance in our produced websites, and it'll be
 important that people like our graphic designers and new coders know
 what's going on and start to get in the habit of standards.

 This will be an ongoing project. As of right now, there are just three
 pages published. If you have the time and want to give it a breeze
 through (experts and novice alike) and let me know what's good, what's
 bad, what's not clear, and what is glaringly incorrect I'd appreciate it
:)

 link: http://web.theward.net/whatisxhtml.html

 Ryan
 http://www.theward.net
 *
 The discussion list for http://webstandardsgroup.org/
 *



*
The discussion list for http://webstandardsgroup.org/
*