Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Dreamweaver (all versions)
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
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"
Reply With Quote
  #12 (permalink)  
Old July 9th, 2004, 05:40 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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?
Reply With Quote
  #13 (permalink)  
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"
Reply With Quote
  #14 (permalink)  
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

<><
Reply With Quote
  #15 (permalink)  
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"
Reply With Quote
  #16 (permalink)  
Old July 11th, 2004, 05:18 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:39 PM.


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