HTML Help?

This forum is for Games & Computing related discussion

Moderators: Fringe Security Bureau, Senior Editors, Senior Translators, Alt. Language Translator/Editor, Executive Council, Project Translators, Project Editors

Locked
User avatar
Krikit
Mikuru Bunny
Posts: 1018
Joined: Mon Mar 10, 2008 3:29 am
Favourite Light Novel: Ahouka!
Contact:

HTML Help?

Post by Krikit »

I'm not sure which section this should go in, but as this topic says "Games and Computing," I think it's okay.

Does anybody know how to add captions to images, and keep the images all aligned?

for example, the farthest i've gotten so far is a caption, (html. I use a CSS title, then before the image and link code add the <div> thingy.) is where it's all setup okay, but there's this border on the sides of the image, there's a good caption underneath it, but then all the images start on new lines, i think because of the code where you center it left or right. argh.

ps, looking for software to caption an image outside. then i'll just upload all the images new, and they'll have an ingrained caption in their picture. a little more work, but i can't think of anything else atm.
User avatar
Mies
Astral Realm

Re: HTML Help?

Post by Mies »

Can't be sure that this will fix your problem, but the <div> tag adds a newline after the closing tag, whereas the <span> tag does not.

For a simple demonstration...

Code: Select all

<div>This is</div>
<div>text</div>
Results in

Code: Select all

this is
text
Whereas

Code: Select all

<span>This is</span>
<span>text</span>
Gives

Code: Select all

This is text
Notice how the span does not insert a newline.


Not quite certain what you're looking for, but I hope this helps a bit.
User avatar
Krikit
Mikuru Bunny
Posts: 1018
Joined: Mon Mar 10, 2008 3:29 am
Favourite Light Novel: Ahouka!
Contact:

Re: HTML Help?

Post by Krikit »

I'll give it a shot as well to see if I can use it, and if so I've got some applications I'd like to try it on.

As to the original question, I solved it with a Table, lol. xx columns, xx rows, and I can just alight stuff up. It works really well, and you can see the results over here:

http://www.light-novels.info/titles.html
Locked

Return to “Games & Computing”