473,811 Members | 3,264 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
incompatibiliti es? For example, by:
- browser type
- OS
- firewall settings
- Antivirus settings
- network administrator setting restrictions

Thanks,
Brett
Jul 20 '05 #1
8 2703
"Brett" <no@spam.net> wrote in message
news:Q9******** ************@rc n.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.infosystem s.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**@usenetshi t.info> wrote:
In comp.infosystem s.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.infosystem s.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.ne t>, "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.inde xOf("*") >= 0)
{
alert(
"What a suprise!");
}
....
<input type="text" name="theAddres s" 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
incompatibiliti es? 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**@usenetshi t.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 incompatibiliti es 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******** ************@rc n.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
incompatibiliti es? For example, by:

Jul 20 '05 #8

"Brett" <no@spam.net> wrote in message
news:Q9******** ************@rc n.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
591
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 example, by: - browser type - OS - firewall settings - Antivirus settings - network administrator setting restrictions
2
1646
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 memo... but I find that none of the JS or DHTML code is working at all on page... if I download page and view it locally the JS & DHTML code work fine, I don't understand this.. I'm very anxious b/c I just submitted this page as a demo for a...
6
1983
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 if there are other similar DHTML-based scripts that can do the same but is not limited to the quirk mode for IE 6.
1
1745
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 then or will those "best of the dhtml books" still do the job? If not, is there a place on the web that documents DHTML, well, in its latest greatest form?
1
1346
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 when pulling from the localhost using exactly the same URL. Here is the header of the ASPX file so you know what includes I'm using. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="default.aspx.vb" Inherits="DefaultPage" %>...
4
1455
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 the attributes of each cell to react to various events (onmouseout, onmouseover, onmouseup, onmousedown) to handle highlighting and selecting cells in the chart. I wanted to try to make the application more efficient and have a smaller HTML...
3
1440
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 example). Can a similar thing be done in VB.Net? I don't seem to find any resources to do this and it can't use ASP or something, it should be able to run from a local HTML file.
2
1493
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 webpage which uses Javascript to add images dynamically. Works fine on Firefox. I've been using a different browser (Mozilla 1.7.5) to test pages to make sure the browser isn't seeing any special permissions (being logged into websites for instance). It...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10398
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9204
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7669
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4339
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3865
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3017
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.