 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

July 9th, 2004, 05:33 PM
|
|
Friend of Wrox
|
|
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
karib,
Another thing you'll want to keep in mind is that if you want EVERY page you create to display properly in all browsers, you'll want to make sure your HTML code is XHTML-compliant(Of course, if you're doing an ASP page, I think it'll be impossible to make sure of this). Also, I read on here a while back that you should not use tables for layout since tables are unpredictable in terms of how they will display (They might display fine in Internet Explorer but not in any other browser). Use CSS as a workaround(Yes, you'll need to still fix any CSS problems that come up but using CSS is preferred over using tables).
Hope this helps,
Ben Horne
Madison Area Technical College - Truax
3550 Anderson Street
Madison, Wisconsin 53704-2599
-------------------------
http://community.webshots.com/user/valerian114
"There are two kinds of people in the world: Those who claim to be Flash junkies and those who actually are Flash junkies"
|
|

July 9th, 2004, 05:40 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
quote:Of course, if you're doing an ASP page, I think it'll be
impossible to make sure of this
|
Why wouldn't it be possible to create perfectly valid XHTML pages with ASP? Have any examples?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Laichzeit by Rammstein (Track 10 from the album: Herzeleid) What's This?
|
|

July 10th, 2004, 08:44 PM
|
|
Friend of Wrox
|
|
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imar,
I've not done anything with this so I'm just making a wild guess.
Quote:
quote:Originally posted by Imar
Quote:
|
quote:Of course, if you're doing an ASP page, I think it'll be
|
Quote:
|
impossible to make sure of this
|
Why wouldn't it be possible to create perfectly valid XHTML pages with ASP? Have any examples?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Laichzeit by Rammstein (Track 10 from the album: Herzeleid) What's This?
|
Ben Horne
Madison Area Technical College - Truax
3550 Anderson Street
Madison, Wisconsin 53704-2599
-------------------------
http://community.webshots.com/user/valerian114
"There are two kinds of people in the world: Those who claim to be Flash junkies and those who actually are Flash junkies"
|
|

July 10th, 2004, 09:11 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
Actually, ASP just outputs HTML code. You can have it output valid HTML code, or invalid. It all depends on what you have it do.
:)
Snib
<><
|
|

July 10th, 2004, 10:17 PM
|
|
Friend of Wrox
|
|
Join Date: Sep 2003
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
So how are you supposed to know whether the HTML output is vaild or not?
Quote:
quote:Originally posted by Snib
Actually, ASP just outputs HTML code. You can have it output valid HTML code, or invalid. It all depends on what you have it do.
:)
Snib
<><
|
Ben Horne
Madison Area Technical College - Truax
3550 Anderson Street
Madison, Wisconsin 53704-2599
-------------------------
http://community.webshots.com/user/valerian114
"There are two kinds of people in the world: Those who claim to be Flash junkies and those who actually are Flash junkies"
|
|

July 11th, 2004, 05:18 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
By outputting XHTML that sticks to the standards:
Response.Write("<input type=checkbox checked>")
is not valid while
Response.Write("<input type=""checkbox"" checked=""checked"">")
is valid XHTML
This is a trivial example, but it applies to anything you output to the browser: it's up to you to make sure it's valid.
You should always validate the HTML source as it ends up in the browser; not the original ASP source as that is a) likely to be invalid and b) you can't validate the code that is outputted dynamically.
Ben: is there a reason you keep quoting the entire message every time you post a reply? IMO, it clutters up the thread, making things harder to read, don't you think?
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|
 |