QA


Q&A

Q1:

I made a big table and when I load the page, nothing appears for a long time. Why the wait?

A1:

Because the web browser has to figure out the size of everything in the table before it can display any part of it, complex tables can take a while to appear on the screen. You can speed things up a bit by always including width and height tags for every graphics image within a table. Using width attributes in the <table> and <td> tags also helps.

Q2:

I've noticed that a lot of pages on the Web have tables in which one cell changes while others stay the same. How do they do that?

A2:

Those sites are using frames, not tables. Frames are similar to tables except that each frame contains a separate HTML page and can be updated independently of the others. The newer floating frames, or iframes, can actually be put inside a table, so they can look just like a regular table even though the HTML that creates them is quite different. You'll find out how to create and use frames in Hour 16, "Multipage Layout with Frames."

Q3:

Aren't there some new table tags in XHTML? Why aren't those mentioned?

A3:

The latest XHTML standard indeed introduces several new table tags not discussed in this book. The primary practical uses of these extensions are to prepare for some advanced features that web browsers aren't fully supporting just yet, such as tables with their own scrollbars and more reliable reading of tables for visually impaired users. If either of these things is of direct concern to you, you can find out about the new tags at the W3C web site (http://www.w3.org/). The new tags do not directly affect how tables are displayed in any existing web browser.

Don't worrythe new tags do not and will not make any of the table tags covered in this hour obsolete. They will all continue to work just as they do now.




SAMS Teach Yourself HTML and CSS in 24 Hours
Sams Teach Yourself HTML and CSS in 24 Hours (7th Edition)
ISBN: 0672328410
EAN: 2147483647
Year: 2005
Pages: 345

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net