Tableless web design

Tableless web design (or tableless web layout) is a web design method that avoids the use of HTML tables for page layout control purposes. Instead of HTML tables, style sheet languages such as Cascading Style Sheets (CSS) are used to arrange elements and text on a web page.

History

HTML is a markup language whose visual presentation was initially left up to the user. However, as the Internet expanded from the academic and research world into the mainstream in the mid-1990s, and became more media oriented, graphic designers sought ways to control the visual appearance of their Web pages. As popularised especially by the designer David Siegel in his book Creating Killer Web sites, tables and spacers (usually transparent single pixel GIF images with explicitly specified width, height or margins) were used to create and maintain page layouts.[1]

In the late 1990s the first reasonably powerful WYSIWYG editors arrived on the market, which meant Web designers no longer needed a technical understanding of HTML to build web pages.[2] Such editors indirectly encouraged extensive use of nested tables to position design elements. As designers edited their documents in these editors, unnecessary code and empty elements were added to the document. Furthermore, unskilled designers were likely to use tables more than required when using a WYSIWYG editor. This practice frequently led to many tables nested within tables, as well as tables with unnecessary rows and columns. The use of graphic editors with slicing tools that output HTML and images directly also promoted poor code with tables often having many rows of 1 pixel height or width. Sometimes many more lines of code were used to render content than the actual content itself.

The reliance on tables for layout purposes caused a number of problems. Many web pages were designed with tables nested within tables, resulting in large HTML documents that use more bandwidth than documents with simpler formatting. Furthermore, when a table-based layout is linearized, for example when being parsed by a screen reader or a search engine, the resulting order of the content can be somewhat jumbled and confusing.

Cascading Style Sheets (CSS) were developed to improve the separation between design and content, and move back towards a semantic organization of content on the Web. The term "tableless design” implies the use of CSS rather than layout tables to position HTML elements on the page. HTML tables still have their legitimate place when presenting tabular information within web pages,[3] and are also sometimes still used as layout devices in situations for which CSS support is poor or problematical, like vertically centering an element. Another area where tables are still used is e-mailers, because many popular Email clients have not kept up with modern HTML and CSS rendering. In such a scenario, complex e-mailers lose some of their structural and creative alignment.

Adoption

The CSS1 specification was published in December 1996 by the W3C[4] with the aim of improving web accessibility and emphasising the separation of presentational details in style sheets from semantic content in HTML documents. CSS2 in May 1998 (later revised in CSS 2.1 and CSS 2.2) extended CSS1 with facilities for positioning and table layout.

The preference for using HTML tables rather than CSS to control the layout of whole web pages was due to several reasons:

  • the desire of content publishers to replicate their existing corporate design elements on their web site;
  • the limitations at the time of CSS support in browsers;
  • the installed base of browsers that did not support CSS;
  • the new web designers' lack of familiarity with the CSS standards;
  • the lack of knowledge of, or concern for the reasons (including HTML semantics and web accessibility) to use CSS instead of what was perceived as an easier way to quickly achieve the intended layouts, and
  • a new breed of WYSIWYG web design tools that encouraged this practice.

Landmarks in the adoption of CSS-based layouts include the Web Standards Project's Browser Upgrade campaign of February 2001 and the web design magazine A List Apart's simultaneous redesign, followed by the Wired redesign in 2002.[5] The CSS Zen Garden website, launched in 2003, has been credited with popularising tableless layouts.[6]

Rationale

The intended and semantic purpose of HTML tables lies in presenting tabular data[3][7] rather than laying out pages.[8] The benefits of using CSS for page layout include improved accessibility of the information to a wider variety of users, using a wide variety of user agents. There are bandwidth savings as large numbers of semantically meaningless <table>, <tr> and <td> tags are removed from dozens of pages leaving fewer, but more meaningful headings, paragraphs and lists. Layout instructions are transferred into site-wide CSS stylesheets, which can be downloaded once and cached for reuse while each visitor navigates the site. Sites may become more maintainable as the whole site can be restyled or re-branded in a single pass merely by altering the mark-up of the specific CSS, affecting every page which relies on that stylesheet. New HTML content can be added in such a way that consistent layout rules are immediately applied to it by the existing CSS without any further effort.

Advantages

Accessibility

Because of the Internet's rapid growth, expanding disability discrimination legislation, and the increasing use of mobile phones and PDAs, it is necessary for Web content to be made accessible to users operating a wide variety of devices beyond the relatively uniform desktop computer and CRT monitor ecosystem the web first became popular on. Tableless Web design considerably improves Web accessibility in this respect, as tables too wide for a screen need to be scrolled sideways to be read in entirety, whereas text can wrap around.

Screen readers and braille devices have fewer problems with tableless designs because they follow a logical structure. The same is true for search engine Web crawlers, the software agents that most web site publishers hope will find their pages, classify them accurately and so enable potential users to find them easily in appropriate searches.

As a result of the separation of design (CSS) and structure (HTML), it is also possible to provide different layouts for different devices, e.g. handhelds, mobile phones, etc. It is also possible to specify a different style sheet for print, e.g. to hide or modify the appearance of advertisements or navigation elements that are irrelevant and a nuisance in the printable version of the page.

The W3C's Web Content Accessibility Guidelines' guideline no. 3 states "use markup and style sheets and do so properly."[9] The guideline's checkpoint 3.3, a priority-2 checkpoint, says "use style sheets to control layout and presentation."[10]

Bandwidth savings

Tableless design produces web pages with fewer HTML tags used purely to position content. This normally means that the pages themselves become smaller to download. The philosophy implies that all the instructions regarding layout and positioning be moved into external style sheets. According to the basic capabilities of HTTP, as these rarely change and they apply in common to many web pages, they will be cached and reused after the first download. This further reduces bandwidth and download times across the site.[11][12]

Maintainability

Maintaining a website may require frequent changes, both small and large, to the visual style of a website, depending on the purpose of the site. Under table-based layout, the layout is part of the HTML itself. As such, without the aid of template-based visual editors such as HTML editors, changing the positional layout of elements on a whole site may require a great deal of effort, depending on the amount of repetitive changes required. Even employing sed or similar global find-and-replace utilities cannot alleviate the problem entirely.

In tableless layout using CSS, the layout information may reside in a CSS document. Because the layout information may be centralized, it is possible that these changes can be made quickly and globally by default. The HTML files themselves may not need to be adjusted when making layout changes.

Also, because the layout information may be stored externally to the HTML, it may be quite easy to add new content in a tableless design, whether modifying an existing page or adding a new page. By contrast, without such a design, the layout for each page may require a more time-consuming manual changing of each instance or use of global find-and-replace utilities. However site owners often want particular pages to be different from others on the site either for a short period or long term. This will often necessitate a separate style sheet to be developed for that page. The page (or template) content usually can remain unaltered however, which is not the case in a tables-based design.

See also

References

  1. ^ Gruber, Jordan S. (1997-02-01). "Outta Site". Wired.
  2. ^ Maas, Benard. "A Brief History of WYSIWYG Editors". 1PMWD. Retrieved 10 February 2015. Microsoft Office FrontPage was released as a bundle of the 1997 version of the Microsoft Office, it was the first time that a robust, commercial HTML WYSIWYG editor-and-publisher was available for every person to use... When a webpage built out of the WYSIWYG MS FrontPage software would run with a backend FPSE in place it would enjoy the full strength that a technologist could possibly build by writing HTML code from scratch. Web designers no longer needed a technical understanding of HTML to build web pages.
  3. ^ a b Jennifer Kyrnin. "Tables for Tabular Data — What is Tabular Data? When to Use Tables in a Standards-Based XHTML Document". About.com, a part of The New York Times Company. Retrieved 2009-10-22.
  4. ^ Lie, Håkon Wium; Bos, Bert (1996-12-17). "W3C Recommendation: Cascading Style Sheets, Level 1". W3C. Archived from the original on 1997-06-05. Retrieved 2019-04-19.
  5. ^ Zeldman, Jeffrey (2003-05-14). Designing With Web Standards (1st ed.). Indianapolis: New Riders. pp. 120-134. ISBN 978-0-7357-1201-0.
  6. ^ Zeldman, Jeffrey (2007). Designing with Web Standards (2nd ed.). Berkeley: New Riders. p. 137. ISBN 978-0-321-38555-0.
  7. ^ "17.2.1 Anonymous table objects". Cascading Style Sheets Level 2 Revision 1 (CSS 2.1) Specification. W3C. 2009. Retrieved 2009-10-23.
  8. ^ Dominique Hazaël-Massieux (2005). "Tableless layout HOWTO". W3C. Retrieved 2007-09-08.
  9. ^ "Web Content Accessibility Guidelines 1.0". W3C. 1999. Retrieved 2009-09-19. Guideline 3. Use markup and style sheets and do so properly.
  10. ^ "Techniques for Web Content Accessibility Guidelines 1.0". W3C. 2000. Retrieved 2009-09-19. Use style sheets to control layout and presentation.
  11. ^ Daniel M. Frommelt (2003). "Retooling Slashdot with Web Standards". A List Apart Magazine. Retrieved 2009-09-20.
  12. ^ Dan Shafer (2003). "HTML Utopia: Designing Without Tables Using CSS, Chapter 4: CSS Website Design". SitePoint Pty. Retrieved 2009-09-20. ...on top of the organizational advantages described above, the browser has less code to download. On heavily designed sites, or sites with hundreds of pages or more, this reduced download time can have a significant impact both on the user experience, and on your bandwidth costs.

Read other articles:

Ana Luisa PeluffoLahir9 Oktober 1929 (umur 94)Queretaro, MeksikoPekerjaanAktrisTahun aktif1949–sekarang Ana Luisa Peluffo (lahir 9 Oktober 1929) adalah seorang aktris Meksiko. Dia telah muncul di lebih dari 200 film dan acara televisi sejak tahun 1949. Dia membintangi film 1977 Paper Flowers, yang masuk ke dalam Festival Film Internasional Berlin 28.[1] Filmografi pilihan Tarzan and the Mermaids (1948) La adúltera (1956) Las esclavas de Cártago (1956) La Diana Cazadora (...

Naunstadt Gemeinde Grävenwiesbach Wappen von Naunstadt Koordinaten: 50° 22′ N, 8° 27′ O50.3747222222228.4505555555556297Koordinaten: 50° 22′ 29″ N, 8° 27′ 2″ O Höhe: 297 m ü. NHN Fläche: 3,62 km²[1] Einwohner: 390 (31. Dez. 2020)[2] Bevölkerungsdichte: 108 Einwohner/km² Eingemeindung: 31. Dezember 1971 Postleitzahl: 61279 Vorwahl: 06086 Naunstadt ist ein Ortsteil von Gr...

Kanonenkugeln in Rhodos Steinerne Kanonenkugel der Burgruine Loch in Bayern Bei einer Kanonenkugel handelte es sich ursprünglich um eine großkalibrige Steinkugel, die mit Hilfe von Schwarzpulver aus dem Rohr der Steinbüchse abgefeuert wurde. Im Laufe des 15. Jahrhunderts setzten sich gegossene Eisenkugeln durch, doch fanden Steinkugeln als Munition für Schiffskanonen bis weit in die Frühe Neuzeit hinein weiterhin Verwendung. Die Kanonen wurden ursprünglich nicht nach dem Kaliber, sonder...

Panhuis kan verwijzen naar: Panhuis (Mechelen), een voormalige brouwerij Panhuis (Veenendaal), een sportcomplex Panhuis (brouwerij) Bekijk alle artikelen waarvan de titel begint met Panhuis of met Panhuis in de titel. Dit is een doorverwijspagina, bedoeld om de verschillen in betekenis of gebruik van Panhuis inzichtelijk te maken. Op deze pagina staat een uitleg van de verschillende betekenissen van Panhuis en verwijzingen daarnaartoe. Bent u hier via een pagina in Wi...

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (يناير 2021) روي ماكباين معلومات شخصية الميلاد 7 نوفمبر 1974 (العمر 49 سنة)أبردين  مركز اللعب وسط الجنسية المملكة المتحدة  معلومات النادي النادي الحالي Banks o' Dee (co-manager) الم

Written message from one to another News from My Lad by James Campbell, 1858–1859 (Walker Art Gallery) A letter is a written message conveyed from one person (or group of people) to another through a medium.[1] Something epistolary means that it is a form of letter writing. The term usually excludes written material intended to be read in its original form by large numbers of people, such as newspapers and placards, although even these may include material in the form of an open let...

Ofensiva en el este de Siria de 2014 Parte de Parte de la Guerra Civil Siria y de la Guerra contra Estado Islámico Cambios territoriales luego de la ofensiva      Controlado por el gobierno      Controlado por la oposición      Controlado por fuerzas kurdas      Controlado por Daesh Fecha 23 de julio–28 de agosto de 2014(36 días)Lugar Este de SiriaResultado Victoria decisiva de Daesh en Ra...

?HylomyscusЧас існування: сучасність Біологічна класифікація Царство: Тварини (Animalia) Тип: Хордові (Chordata) Клас: Ссавці (Mammalia) Ряд: Гризуни (Rodentia) Родина: Мишеві (Muridae) Підродина: Murinae Триба: Praomyini Рід: HylomyscusThomas, 1926 Види Hylomyscus aeta типовий Hylomyscus alleni Hylomyscus anselli Hylomyscus arcimontensis Hylomyscus baeri Hylomy...

Formal and informal expression of the people of Latin America Latin American culture is the formal or informal expression of the people of Latin America and includes both high culture (literature and high art) and popular culture (music, folk art, and dance), as well as religion and other customary practices. These are generally of Western origin, but have various degrees of Native American, African and Asian influence. Definitions of Latin America vary. From a cultural perspective,[1]...

Upland region in Central Alberta, Canada A map of the Waskahegan Trail system. The green areas on the right are, from north to south, Elk Island National Park, the Blackfoot Recreation Area, and Miquelon Lake Provincial Park (north and south blocks). The Beaver Hills (Cree: ᐊᒥᐢᑿᒋᐩ, romanized: amiskwaciy, lit. 'beaver hills'), also known as the Beaver Hills Moraine and the Cooking Lake Moraine, are a rolling upland region in Central Alberta, just to the east of E...

Polish sociologist Stanisław Ossowski. Stanisław Ossowski (Lipno, 22 May 1897 – 7 November 1963, Warsaw) was one of Poland's most important sociologists. He held professorships at Łódź University (1945–47) and Warsaw University (1947–63). Life Ossowski first contributed to logic and aesthetics before moving on to sociology. He studied philosophy at the University of Warsaw, his teachers were i.a. Tadeusz Kotarbiński, Jan Łukasiewicz and Władysław Tatarkiewicz. He a...

1957–58 Denver Pioneers men's ice hockey seasonNational championWIHL co-champion1958 NCAA Tournament, champion ConferenceT–1st WIHLHome iceDU ArenaRecordOverall24–10–2Conference12–10–0Home18–2–2Road4–8–0Neutral2–0–0Coaches and captainsHead coachMurray ArmstrongCaptain(s)Ed Zemrau[1]Denver Pioneers men's ice hockey seasons« 1956–57 1958–59 » The 1957–58 Denver Pioneers men's ice hockey team represented University of Denver in college ice hoc...

جائزة بريطانيا الكبرى 2019 (بالإنجليزية: Formula 1 Rolex British Grand Prix 2019)‏  السباق 10 من أصل 21 في بطولة العالم لسباقات الفورمولا واحد موسم 2019 السلسلة بطولة العالم لسباقات فورمولا 1 موسم 2019  البلد المملكة المتحدة  التاريخ 14 يوليو 2019  مكان التنظيم حلبة سلفرستون،  وسيلفرستو...

Laboratório Nacional de Engenharia Civil Organização Natureza jurídica Instituto público Atribuições Investigação no setor da engenharia civil Dependência Governo de Portugal Ministério das Infraestruturas e Habitação Ministério da Ciência, Tecnologia e Ensino Superior Chefia Carlos Pina, presidente Número de funcionários 436 funcionários e 106 bolseiros (31 Dezembro 2018) Documentos institucionais Lei Orgânica Estatutos do LNEC Localização Jurisdição territorial Portug...

2013 single by Busta Rhymes featuring Nicki Minaj#TwerkitSingle by Busta Rhymes featuring Nicki MinajReleasedJune 17, 2013Recorded2012GenreDancehall[1]reggae[1]Length3:52LabelCash MoneyRepublicSongwriter(s)Pharrell WilliamsTrevor Tahiem Smith, Jr.Onika MarajProducer(s)Pharrell Williams[2][3]Busta Rhymes singles chronology Take You There (2012) #Twerkit (2013) Thank You (2013) Nicki Minaj singles chronology I'm Out(2013) #Twerkit(2013) Get Like Me(2013) ...

Hari-hari MaretBagian dari Perang Saudara RusiaTanggal30 Maret 1918 – 2 April 1918LokasiBakuHasil Kemenangan Bolshevik-DashnakPihak terlibat Partai Bolshevik Dashnak Partai MusavatDivisi BuasKekuatan Bolshevik6.000 pasukan[1]Dashnak4.000 milisi[1] Musavat dan Divisi Buas10.000 tentara dan milisi[1]Korban 2.500 tentara Dashnak 3.000 sampai 12.000 jiwa termasuk penduduk Hari-hari Maret atau Insiden Maret merujuk pada perang inter-etnis selama Perang Saudara Rusia, yang...

Subdivision in West Bengal, IndiaBaruipurSubdivisionInteractive Map Outlining Baruipur SubdivisionCoordinates: 22°21′56″N 88°25′57″E / 22.3654432°N 88.4325028°E / 22.3654432; 88.4325028Country IndiaState West BengalDivisionPresidencyDistrictSouth 24 ParganasHeadquartersBaruipurArea • Total1,350.50 km2 (521.43 sq mi)Elevation9 m (30 ft)Population (2011) • Total2,396,646 • Density1,800/km2...

برج الأجراس لإيفان الأكبر البرج هو بناء مرتفع عن مستوى المباني السكنية، ينشأ لأهداف جمالية أو دفاعية أو كبرج للاتصالات الهاتفية وغيرها.[1][2][3] قائمة أبراج روسيا تحتوي هذه القائمة على أسماء أبراج في روسيا. برج الموت برج تاتلين برج تلفزيون سانت بطرسبرغ برج زوتو ب...

Частично признанное Государство Палестина (или Палестинская национальная администрация) состоит из 16 провинций (араб. محافظة‎ — мухафаза, мн. — мухафазат): 11 на Западном берегу реки Иордан и 5 в Секторе Газа. Сектор Газа, де-факто, находится под управлением радика...

Queen's Theatre, HornchurchTheatre exteriorLocationHornchurch, Greater LondonEnglandCoordinates51°33′58″N 0°13′08″E / 51.566°N 0.219°E / 51.566; 0.219Public transit Emerson Park HornchurchCapacity507Opened1953 (New Theatre Opened In 1975)Websitewww.queens-theatre.co.uk The Queen's Theatre Auditorium 2018 The Queen's Theatre is a 507-seat mid-scale producing theatre located in Hornchurch in the London Borough of Havering, east London. History Hornchurch Urba...