Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Why tables instead of divs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Martin1
Super User

Netherlands
626 Posts

Posted - 13 Oct 2006 :  17:12:29  Show Profile  Reply with Quote
I have asked Davide this question long ago and also asked if it was possible for Davide to change the program in suchs a way so these tables (see example below) won't be used anymore.

I though I'd mention it again.

Why does in some cases DHE use tables instead of divs?
If you take a look at these two pages.

this one was made with DHE and the standard rectangle tool
http://home.tiscali.nl/gggev/voorbeeld/test.html

this was was made by hand

http://home.tiscali.nl/gggev/voorbeeld/test2.html

The last example which was made by hand uses no tables and is also a bit smaller in size (kb).

There is no need for tabels and tables were never meant for this kind of design anyway. That's what css is there for.

I really want (edited in accordance with Waldorfs request) to ask you Davide maybe it's possible to stop DHE from using these tables and have it use css.
Please, please, pretty please[2 0:-7] (so I hope now everyone is happy with my way of wording a remark/request[3 ~-)]).

Martin

Edited by - Martin1 on 13 Oct 2006 20:23:18

Waldorf
Super User

Belgium
284 Posts

Posted - 13 Oct 2006 :  18:08:53  Show Profile  Visit Waldorf's Homepage  Reply with Quote
quote: I really want to urge you to stop DHE using these tables and have it use css.

Howley cowey and other bestials!!

If "Sir" London see this, he's really gonna be MAD!!![2 (==)]

please, say: maybe it is possible to.....[2 :D]

*

*
"Happiness" is making -> The <- Choice!
*

Edited by - Waldorf on 13 Oct 2006 19:01:32
Go to Top of Page

T00N
Super User

573 Posts

Posted - 13 Oct 2006 :  19:38:26  Show Profile  Visit T00N's Homepage  Reply with Quote
quote:
There is no need for tabels and tables were never meant for this kind of design anyway. That's what css is there for.



So tables weren't ment for design... big deal, they look good and can be very handy when you want to align things vertically or horizontally.

quote:

I really want to urge you to stop DHE using these tables and have it use css.


This is a bit strong, don't you think?
I'm sure Davide thinks very thoroughly about what he does and where he goes with HIS program so demands from customers isn't what he's waiting for. Suggestions are oke but demands... [2 :!!]
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 13 Oct 2006 :  20:09:40  Show Profile  Reply with Quote
If anyone finds a hint of demanding by me I will be surely impressed but just to make sure I don't offend davide (which is not my intention at all as he himself probably knows) I edited the 'problematic' passage.

No demanding going on whatsoever. Besides Davide an I have talked about a whole lot of issues in our mail correspondence including this one.

@Toon

quote:
So tables weren't ment for design... big deal, they look good and can be very handy when you want to align things vertically or horizontally.


Tables might be handy but were never meant for these things and css has replaced this kind of use of tables a long time ago.
There is no need for the use of tables as my example shows. The use of css instead of tables doesn't make it less handy and even makes for a cleaner and lighter page.

The use of css in layout adheres to webstandards and accesibillity. Tables were never intended for styling a webpage.

The main reason some folks still wanting to use tables seems to be coming from bad habits, and complacency.

Martin

Edited by - Martin1 on 13 Oct 2006 20:18:14
Go to Top of Page

Waldorf
Super User

Belgium
284 Posts

Posted - 13 Oct 2006 :  20:32:44  Show Profile  Visit Waldorf's Homepage  Reply with Quote
okay, that's enough, you are both banned for 20 years and 1day! [2 :D] [2 H:)]

*

*
"Happiness" is making -> The <- Choice!
*

Edited by - Waldorf on 13 Oct 2006 21:34:56
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 13 Oct 2006 :  21:37:22  Show Profile  Reply with Quote
Damn you're strict.

Go to Top of Page

Waldorf
Super User

Belgium
284 Posts

Posted - 14 Oct 2006 :  13:34:51  Show Profile  Visit Waldorf's Homepage  Reply with Quote
worse..I'm stric'9 [3 yes]

*
"Happiness" is making -> The <- Choice!
*
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 14 Oct 2006 :  19:58:07  Show Profile  Visit s.dav's Homepage  Reply with Quote
@All

D.H.E. uses tables instead DIVs (as anyone can see in the Help, F.A.Q. page) because it is the only way to make the things you draw exactly the same in every browsers.

If you try the 'test.htm' page you'll see that it is displayed exactly the same in Explorer, Opera, Firefox, Netscape.
Your sample 'test2.htm' looks different from the original one in Firefox and Opera (not tested on Netscape but probably different).

Regards, Davide
Go to Top of Page

T00N
Super User

573 Posts

Posted - 14 Oct 2006 :  20:12:08  Show Profile  Visit T00N's Homepage  Reply with Quote
quote:
I'm sure Davide thinks very thoroughly about what he does


Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 14 Oct 2006 :  21:06:29  Show Profile  Reply with Quote
Very strange but to me the test2.html looks exactly the same in IE, Firefox and Opera (does Netscape still exsist?).

Where do you see the differences Davide?

Martin
Go to Top of Page

Waldorf
Super User

Belgium
284 Posts

Posted - 14 Oct 2006 :  23:15:13  Show Profile  Visit Waldorf's Homepage  Reply with Quote
@Dean Martin

and where are we suppose to eat on?.. [2 ?:-|]..[2 H:)]

*

*
"Happiness" is making -> The <- Choice!
*

Edited by - Waldorf on 14 Oct 2006 23:16:00
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 16 Oct 2006 :  09:01:55  Show Profile  Visit s.dav's Homepage  Reply with Quote
@Martin,

please look carefully your test2.htm page; you'll see that in Opera and Firefox the rectangles are moved some pixels on the right so they are not aligned with the bigger one in the background.

It is a small difference but when you made pixel-precision-aligned-pages every object should be drawn in a perfect way ;-)

Regards, Davide
Go to Top of Page

Waldorf
Super User

Belgium
284 Posts

Posted - 16 Oct 2006 :  17:25:36  Show Profile  Visit Waldorf's Homepage  Reply with Quote
@Dav.
DHE is very precise (with item placement) indeed!
On the contrary, when I place an item on a (cantered) background it?s chaos, the item is misplaced with grandeur absolute! [2 (==)]
Is that me ?doing something wrong? or is that a normal phenomena?

*

*
"Happiness" is making -> The <- Choice!
*
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 16 Oct 2006 :  19:14:23  Show Profile  Visit s.dav's Homepage  Reply with Quote
Please send me a sample so I can investigate ;-)

Regards, Davide
Go to Top of Page

Waldorf
Super User

Belgium
284 Posts

Posted - 16 Oct 2006 :  19:35:32  Show Profile  Visit Waldorf's Homepage  Reply with Quote

1.Open DHE
2.new
3.center page
4.put a rectangele on the left site
5.preview
..see what I mean !![2 H:)]

*
"Happiness" is making -> The <- Choice!
*
Go to Top of Page

T00N
Super User

573 Posts

Posted - 16 Oct 2006 :  19:44:21  Show Profile  Visit T00N's Homepage  Reply with Quote
Oke, why don't you take a good look at your step #3.

Think about it...
Go to Top of Page

Waldorf
Super User

Belgium
284 Posts

Posted - 16 Oct 2006 :  20:16:35  Show Profile  Visit Waldorf's Homepage  Reply with Quote
#3 is center page "NOT" center item, or center everything.
I can't find some'think else, but o'c, I'm very stupid! ;-)

*

*
"Happiness" is making -> The <- Choice!
*

Edited by - Waldorf on 16 Oct 2006 20:17:11
Go to Top of Page

T00N
Super User

573 Posts

Posted - 16 Oct 2006 :  20:40:22  Show Profile  Visit T00N's Homepage  Reply with Quote

If you only have one item then center page IS center item.
If you have two or more objects then DHE treats these object as a group and centers that group.

What else do you think that center page is for?
Go to Top of Page

Waldorf
Super User

Belgium
284 Posts

Posted - 16 Oct 2006 :  21:21:32  Show Profile  Visit Waldorf's Homepage  Reply with Quote
Ach soh, stupid me![2 (==)]

I thought the page was the background, like I.R.L.
When I draw an object on an A4 and move the page, the object stays in the exact place!
Of course, this isn't R.L...isn?t it TOON ![2 :D]



*
"Happiness" is making -> The <- Choice!
*
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 17 Oct 2006 :  10:40:57  Show Profile  Visit s.dav's Homepage  Reply with Quote
The "center page" method works exactly as TOON says.

If you want to preserve the position (left) of your rectangle (after centering the page) you can put a small (empty) hotspot object in the right ;-)
It's invisible so it should not give you problems ;-)

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000