473,774 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Chat application

Hi guys,

I've designed a chat window for a chat application using tradutional
tables and dirty code because I haven't been able to do it using pure
CSS. Do you think this would have been possible to create it using 100%
tableless code and have it to adapt according to the window dimentions?
http://www.auriance.com/docs/interaction/
Thanks,

May 18 '06 #1
9 2338
Sender wrote:
Hi guys,

I've designed a chat window for a chat application using tradutional
tables and dirty code because I haven't been able to do it using pure
CSS. Do you think this would have been possible to create it using 100%
tableless code and have it to adapt according to the window dimentions?
http://www.auriance.com/docs/interaction/
Thanks,

Yes, it can be done reasonably easily.

--
Jack.
May 18 '06 #2
Thanks. How can you strech the layout all the way down?

May 18 '06 #3
Sender wrote:
Thanks. How can you strech the layout all the way down?

Try this.
http://www.jackpot.uk.net/tests/chat.html

Works in perfectly in Opera and Firefox. There's some foolishness with
the vertical scrollbar in IE6, which caan probably be eliminated with
the help of Google and some patience. Opera and Firefox are in standards
mode, IE6 is in quirks mode.

Of course this is a static page; there's no application behind it to
actually do your chat.

--
Jack.
May 19 '06 #4
Thank you very much jack...
I see... This can't be done in XHTML, can it?

May 19 '06 #5
Sender wrote:
Thank you very much jack... I see... This can't be done in XHTML, can
it?

Why not? That code is in essence equivalent to XHTML code.

On the other hand, why would you want to use XHTML? For the time being,
that will only cause you headaches, mainly due to deficiencies in the
ability of Microsoft browsers to consume properly-served XML.

--
Jack.
May 19 '06 #6
Jack wrote:
http://www.jackpot.uk.net/tests/chat.html


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">

??

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

May 23 '06 #7
Toby Inkster wrote:
Jack wrote:
http://www.jackpot.uk.net/tests/chat.html


<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Strict//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">

??

The XML declaration throws IE6 into quirks mode, which (AFAIK) is the
only mode in which you can get to set the height of a <div> to the
height of the window short of using Javascript. It's ignored by other
browsers, which duly render in standards mode.

Like I said, it works. Perhaps I should have added: "...after a fashion".

Hey, I'm no CSS expert; I'm here to learn. If there are better ways of
doing this, I'd love to see how. I just spent 20 minutes or so trying to
solve the OP's question, partly as an exercise for myself; I put up the
results to show it was possible, which the OP seemed to believe it was not.

--
Jack.
May 23 '06 #8
Jack wrote:
Toby Inkster wrote:
Jack wrote:
http://www.jackpot.uk.net/tests/chat.html


<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Strict//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">

??


The XML declaration throws IE6 into quirks mode


Including XML-ish stuff seems overkill. Can't you just use a simple
<!-- comment --> before the DOCTYPE for IE?

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

May 24 '06 #9
Toby Inkster wrote:
Jack wrote:
Toby Inkster wrote:
Jack wrote:

http://www.jackpot.uk.net/tests/chat.html
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Strict//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">

??

The XML declaration throws IE6 into quirks mode


Including XML-ish stuff seems overkill. Can't you just use a simple
<!-- comment --> before the DOCTYPE for IE?

I think the XML declaration was left there from a copy-and-paste
exercise; but deleting it screwed-up IE, and that's the reason it
screwed it up. My remark makes it look as if I did that by design, which
I don't think was the case.

Hey, it's not examplary code, by any means - it was thrown together to
prove that something is possible, not to demonstrate the correct way of
doing it. I'd rather leave that to someone who actually knows.

--
Jack.
May 24 '06 #10

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

Similar topics

2
1672
by: oracle3001 | last post by:
Hi All, I want to capture / read the text flowing through a chat window that is part of an external application. I should note that I don't just want to capture the text in the chat window once, I want to get the new text as and when it is posted into the chat window
4
1342
by: Pete | last post by:
I'd like to add a basic chat application to my web site to get the members talking more, I've decided to limit the number of users to 30. There will be a seperate popup with a frame & three pages page 1 = list of users (updates every 10 seconds) page 2 = content / text (updates every 3 seconds) page 3 = text box to type in. I'll be using meta refresh to update the page(s) to the users on a regular basis (every 3-10 seconds). My...
3
3434
by: John Wright | last post by:
I am trying to create a very simple chat program using UDP through a web page. I am having problems getting this going. All the examples I've seen deal with remoting or application variables, or web services, etc. Does anyone have any resources to point me to (either VB.NET or C#) that explains how to create a simple chat on a web page? thanks. John
3
2596
by: A | last post by:
Hi all! I am currently working on a project where I need to create a web-based chat application that will be used for auctions. If possible, could I get some advice on how to create chat applications and which part of the .NET framework should I delve into? I would really appreciate the help! Cheers,
3
2957
by: Sven | last post by:
My current application is programmed in Visual Basic 6.0 It is a server and uses the winsock-control Now I have learned that the winsock control is not (fully) supported by VB.NET and that I have to use the "System.Net.Sockets namespace" As I am new to VB.NET, I want to ask if anyone knows a site where I can download a sample chat application programmed in VB. NET 2003? I mean there are a lot of Chat-programm-samples out there for VB...
2
1559
by: Ahmed | last post by:
Hello everyone, I am designing a chat program for a company. The program will be used locally(through lan). I am progamming the chat program using VB.NET windows application. Lets consider the following scenario: Clients want to ask salespersons questions about products. A salesperson can handle more than one customer at a time (depending on his/her preferences). I finished the the client progarm and the sales person program. I am...
4
2180
by: JIM.H. | last post by:
Hello, I need to write a chat room web application in .net 1.1, does anyone know any sample application I can use to start?
8
2285
by: Bllich | last post by:
Greetings, there is a nice multi-user chat application written by Microsoft in VB which code is on the location: http://download.microsoft.com/download/c/4/8/c488a081-85f2-4a2e-a121- ef5cad681313/vbSockets.exe I started translating it in C# and couldn't finish it.. The program 5 years old :) , but I find it very useful, it's
4
2845
by: Ronald Green | last post by:
Hi, I have this theoretical problem: Say that I need a chat server that also has a database where it saves all conversations. However, I need several servers for availability and load balancing. Now arises the problem of how to synchronize the servers in the shortest interval (synchronize databases that is). I'm not sure that merge or peer-to-peer replication in sql 2005 is the best solution for synchronization (because it still has a...
0
859
by: Gabriel Genellina | last post by:
En Mon, 09 Jun 2008 15:32:00 -0300, Marcelo de Moraes Serpa <celoserpa@gmail.comescribió: I don't think it's a problem with ElementTree. Perhaps you are writing the same (global) configuration file from several threads at the same time? You may need some locking mechanism in that case. -- Gabriel Genellina
0
9454
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,...
0
10106
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10040
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
9914
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7463
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
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4012
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
3611
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2852
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.