This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > Dreamweaver 8 and XHTML





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Dreamweaver 8 and XHTML
danrodney

2005-09-15, 7:27 pm

I know some things about XHTML. I understand how to code it. I just have never
actually used it on websites. I know that I can easily adjust DW 8's preference
for HTML or XHTML, so I can choose either.

What I would love to know from those of use how have "battle tested" XHTML in
the real world...
1. Why should I switch? What are the real world benefits? What will I see
change?
2. Will rendering be better and more consistent? Or will I have more bugs,
technical issues, etc.
3. Are there compatibility problems?

I've read about the reasons but would like some straight up real world
explanations so I could say to a client why they should be using XHTML instead
of HTML. I am also teaching people who are new to web design and need to decide
if I will teach them to use HTML or XHTML in Dreamweaver 8. These are people
who often don't have web experience and I am nervous about the strictness of
XHTML being harder for them to understand. HTML is more forgiving to learn in
the beginning.

Thanks in advance for any help/advice you can offer.
Dan

JonKanon

2005-09-15, 7:27 pm

XHTML 1.0 is the version after HTML 4.1, no bigger difference other then that
all tags must be closed, only use small caps and some other things with the
meta data.

It is less tolerant with bad coding, and if something is wrong you should be
able to spot the problem easier. Since it is logic.

Murray *TMM*

2005-09-15, 7:28 pm

> 1. Why should I switch? What are the real world benefits? What will I see
> change?


If you want to use the latest recommendation of the W3, you should switch.
If you want to become comfortable with the rigor of XHTML, you should
switch. If you want to create well-formed markup on your pages, you should
switch. If you want to use XML/XSLT, you should switch. Otherwise,
HTML4.01 Strict/Transitional may well be adequate.

> 2. Will rendering be better and more consistent?


I don't think so.

> Or will I have more bugs,
> technical issues, etc.


I don't think so.

> 3. Are there compatibility problems?


I don't think so.

> if I will teach them to use HTML or XHTML in Dreamweaver 8.


Teach them XHTML. They might as well learn the proper markup from the
start.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"danrodney" <webforumsuser@macromedia.com> wrote in message
news:dgchg4$201$1@forums.macromedia.com...
>I know some things about XHTML. I understand how to code it. I just have
>never
> actually used it on websites. I know that I can easily adjust DW 8's
> preference
> for HTML or XHTML, so I can choose either.
>
> What I would love to know from those of use how have "battle tested" XHTML
> in
> the real world...
> 1. Why should I switch? What are the real world benefits? What will I see
> change?
> 2. Will rendering be better and more consistent? Or will I have more bugs,
> technical issues, etc.
> 3. Are there compatibility problems?
>
> I've read about the reasons but would like some straight up real world
> explanations so I could say to a client why they should be using XHTML
> instead
> of HTML. I am also teaching people who are new to web design and need to
> decide
> if I will teach them to use HTML or XHTML in Dreamweaver 8. These are
> people
> who often don't have web experience and I am nervous about the strictness
> of
> XHTML being harder for them to understand. HTML is more forgiving to learn
> in
> the beginning.
>
> Thanks in advance for any help/advice you can offer.
> Dan
>



Danny_D

2005-09-15, 7:30 pm

I'm a newbie when it comes to web design, but I have seen a difference in
design when adding <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> to
the top of the web page which Dreamvweaver 8 does. Here is my example:

<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<title>Project Oval</title>
</head>
<body bgcolor="FFFFFF" leftmargin="0" rightmargin="0" bottommargin="0"
topmargin="0" marginwidth="0" marginheight="0" scroll="no">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle">
<div align="center">
Test
</div>
</td>
</tr>
</table>
</body>
</html>

this piece of code by itself center the word "test" vertically and horizontaly
on the page, but when I add <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">,
it not longer centers it vertically.

Can someone tell my why? Thanks

Cannikinn

2005-09-15, 11:27 pm

Read Designing with Web Standards by Jeffery Zeldman:
http://www.amazon.com/exec/obidos/t...828749/sr=8-1/r
ef=pd_bbs_1/103-2753383-9523046?v=glance&s=books&n=507846

You know how people say that so-and-so product "changed their life" and then
we all point and laugh at them? Well, as far as the part concerned with web
design, this book really did change my life.

Lionstone

2005-09-16, 7:36 pm

> You know how people say that so-and-so product "changed their life" and
> then
> we all point and laugh at them? Well, as far as the part concerned with
> web
> design, this book really did change my life


And I really am laughing at you. ;)
No, seriously, thanks for the recommendation. There's a lot of books out
there, and it always helps to know which ones are valuable.


Danny_D

2005-09-16, 7:36 pm

Originally posted by: Newsgroup User

"Danny_D" <legends92@hotmail.com> wrote in message
news:Dgcrk4$gan$1@forums.macromedia.com...
> I'm a newbie when it comes to web design, but I have seen a difference in
> design when adding <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
> Transitional//EN"
> "http://www.pactumgroup.com/tutorials/






Is there a way to vertically align the the text using XHTML?

Tim G

2005-09-16, 7:37 pm


"Danny_D" <legends92@hotmail.com> wrote in message
news:dgelnp$6g7$1@forums.macromedia.com...
> Originally posted by: Newsgroup User
>
> "Danny_D" <legends92@hotmail.com> wrote in message
> news:Dgcrk4$gan$1@forums.macromedia.com...
>
>
>
>
>
> Is there a way to vertically align the the text using XHTML?


Yes, you need to use CSS. See the instructions here, and note the link to
Gary White's page as well:

http://www.pactumgroup.com/tutorials/verticalcenter.php

tim
--
Tim Gallant
Pactum Web Services: http://www.pactumgroup.com
Tutorials: http://www.pactumgroup.com/tutorials/


James Shook

2005-09-16, 7:37 pm

TCWright12 wrote:

> So XHTML is closer to XML in the syntax rules so the transition will be easier


Not really, if the proposed XML2 spec actually become airborne. All that
practice writing XHTML will have been wasted if you did it just to get
ready for XML2.

--
James M. Shook
http://www.jshook.com
TCWright12

2005-09-16, 7:37 pm

XHTML was made to bridge the gap btwn HTML and XML (where everything is headed in the future...or so I hear)

So XHTML is closer to XML in the syntax rules so the transition will be easier
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews