473,407 Members | 2,320 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,407 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 2678
"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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.