473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Are DHTML and CSS similar?

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
Jul 20 '05 #1
8 2675
"Brett" <no@spam.net> wrote in message
news:Q9********************@rcn.net...
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.

Jul 20 '05 #2
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.
--
i t ' s t h e l i t t l e v o i c e s
Jul 20 '05 #3
On Fri, 8 Oct 2004 10:51:28 +1000, brucie <sh**@usenetshit.info> wrote:
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.

Jul 20 '05 #4
In comp.infosystems.www.authoring.stylesheets Neal 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.


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.
--
i t ' s t h e l i t t l e v o i c e s
Jul 20 '05 #5
In article <Q9********************@rcn.net>, "Brett" <no@spam.net>
wrote:
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.
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.
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.
- OS
Depends more on the browser than the OS.
- 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.
- 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.
Thanks,
Brett

Jul 20 '05 #6
On Fri, 8 Oct 2004 11:38:42 +1000, brucie <sh**@usenetshit.info>
wrote:
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.
Jul 20 '05 #7
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@spam.net> wrote in message
news:Q9********************@rcn.net...
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:

Jul 20 '05 #8

"Brett" <no@spam.net> wrote in message
news:Q9********************@rcn.net...
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.

Jul 20 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Brett | last post by:
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...
2
by: Frances Del Rio | last post by:
please, can you go to http://www.francesdelrio.com/dhtml/ when you click the name of the character the font color for all the lines of that character should change.. this is a simple DHTML...
6
by: Terry | last post by:
Hi, I like the DHTML-based pop-up window script made available by this company. However, their script only works under the quirk mode for IE 6 and Firefox. http://www.ferant.com I wonder...
1
by: Steve | last post by:
Hi; I have heard about a few very good books on DHTML, but the most modern ones seem to have been published in 2002. Have any _significant_ changes in DHTML or the standard DOM happened since...
1
by: Scupper | last post by:
I have been experimenting with adding some of the IE filters to an ASPX page, and have encountered a problem. Strangely, though the page will render in VS's browse window, it will not load in IE...
4
by: David Tilman | last post by:
I've created a web application using ASP .NET that creates tables similar to Gantt charts. There are 5 tables will 180 cells each, so there are about 900 cells on the web page. I had javascript in...
3
by: Kevin Chabot | last post by:
Hi, Maybe some of you remember. In VB6 it was possible to create a Document ActiveX component. This would be an ActiveX EXE file, that can be loaded from a DHTML webpage (using <object> for...
2
by: Jason S | last post by:
Is there a list of which browsers allow DHTML to create new <img> elements? e.g. var img = document.createElement('img'); img.src = '...some image source path...'; I've been working on a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.