HighDots Forums  

Are DHTML and CSS similar?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Are DHTML and CSS similar? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Brett
 
Posts: n/a

Default Are DHTML and CSS similar? - 10-07-2004 , 08:06 PM






Both make use of DIV tags or layers. What are the main differences between
DHTML and style sheets?

Also, what type of problems might an author experience in the way of
incompatibilities? For example, by:
- browser type
- OS
- firewall settings
- Antivirus settings
- network administrator setting restrictions

Thanks,
Brett



Reply With Quote
  #2  
Old   
C A Upsdell
 
Posts: n/a

Default Re: Are DHTML and CSS similar? - 10-07-2004 , 08:46 PM






"Brett" <no (AT) spam (DOT) net> wrote

Quote:
Both make use of DIV tags or layers. What are the main differences
between DHTML and style sheets?
DHTML and CSS are totally different. Comparing them is like comparing
apples to elephants.





Reply With Quote
  #3  
Old   
Neal
 
Posts: n/a

Default Re: Are DHTML and CSS similar? - 10-07-2004 , 09:12 PM



On Fri, 8 Oct 2004 10:51:28 +1000, brucie <shit (AT) usenetshit (DOT) info> wrote:

Quote:
In comp.infosystems.www.authoring.stylesheets C A Upsdell said:

DHTML and CSS are totally different. Comparing them is like comparing
apples to elephants.

well if the apple is really old and moldy they're both grey and have a
distinctive smell.
Don't forget the wrinkles.



Reply With Quote
  #4  
Old   
Robert
 
Posts: n/a

Default Re: Are DHTML and CSS similar? - 10-08-2004 , 12:21 AM



In article <Q9WdnUOV7fWdR_jcRVn-hQ (AT) rcn (DOT) net>, "Brett" <no (AT) spam (DOT) net>
wrote:

Quote:
Both make use of DIV tags or layers.

What are the main differences between
DHTML
Dynamic HTML allows you to use the Javascript programming language to
control the actions of a web page. A common application is to check
that the user has filled out a form correctly.

Here is an example of javascript:

var myAddress = x.elements["theAddress"].value;

// Check if the user wishes to cancel the submit.
if (myAddress.indexOf("*") >= 0)
{
alert(
"What a suprise!");
}
....
<input type="text" name="theAddress" size="40">

The above Javascript check if there is an asterisk (*) character in the
theAddress input field.

Quote:
and style sheets?
Cascading Style Sheets, CSS, allows to to format the web page. For
instance, you can select what font and color to display the text.

tr td { font-size: x-large;
font-family: cursive;
}

This set all text inside a table cell to be in the x-large size and a
cursive font.
Quote:
Also, what type of problems might an author experience in the way of
incompatibilities? For example, by:
- browser type
You need to code your Javacript to meet the W3C standards.

Newer browsers support most CSS attributes the same.

Quote:
- OS
Depends more on the browser than the OS.

Quote:
- firewall settings
n/a
- Antivirus settings
MS internet explorer has some inherent security weaknesses. A jscript
(MS javascript) program with the right permissions can interact with the
operating system to invoke other programs. These other program could do
harm. When a web page is located on an Internet server, jscript is not
allowed to interact with other program and should not be able to cause
any harm to the client machine.

All the other web browsers do note support interactions with other
program. There should not be any security concerns. One such browser
is Firefox.

Quote:
- network administrator setting restrictions
Will need to review IE security issues on a regular basis. Consider
changing to Firefox, or some on non-MS browser.
Quote:
Thanks,
Brett

Reply With Quote
  #5  
Old   
bulge
 
Posts: n/a

Default Re: Are DHTML and CSS similar? - 10-08-2004 , 01:19 AM



On Fri, 8 Oct 2004 11:38:42 +1000, brucie <shit (AT) usenetshit (DOT) info>
wrote:

Quote:
so true and in ancient times elephants were used to squish apples to
extract the juice. while this isn't a comparison it does indicate they
share a common history stretching back into antiquity which cant easily
be discounted.

....much like IE.


Reply With Quote
  #6  
Old   
Philip Herlihy
 
Posts: n/a

Default Re: Are DHTML and CSS similar? - 10-08-2004 , 03:11 AM



DHTML isn't a separate thing. It refers to a combination of HTML,
JavaScript and CSS used to produce "animation" effects, like "rollover"
buttons which change colour (or image) when you hover the mouse over them.
Essentially, you change the CSS settings of a page under script control in
response to user activity.

The richest and most infuriating source of incompatibilities are in browser
versions. Worldwide, the overwhelming majority of users use some version of
IE, but only IE6 is at all close to the latest standards, (especially for
CSS) and then only when your document has a DOCTYPE line which forces it
into "standards" mode. Opera, Mozilla and Firefox are all significantly
more standards-compliant, but all have their own minor quirks, which you'll
spot when you compare your pages in these browsers. Netscape 4 will render
your code almost exactly unlike the way you intend it to - special
techniques are needed to hide CSS from Netscape 4. I've also produced
monstrous web pages by forgetting that my screen has a resolution of
1920x1200 while some poor folk might be trying to view it on a screen set at
800x600.

A good book to cover most of these problems is:
http://www.oreilly.com/catalog/wdnut2/

--
####################
## PH, London
####################
"Brett" <no (AT) spam (DOT) net> wrote

Quote:
Both make use of DIV tags or layers. What are the main differences
between
DHTML and style sheets?

Also, what type of problems might an author experience in the way of
incompatibilities? For example, by:



Reply With Quote
  #7  
Old   
Harlan Messinger
 
Posts: n/a

Default Re: Are DHTML and CSS similar? - 10-08-2004 , 12:48 PM




"Brett" <no (AT) spam (DOT) net> wrote

Quote:
Both make use of DIV tags or layers. What are the main differences
between
DHTML and style sheets?
DHTML is a programming language that performs actions. A style sheets is a
static set of presentational specifications.



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.