- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I’m not sure if this is possible, as I am not very skilled with CSS, but that’s why I am here. Hopefully someone has some insight for me.
I have some data I want to display. To display I thought it would be best to use nested lists.
I have one main inline list and each one of those has an inner list. I want the outside list to be inline, but the inner list to be ‘block’. I know by default block takes up 100% width, is there another option that will keep the main list inline?
I made an image of what I am trying to accomplish.
http://i.imgur.com/i7ABr.png
Anyone have any ideas?
Looks like a table to me!
Tables aren’t the devil as long as they are used properly – in this case, for displaying data!
I agree with TheDoc. Those are not inline lists.
Can you explain more?
I guess I could use a table. It’s just been so ingrained into my brain that “tables = the devil”. Oh well. Thanks for pointing out the obvious. -_-‘
Yea, it’s unfortunate that people have that mentality. Tables certain have their place in the development world, just so long as it isn’t a part of layout!
Found this vid for styling tables.
https://css-tricks.com/video-screencasts/61-basic-table-styling/