Forum Thread
by member
  Posts  
Tables for news articles. (Forums : Suggestions : Tables for news articles. ) Post Reply
Thread Options
Sep 25 2013, 6:08pm Anchor

Hi, I am wondering why I can't use tables in my news articles? I would really love the formatting options they offer.

For example, in Indiedb.com

No matter what I do, I can't get the images on the right side of the change log to all align with each other and have decent spacing around the text. And that is after fiddling with it for 10 minutes just to get it display even vaguely like I want it because the built in editor view AND preview view does not actually correspond to what is shown on the website. I would hate to think of what it looks like in other browsers.

Getting rid of the vertical white space of the images on the right is near impossible with just 'floating right' images. I would REALLY love table support.. or someone to tell me how on earth to do layouts without tables for indieDB news articles.

TKAzA
TKAzA Rightio then...
Sep 26 2013, 7:23am Anchor

Tables aren't supported, no one uses them in articles, as they would break the site layout.
To be fair, thats a pretty nice job making use of what we provide you.
You can try divs,  but it wont be the same.

--

TKAzA
DBolical Community Manager
Get Noticed Get Headlined

Copyright, IndieDB, SlideDB or ModDB issues PM me.
www.moddb.com www.indiedb.com www.slidedb.com
Do you like 3D Art? We do too!

Sep 26 2013, 8:36am Anchor

I'll look into divs. Just hard to tell what kind of HTML is supported and what will just get stripped out.
Not sure why tables would break the site layout. But then I am no html expert.

I assume with divs I would wrap the change log in one div and the right side images in another?

I don't care if its not the same, I just want to be able to place images that all share the same horizontal alignment to the right of a section of text, ideally with little to no vertical white space, easily without having to spend 15 minutes fiddling with the exact 'line' each image is on to get it to display 'correctly' while still having weird horizontal offsets.

Ahh yes, Divs worked nicely: Indiedb.com

I assume one can (and should on other sites as well?) nest divs instead of using tables in most cases where one used to use (boarderless) tables for layouts? I have not relearned HTML in awhile.

Edited by: BlackMoons

TKAzA
TKAzA Rightio then...
Sep 26 2013, 10:35am Anchor

tables aren't supported full stop i believe, you may be able to wrap divs, but to be honest, its get away with what you can, news isn't as customizable as it could be, however we need to keep some form of formatting structure, or some news posts would look really out of place with all types of wacky layouts.
nice update :)

--

TKAzA
DBolical Community Manager
Get Noticed Get Headlined

Copyright, IndieDB, SlideDB or ModDB issues PM me.
www.moddb.com www.indiedb.com www.slidedb.com
Do you like 3D Art? We do too!

Sep 26 2013, 3:45pm Anchor

Not sure how wacky layouts would really break anything. But then maybe tables can screw up the surrounding layout elements of the site? *shrugs*

Thanks for the compliment. As I said, I mainly just needed a way to get the images on the right to align easier. Div's do the job nicely so im happy with them.

Is there any page that lists exactly what html is allowed or not allowed in news articles and game descriptions?

TKAzA
TKAzA Rightio then...
Sep 26 2013, 7:01pm Anchor

No there isn't but i'm working on updates to the howtos to expand the basic html explanation for people to use and abuse.
 the site has a lot of freedom, its just finding that freedom and using it for your own benefit, kinda like modding moddb...

--

TKAzA
DBolical Community Manager
Get Noticed Get Headlined

Copyright, IndieDB, SlideDB or ModDB issues PM me.
www.moddb.com www.indiedb.com www.slidedb.com
Do you like 3D Art? We do too!

Sep 28 2013, 6:04am Anchor

Lol tables wouldn't break the site layout, but they are still being stripped out (like some other html tags) so you can't really use them. Only divs.

Reply to Thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.