Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Seeking advice. How to use the 'Display:inline-table' feature
Old 07-05-2012, 10:21 PM Seeking advice. How to use the 'Display:inline-table' feature
Extreme Talker

Posts: 193
Name: James
Location: Australia
Trades: 0
How do I get the 'inline-table' feature to work?

Been trying it many different ways, but it will not work.

I use Mozilla Firefox. 'run-in' gets an error response 'we do not support' but the inline-table does not get that error response so Firefox does accept it. But it just does not seem to work the way I would expect it.


I would expect that 'inline-table' would just mean you get a nice neat field of boxes of an equal size to each other. Or, at least all on a row, would have the same height as all others on its same row, and likewise on the column axis would match others in width.

What is the 'inline-table' meant to do?
__________________
** Directory of my other websites ***

Please login or register to view this content. Registration is FREE
- for screen devices

Please login or register to view this content. Registration is FREE
- for mobile devices
TRANZIT JIM is offline
Reply With Quote
View Public Profile Visit TRANZIT JIM's homepage!
 
 
Register now for full access!
Old 07-06-2012, 01:36 AM Re: Seeking advice. How to use the 'Display:inline-table' feature
lizciz's Avatar
Super Spam Talker

Posts: 845
Name: Mattias Nordahl
Location: Sweden
Trades: 0
I would guess you need to display its inner elements as table-row and table-cell accordingly. For exmaple, the code below would act just like a regular table.
HTML Code:
<div style="display: table;">
    <div style="display: table-row;">
        <div style="display: table-cell;">
            Cell #1
        </div>
        <div style="display: table-cell;">
            Cell #2
        </div>
    </div>
    <div style="display: table-row;">
        <div style="display: table-cell;">
            Cell #3
        </div>
        <div style="display: table-cell;">
            Cell #4
        </div>
    </div>
</div>
Although it seems pointless to emulate a table with other elements when there already exists such tags; <table>, <tr>, <td>. In my opinion, tables should not be totally taboo as they seem to be today. They still serve a purpose and should be used when appropriate, just not for everything as they often were before.

So, in short, if what you're trying to do is emulate table behaviour, perhaps you should just use a regular table.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 07-10-2012, 08:53 PM Re: Seeking advice. How to use the 'Display:inline-table' feature
King Spam Talker

Posts: 1,092
Name: Paul W
Trades: 0
Have a read of http://www.vanseodesign.com/css/tables/
__________________
Great music:
Please login or register to view this content. Registration is FREE



Please login or register to view this content. Registration is FREE
PaulW is online now
Reply With Quote
View Public Profile
 
Reply     « Reply to Seeking advice. How to use the 'Display:inline-table' feature
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.41932 seconds with 11 queries