Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
| Search | Today's Posts | Mark Forums Read
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
 
Old July 9th, 2004, 05:33 PM
Friend of Wrox
 
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

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"
 
Old July 9th, 2004, 05:40 PM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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?
 
Old July 10th, 2004, 08:44 PM
Friend of Wrox
 
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

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"
 
Old July 10th, 2004, 09:11 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

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

<><
 
Old July 10th, 2004, 10:17 PM
Friend of Wrox
 
Join Date: Sep 2003
Location: Madison, Wisconsin, USA.
Posts: 451
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Ben Horne
Default

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"
 
Old July 11th, 2004, 05:18 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Browser cannot display fresh image. snowbydave1 Pro PHP 6 March 24th, 2007 04:55 AM
Dr William Boothe, PHP Queries drwilliamboothe Windows Presentation Foundation 0 January 29th, 2007 07:27 PM
Display web page elements all at the same moment karib HTML Code Clinic 3 October 10th, 2004 11:44 AM
How to Stop bad images being display tdaustin Classic ASP Basics 1 June 27th, 2003 10:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.