RE: [WSG] XHTML Strict

2006-06-06 Thread Peter Williams
 From: Brian Cummiskey

 or the better method,
 h1 id=section1This is a header/a

Surely that can't be right?
Something that opens as a h must surely close as a h.

-- 
Peter Williams


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

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] Tables - you can still use them in web design article

2006-05-16 Thread Peter Williams
 From: Kevin Futter
 
 [EMAIL PROTECTED] wrote:
 
  ...the same template can be used irregardless of directionality
 
 irregardless? Surely you jest ...

http://www.randomhouse.com/wotd/?date=19970721

-- 
Peter Williams
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] IE Hell

2006-05-10 Thread Peter Williams
 From: Darren Wood
 
 I've been stuggling with an IE issue for several weeks.
 http://www.golfgods.com/item/11_06WCLCT.html#accessories

You seem to have an empty ul element near where that bottom
content goes astray in IE.

div id=creview class=tabset_content
h3Callaway Women's Collection Cart Bag Customer Reviews/h3
ul
/ul
pa href=/customer-review/11_06WCLCT.html
Be the first to submit a review for the Callaway Women's
 Collection Cart Bag/a/p
/div

Your br elements are potentially trouble too, br/ should
be br / or some browsers may stumble on them.

-- 
Peter Williams
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] duplicate id

2006-05-09 Thread Peter Williams
From: shawn cassick
   
 how can i get around the span duplicate id defined,
 as i use css to define a border around the title text,
 i have thought of using a div tag instead of a span

Your question is somewhat ambiguous, but if you need to style
an element repeatedly on a page you should use a class, not
an id.

CSS
.prettything {styles;}

Markup
span class=prettythingPretty stuff/span 

With a class defined using just the dot nomenclature you
could use it on any element you need to.

div class=prettythingPretty div/div
p class=prettythingPretty paragraph/p
and so on.

--
Peter Williams
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] convert to XHTML

2006-05-03 Thread Peter Williams
 From: Kenny Graham
 
 Just a plain text file?  If so, then it can't be done, as it won't
 have any way to infer the semantic meaning of bits of plain text.

Along those lines the best you could probably do is
use a text editor with search and replace abilities,
or a grep type utility.

Make each intended paragraph have two or some other
known number of carraige returns follow it.
Then make your initial opening p at the start.
Replace all instances of crcr with /pcrp
Then remove the superfluous p at the end of the file.

You'd have to then instert a standard header and footer
for the Doctype declaration, opening and closing html
markup and so on.

That'd get some of the work done, but as already pointed out
how can headings, and non paragraphs be distinguished 
programatically in a plain text file?

HTML Transit that you mentioned is a fairly big tool that is
more aimed at things like converting MS Word docs to HTML.
You still need structure in your Word doc for it to use as
the framework of the HTML markup. It was a long time ago
that I used it last though, so it may work differently these
days.

-- 
Peter Williams
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**