Colspan Of 1.5 In A Table - Stack Overflow
Có thể bạn quan tâm
-
- Home
- Questions
- Tags
- Users
- Companies
- Labs
- Jobs
- Discussions
- Collectives
-
Communities for your favorite technologies. Explore all Collectives
- Teams
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Try Teams for free Explore Teams - Teams
-
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsGet early access and see previews of new features.
Learn more about Labs Colspan of 1.5 in a table Ask Question Asked 6 years ago Modified 4 years, 6 months ago Viewed 16k times 4Is it possible with HTML/CSS to create a table with three columns, where one row has only two cells. However, instead of one cell of that row being 66% (colspan="2") and the other being 33%, both to be 50% (so errh, colspan="1.5" which doesn't work as expected)
To illustrate what I mean:
What I am talking about is the row which is in bold red, is this possible?
Share Improve this question Follow asked Dec 8, 2018 at 3:10 Christof KälinChristof Kälin 1822 gold badges2 silver badges9 bronze badges Add a comment |2 Answers
Sorted by: Reset to default Highest score (default) Trending (recent votes count more) Date modified (newest first) Date created (oldest first) 14Sure, just like the following:
table, td { border: 1px solid #999; } td { height: 20px; width: 50px; } <table> <tr> <td></td> <td colspan="2"></td> <td></td> </tr> <tr> <td></td> <td colspan="2"></td> <td></td> </tr> <tr> <td colspan="2"></td> <td colspan="2"></td> </tr> <tr> <td></td> <td colspan="2"></td> <td></td> </tr> </table>
Share Improve this answer Follow answered Dec 8, 2018 at 3:15 j08691j08691 208k32 gold badges267 silver badges280 bronze badges Add a comment | 0table, td { border: 1px solid #999; } td { height: 20px; width: 50px; } <table border="1" cellpadding="5" cellspacing="0"> <tr> <td></td> <td colspan="2"></td> <td></td> </tr> <tr> <td></td> <td colspan="2"></td> <td></td> </tr> <tr> <td colspan="2"></td> <td colspan="2"></td> </tr> <tr> <td></td> <td colspan="2"></td> <td></td> </tr> </table>
Share Improve this answer Follow answered Jun 14, 2020 at 17:19 KATHEESKUMARKATHEESKUMAR 1771 silver badge11 bronze badges 1- Single line border Table – KATHEESKUMAR Commented Jun 14, 2020 at 17:22
Your Answer
Reminder: Answers generated by artificial intelligence tools are not allowed on Stack Overflow. Learn more
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Draft saved Draft discardedSign up or log in
Sign up using Google Sign up using Email and Password SubmitPost as a guest
Name EmailRequired, but never shown
Post Your Answer DiscardBy clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Not the answer you're looking for? Browse other questions tagged
or ask your own question.- The Overflow Blog
- The ghost jobs haunting your career search
- Breaking up is hard to do: Chunking in RAG applications
- Featured on Meta
- The December 2024 Community Asks Sprint has been moved to March 2025 (and...
- Stack Overflow Jobs is expanding to more countries
Related
25 colspan width issue 2 HTML Table Colspan 3 Issues with colspan in CSS table 0 CSS Tables Colspan 2 HTML table with colspan width 6 html table colspan not working as expected 1 Colspan not working as expected (without CSS) 0 Table column sizing involving colspan 0 Table td set to colspan 1, still takes 2 column spaces 4 HTML Table with colspan not working correctlyHot Network Questions
- I fire a mortar vertically upwards, with rifling. When it falls, which direction does it rotate? (Or alternatively: how will it behave?)
- If I have a multiannual stay-permit in France, will they still check biometrics on arrival at the airport?
- Is interest expense on money borrowed from an S corporation to purchase an interest in that corporation deductible?
- How to report abuse of legal aid services?
- Creative usage of поилка
- Does buddhist Tripitaka or Sutta literature mention Vishnu or Shiva?
- Why do most philosophers of religion accept or lean towards a libertarianism conception of free will?
- Why does energy stored in a capacitor increase with the square of voltage?
- What is the angle?
- Why was creating sunshields for Webb telescope challenging?
- Mindcrime feat. Spielberg
- Fill this partially-dotted Sudoku so that two sums are equal
- The answer may vary but only one is relevant!
- Question about complex logarithm
- Why do most philosophers of religion believe in God?
- How to place a heavy bike on a workstand without lifting
- Using 2018 residential building codes, when and where do you need landings on exterior stairs?
- What movie has a classroom clock tick backwards?
- 2012 vs 2022 Chevrolet Vehicle and Coolant Consumption
- Is there any theoretical work on representation in machine learning?
- Can anyone identify this early biplane from 1920?
- What is type of probability is involved when mathematicians say, eg, "The Collatz conjecture is probably true"?
- Fibonacci Series Exercise
- Did the Israelites defecate when eating the manna?
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Từ khóa » Html Colspan 1.5
-
Colspan 1.5 Code Example
-
Colspan="1/2"? - HTML / CSS - Bytes
-
How To Span Row With 1.5 Value?
| Sololearn I Try Value 1.5 For Colspan But It Doesn't Work How Can We Use Float ...
Table Rowspan And Colspan In HTML Explained (With Examples) »
HTML Colspan Attribute - W3Schools
HTML Th Colspan Attribute - W3Schools
Colspan 1.5 - Html 代码示例 - 芒果文档
Colspan Of 1.5 In A Table - Anycodings
Rowspan="1.5" - CodePen
Colspan 1.5 - Learn With IAP - IAcademyPlus
Html - 跨度1.5 - 无涯教程网
Html Exercise 1.cx - Sol: Code:
... Copyright © 2022 | Thiết Kế Truyền Hình Cáp Sông Thu