久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如果你用 HTML 編寫日歷,你會使用 Table 標簽還是

If you were programming a calendar in HTML would you use Table tags or Div tags?(如果你用 HTML 編寫日歷,你會使用 Table 標簽還是 Div 標簽?)
本文介紹了如果你用 HTML 編寫日歷,你會使用 Table 標簽還是 Div 標簽?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

我將公司的日歷轉換為 XSL,并將所有表格更改為 div.它工作得很好,但由于不穩定的跨瀏覽器間距問題,我最初有很多 8 天的錯誤需要解決.但我正在閱讀另一篇關于何時使用表格與 div 的文章,并且共識似乎是你應該只使用 div 來真正劃分網頁的各個部分,并且只使用表格來處理表格數據.

I converted my company's calendar to XSL and changed all the tables to divs. It worked pretty well, but I had a lot of 8 day week bugs to work out initially owing to precarious cross-browser spacing issues. But I was reading another post regarding when to use tables v. divs and the consensus seemed to be that you should only use divs for true divisions between parts of the webpage, and only use tables for tabular data.

我不確定我什至可以在 XSL 中使用表格,但我想跟進關于 Div 和表格的討論,討論制作網絡日歷的理想方式,也許是兩者的結合.

I'm not sure I could even have used tables with XSL but I wanted to follow up that discussion of Divs and Tables with a discussion of the ideal way to make a web calendars and maybe a union of the two.

推薦答案

日歷是使用表格的完美理由!日歷固有地呈現表格數據,而 HTML 表格擅長呈現表格數據.HTML 表格標記提供了將 CSS 選擇器與表格的各個部分相關聯以修飾表格所需的幾乎所有 CSS 鉤子.

A calendar is the perfect reason to use a table! Calendars inherently present tabular data and HTML tables are good at presenting tabular data. And HTML table markup provides nearly all the CSS hooks you need to associate CSS selectors with various parts of the table to dress it up.

我完全贊成使用 DIV 進行布局——但堅持使用表格來處理表格數據.

I'm all for using DIVs for layout--but stick with tables for tabular data.

這是一篇關于如何使用 CSS 修飾表格的很酷的文章:http://www.smashingmagazine.com/2008/08/13/top-10-css-table-designs

Here is a cool article on how to dress up tables with CSS: http://www.smashingmagazine.com/2008/08/13/top-10-css-table-designs

這篇關于如果你用 HTML 編寫日歷,你會使用 Table 標簽還是 Div 標簽?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Issues Setting Value/Label Using DropKick Javascript(使用 DropKick Javascript 設置值/標簽的問題)
stellar.js - configuring offsets / aligning elements for a vertical scrolling website?(stellar.js - 為垂直滾動網站配置偏移量/對齊元素?)
Updating table with Dynatable plugin(使用 Dynatable 插件更新表)
jQuery tooltip add line break(jQuery 工具提示添加換行符)
Why is the lightbox jQuery plugin not working for me?(為什么燈箱 jQuery 插件對我不起作用?)
Alternative to Javascript prompt box for younger users(為年輕用戶替代 Javascript 提示框)
主站蜘蛛池模板: 久久国产精品网 | 亚洲美女天堂网 | 天堂av中文在线 | 日批免费在线观看 | 国产午夜精品福利 | 久久精品色欧美aⅴ一区二区 | 亚洲免费一区二区 | 欧美激情在线精品一区二区三区 | 黑人久久久 | 免费在线观看成人 | 日韩美女一区二区三区在线观看 | 欧美精品久久久久久 | 91中文字幕 | 国产91一区 | 欧美福利久久 | 天天干天天干 | 正在播放国产精品 | 91精品国产91久久久久久吃药 | 国产一区二区中文字幕 | 爱爱免费视频 | 国产福利91精品一区二区三区 | 成人精品在线观看 | 欧美日韩在线免费 | 毛片免费看 | 久久免费精品视频 | 欧美日韩精品综合 | 中文字幕一区二区三区在线观看 | 日韩精品一区二区久久 | 欧美一级电影免费 | 天堂av免费观看 | 一级aaaaaa毛片免费同男同女 | 欧美在线精品一区 | 81精品国产乱码久久久久久 | 欧美最猛黑人 | 精品一区二区三区免费视频 | 中文字幕av网站 | 欧美亚洲高清 | 91欧美 | 一级中国毛片 | www日| 一级欧美黄色片 |