Register | Sign In


Understanding through Discussion


EvC Forum active members: 64 (9164 total)
3 online now:
Newest Member: ChatGPT
Post Volume: Total: 916,880 Year: 4,137/9,624 Month: 1,008/974 Week: 335/286 Day: 56/40 Hour: 1/2


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
Author Topic:   Enough With the Puppies, Already!
crashfrog
Member (Idle past 1495 days)
Posts: 19762
From: Silver Spring, MD
Joined: 03-20-2003


Message 21 of 29 (426891)
10-09-2007 1:27 AM
Reply to: Message 20 by Taz
10-09-2007 12:04 AM


The HTML 3.2, It Burns Us
1996 called. They want their tables-used-for-layout back.
Gah, and FONT tags?
Edited by crashfrog, : No reason given.

This message is a reply to:
 Message 20 by Taz, posted 10-09-2007 12:04 AM Taz has not replied

Replies to this message:
 Message 23 by Percy, posted 10-10-2007 9:04 AM crashfrog has replied

  
crashfrog
Member (Idle past 1495 days)
Posts: 19762
From: Silver Spring, MD
Joined: 03-20-2003


Message 24 of 29 (427289)
10-10-2007 9:22 PM
Reply to: Message 23 by Percy
10-10-2007 9:04 AM


Re: The HTML 3.2, It Burns Us
I shouldn't try to do this after a beer, but using CSS styles, I would have done it like this:


Picture of the Period




width=400>


Hubble Image of Nebula NGC 3603



The Hubble Space Telescope has taken literally thousands of images
of the cosmos. This one example shows a beautiful nebula name NGC 3603
that is about 20 thousand light years away. The stars within this massive cluster
have varying masses but very similar ages,
allowing astronomers to conduct detailed analysis of several types of stars at
different stages in their lives. By comparing this cluster of stars with other
clusters in the galaxy at different ages, astronomers have been able to determine
the changes in properties, such as temperature and brightness, the stars go through as they age.


The currently accepted ages of the stars among astronomers are millions to billions of
years old. Among creationists, however, the creation of the universe, which include the
stars, only happened 6 thousand years ago.


Is the universe billions and billions of years old or is it only 6 thousand years old
as is claimed by biblical creationists? Do current dating techniques of
these stars used by astronomers accurately portray their real ages?


These kinds of questions abound at EvC Forum. Peruse our
target=_top
href="http://www.evcforum.net/cgi-bin/Threads.cgi?action=ta">Most
Recent Topics
page, or
href="http://www.evcforum.net/cgi-bin/Search.cgi?action=intro">Search
the Forums
for an interesting topic. You can propose your own new
topic at our

href="http://www.evcforum.net/cgi-bin/Threads.cgi?action=tf&f=25">Proposed
New Topics
page.


If you have questions about the forum post them at
at

href="http://www.evcforum.net/cgi-bin/Threads.cgi?action=tf&f=19">
Suggestions and Questions
and the moderators and old hands
will try their best to answer and make your time
here rewarding and enjoyable.


I guess a warming flag goes up in my mind when I see things like a FONT tag inside an empty table cell.
Edited by crashfrog, : No reason given.
Edited by crashfrog, : No reason given.
Edited by crashfrog, : Trying to make this all a bit more legible and not break page width. Whew! It's harder to write a good example than to write good HTML.

This message is a reply to:
 Message 23 by Percy, posted 10-10-2007 9:04 AM Percy has replied

Replies to this message:
 Message 25 by Percy, posted 10-10-2007 9:48 PM crashfrog has replied
 Message 26 by Taz, posted 10-10-2007 10:44 PM crashfrog has not replied

  
crashfrog
Member (Idle past 1495 days)
Posts: 19762
From: Silver Spring, MD
Joined: 03-20-2003


Message 27 of 29 (427300)
10-10-2007 10:45 PM
Reply to: Message 25 by Percy
10-10-2007 9:48 PM


Re: The HTML 3.2, It Burns Us
Why haven't I hired you yet?
I don't know any Perl. I'm more of a PHP kind of guy. Although it's my understanding that they're just about the same.
I'm taking classes full-time these days, but my weekends are fairly free. If a couple paragraphs of CSS are sufficient to establish my web credentials, I'd be happy to try to help out with whatever code I can. I'm fairly familiar with scripting for the web and MySQL, and I'm sure I remember enough about postgreSQL from my college days (not sure what your backend is, around here.)
That's a spacer - set the font size to 4 with only a single space in the cell to create a minimum space.
I got out of the web business back when table formatting was just catching on - I think HTML 2.0 was the last spec that I had been familiar with. It was just something I did around my little rural town for a few bucks for local businesses, back when people thought "blink" tags were really cool.
When I got back into web design last year to update my boss's webpage, I jumped right into 4.01 transitional and CSS styles, so I have essentially no knowledge of table formatting. I've heard horror stories of pixel shims and people spending hours tweaking tables to get absolute formatting in three kinds of browsers, so honestly, I never bothered to learn - not when you can tell a DIV tag exactly where to go, down to the pixel.
So I sing the praises of the Document Object Model all day long (yeah, I'm a bit of an object-oriented kind of guy, too) if I don't have to crank up $800 worth of Photoshop to make a few pixels' worth of whitespace.
I didn't see that in your CSS equivalent.
Did I need one? When I checked my code I noticed some extra whitespace between the image and the text above and below it, but I probably could have tightened that up a little with more CSS. No biggie.
I know you can use CSS to duplicate table formatting, and a lot more, but even with CSS, formatting an HTML page is tedious, I avoid it if I can.
I'm big on the W3C's recommendation that content be separate from presentation, and that seems all the more important when your content is being dynamically generated by scripts from databases, as it is here. Tables should be for tabular data. Back in the web interregnum I referred to above, I tried once to catch up on web trends by looking at the page sources of a few pages I frequented.
When I saw things like images broken up into multiple pieces spread out across a couple table cells, I ran screaming. The single greatest advance in Internets*, imo, has been the use of CSS for formatting instead of tables. Dark indeed were the days of HTML 3.2.
But, sure. I didn't realize that he'd just stuck new content into your old code, or I might have kept my opinions to myself. Seems to me that a new version of the forum scripts is a good opportunity to move to valid HTML 4.01, or even XHTML, and replace deprecated tags with proper styles. If there's some way I can help out with that I'd be glad to.
*Except, of course, for internet pr0n.

This message is a reply to:
 Message 25 by Percy, posted 10-10-2007 9:48 PM Percy has not replied

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2023 by EvC Forum, All Rights Reserved

™ Version 4.2
Innovative software from Qwixotic © 2024