473,440 Members | 1,660 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,440 software developers and data experts.

should I go back to tables in HTML instead of CSS?

In followups by Brian O'Connor (ironcorona) to other posts, he repeats
the idea that using tables in CSS is not something that should be done
because IE doesn't support it. Of course I'm not happy about the fact
that IE doesn't support CSS tables. But what can one do about that?
And tables of one type or the other are needed in some cases (regardless
of whether some people feel it is appropriate or not). So the issue I
and considering right now is to back up one step and stay with tables in
HTML (e.g. TABLE/TR/TD/etc elements) for now, until either Microsoft gets
its act together better, or Firefox makes more inroads on Windows users.

If no one can give a good reason not to, I'll make that change back.

Note, this is not applicable to things that someone can prove do not need
tables.

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
May 10 '06
59 3613
To further the education of mankind, ni*************@seies.de vouchsafed:
|> Show me some. But not simplistic blog pages. Show me one that looks
|> like CraigsList.Org but uses no tables ... and works in IE, too.
When I started learning English I didn't start with Shakespeare. It
took me 5 years to be able to fully understand Frankenstein. ;-)


Frankenstein was, er, mad.
Absolutely positioned? That's liable to break pretty badly. Sure, you
can make it track font size with emed-width (and perhaps height, too).
But how well will the layout hold with window sizes?


A bastard of an absolute positioned layout:

http://www.aigelsalvador.com/index.php

(but please don't repeat that anyway)


Nope, that isn't it. The divs should be sized in ems, and that page's
center box doesn't change size at all and breaks beyond the first text
resize.
TABLES for me because ... THEY WORK.


Never believe that a compromise is OPTIMAL.


Me neither.
Ciao
Niels


--
Neredbojias
Infinity has its limits.
May 15 '06 #51
On Mon, 15 May 2006 13:18:22 GMT Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
| Neredbojias wrote:
|
|> I use a table in many of my headers because I want the align-right
|> right side delimited by and stopping at the align-left left side, not
|> overlapping it or dropping below it. This may not be absolutely
|> impossible in css, but it's improbable. As I said, "...any kind of
|> box but the one you want."
|
| Something like this? No tables.
| http://k75s.home.att.net/banner.html

That doesn't come out the way I would want. Close, but not exactly.
Why not ALSO put a tables version in for comparison on the same page?

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
May 15 '06 #52
On Mon, 15 May 2006 14:29:32 GMT Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
| Matt Kruse wrote:
|
|> Beauregard T. Shagnasty wrote:
| [>> Neredbojias wrote:]
|>>> I use a table in many of my headers because I want the align-right
|>>> right side delimited by and stopping at the align-left left side,
|>>> not overlapping it or dropping below it.
|>> Something like this? No tables.
|>> http://k75s.home.att.net/banner.html
|>
|> When the browser window is narrowed, content wraps and does so in an
|> incorrect order. (IE6, Win)
|
| So how narrow was your window? Be realistic. The third one works fine
| down to about a 350px wide browser window.
|
| It was posted as a sample. Feel free to make adjustments.

Just how wide it will fail depends on the total width of objects inside.
Don't assume everyone has little tiny stuff.

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
May 15 '06 #53
On 15 May 2006 07:48:48 -0700 ni*************@seies.de wrote:

|> Absolutely positioned? That's liable to break pretty badly. Sure, you
|> can make it track font size with emed-width (and perhaps height, too).
|> But how well will the layout hold with window sizes?
|
| A bastard of an absolute positioned layout:
|
| http://www.aigelsalvador.com/index.php
|
| (but please don't repeat that anyway)

Another webmaster for the firing squad.

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
May 15 '06 #54
ph**************@ipal.net wrote:
Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
| Neredbojias wrote:
|
|> I use a table in many of my headers because I want the align-right
|> right side delimited by and stopping at the align-left left side, not
|> overlapping it or dropping below it. This may not be absolutely
|> impossible in css, but it's improbable. As I said, "...any kind of
|> box but the one you want."
|
| Something like this? No tables.
| http://k75s.home.att.net/banner.html

That doesn't come out the way I would want. Close, but not exactly.
Why not ALSO put a tables version in for comparison on the same page?


Okay. There is now a fourth (<table>) version of the banner. Seems to
work just about the same as the third version, but uses more code.

--
-bts
-Warning: I brake for lawn deer
May 15 '06 #55
ph**************@ipal.net wrote:
On Mon, 15 May 2006 14:29:32 GMT Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
| It was posted as a sample. Feel free to make adjustments.

Just how wide it will fail depends on the total width of objects
inside. Don't assume everyone has little tiny stuff.


Everyone *should* have little tiny stuff! ;-)

Again, it was just an exercise - that did happen to work perfectly for
the person who asked the original question a couple years ago. He had
two side graphics of maybe a hundred px wide, with the site name in the
middle, in a large decorative font.

--
-bts
-Warning: I brake for lawn deer
May 15 '06 #56
On Mon, 15 May 2006 19:03:54 GMT Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
| ph**************@ipal.net wrote:
|
|> On Mon, 15 May 2006 14:29:32 GMT Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
|>| It was posted as a sample. Feel free to make adjustments.
|>
|> Just how wide it will fail depends on the total width of objects
|> inside. Don't assume everyone has little tiny stuff.
|
| Everyone *should* have little tiny stuff! ;-)
|
| Again, it was just an exercise - that did happen to work perfectly for
| the person who asked the original question a couple years ago. He had
| two side graphics of maybe a hundred px wide, with the site name in the
| middle, in a large decorative font.

That's not a general solution. I just happens to work with some sites with
browser window sizes at least as large as most people use. The few cases
where people run browsers in tiny windows isn't the issue (though it
certainly raises the issue of how to display things on tiny devices like cell
phones). The issue is when you have larger objects to fit in. Take a look
at this first phase of my redesign of http://linuxhomepage.com/ where I have
used floating boxes for the top row. It doesn't take too much shrinkage for
that top row to split into two rows. Because the banner is first, floated
right, it will stay at the top. The box with the site name text, floated
left, will come down to the next row. I can use the floating box model here
because that doesn't impact things (much). But the main body of the site is
3 major columns of text, with vertical flow within each column. Shrink the
window horizontally and you still have 3 columns staying side by side. The
intent is for the columns to stay side by side. If there was a means to make
it dynamically change to 2 columns, that might work (but at issue will be how
to order the boxes within each column when the boxes in column 3 now have to
be placed in columns 1 and 2).

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
May 16 '06 #57
On Mon, 15 May 2006 18:59:15 GMT Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
| ph**************@ipal.net wrote:
|
|> Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
|>| Neredbojias wrote:
|>|
|>|> I use a table in many of my headers because I want the align-right
|>|> right side delimited by and stopping at the align-left left side, not
|>|> overlapping it or dropping below it. This may not be absolutely
|>|> impossible in css, but it's improbable. As I said, "...any kind of
|>|> box but the one you want."
|>|
|>| Something like this? No tables.
|>| http://k75s.home.att.net/banner.html
|>
|> That doesn't come out the way I would want. Close, but not exactly.
|> Why not ALSO put a tables version in for comparison on the same page?
|
| Okay. There is now a fourth (<table>) version of the banner. Seems to
| work just about the same as the third version, but uses more code.

It shrinks better than with floats. But I had to shrink it quite a lot
since the objects are small. Use larger objects, which some sites do have,
and lets see how that goes.

Here's my capture of this under the excessive shrinkage:

http://phil.ipal.org/usenet/ciwas/2006-05-15/k75s-1.png

Next, show this with a full width, or two half width, ad banners. Then the
advantage of tables will show up with not nearly as much window size shrink.

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
May 16 '06 #58
ph**************@ipal.net wrote:
Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
| Again, it was just an exercise - that did happen to work perfectly
| for the person who asked the original question a couple years ago.
| He had two side graphics of maybe a hundred px wide, with the site
| name in the middle, in a large decorative font.

That's not a general solution. I just happens to work with some
sites with browser window sizes at least as large as most people use.
The few cases where people run browsers in tiny windows isn't the
issue (though it certainly raises the issue of how to display things
on tiny devices like cell phones). The issue is when you have larger
objects to fit in. Take a look at this first phase of my redesign of
http://linuxhomepage.com/ where I have used floating boxes for the
top row.


I don't see anything on your page that resembles my sample. It starts
with an outer div, then goes right to tables for layout. The only thing
that (sort of) looks like a banner is the following text:

Linux
Home
Page .com

...at the left margin.

font-size:75%; ?
--
-bts
-Warning: I brake for lawn deer
May 16 '06 #59
On Tue, 16 May 2006 03:57:58 GMT Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
| ph**************@ipal.net wrote:
|
|> Beauregard T. Shagnasty <a.*********@example.invalid> wrote:
|>| Again, it was just an exercise - that did happen to work perfectly
|>| for the person who asked the original question a couple years ago.
|>| He had two side graphics of maybe a hundred px wide, with the site
|>| name in the middle, in a large decorative font.
|>
|> That's not a general solution. I just happens to work with some
|> sites with browser window sizes at least as large as most people use.
|> The few cases where people run browsers in tiny windows isn't the
|> issue (though it certainly raises the issue of how to display things
|> on tiny devices like cell phones). The issue is when you have larger
|> objects to fit in. Take a look at this first phase of my redesign of
|> http://linuxhomepage.com/ where I have used floating boxes for the
|> top row.
|
| I don't see anything on your page that resembles my sample. It starts
| with an outer div, then goes right to tables for layout. The only thing
| that (sort of) looks like a banner is the following text:
|
| Linux
| Home
| Page .com
|
| ..at the left margin.
|
| font-size:75%; ?

There is an ad banner there, unless you block Google ads.

--
-----------------------------------------------------------------------------
| Phil Howard KA9WGN | http://linuxhomepage.com/ http://ham.org/ |
| (first name) at ipal.net | http://phil.ipal.org/ http://ka9wgn.ham.org/ |
-----------------------------------------------------------------------------
May 16 '06 #60

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

Similar topics

36
by: Jack Hughes | last post by:
This argument has come up two or three times lately. We have a web standards document at our company that say "Use valid HTML 4; We don't recommend switching to DIV-based CSS-P for layout just...
26
by: gswork | last post by:
i hadn't designed a web page from the ground up for about 9 years, then i was asked to do one. I'd dabbled with html and vaigly kept up with some of the developments but other than that i've been...
49
by: ARC | last post by:
Hello all, I have one chance to get this right, as I'm nearing a release of a program. I've looked at the database settings, and so far, have set the following: * Unchecked 'Enable design...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
1
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,...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.