473,385 Members | 1,326 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.

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 2324
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
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...
4
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...
3
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...
3
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...
3
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...
2
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...
4
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
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-...
4
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....
0
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...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.