Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9076101
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:02:04+00:00 2026-06-16T19:02:04+00:00

I have a comics website and would like to place text (database field description)

  • 0

I have a comics website and would like to place text (database field “description”) under each comic thumbnail.

I have 2 questions:

Question 1) I’m not sure why, but when I place text under a comic, it forces the comic row below it to offset by one.

enter image description here

But otherwise, without text… it lines up fine:

enter image description here

The CSS is as follows:

    .comics {
    float: left;
    padding: 15px 5px 30px 15px;
    margin: 10px;
    background: url(images/SiteDesign/comicbg.png) no-repeat 0 0;

    /*Need to set width on this >= to thumber width so description text will wrap*/
    width: 220px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;

}

PHP:

    echo '<li>';
    echo    '<span class="comics"><a href=".?action=viewimage&site='.$site. '&id=' . $row['id'] .'">
            <img src="./scripts/thumber.php?img=.' . $thumbpath.$row['thumb'] . '&mw=220&mh=220"/></a>' . 
            '<br /><br /> ' . $row['description'] . '</span>';                              
echo '</li>';

I feel like I’m doing the CSS correctly, so not sure why it’s offsetting.

Question 2)

The only reason I’m adding text at the bottom is because Go Daddy says I do not have enough occurences of key words, such as “comics”, or “artwork” on my pages for SEO. If I add this text, often including keywords, would that improve my SEO?

Thanks!

EDIT —–

If I do display: inline-block; and verticle-align: text-top; for li, do I need text for each post? otherwise it seems to awkwardly push up one of the images.

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T19:02:05+00:00Added an answer on June 16, 2026 at 7:02 pm

    If you can’t guarantee that each element will have the same height, you want display: inline-block, not float. Also, it should be on the li.

    li {
      display: inline-block;
      vertical-align: text-top;
    }
    

    You can stuff whatever you want within the li and each row will line up across the top. Demo (using divs): http://jsfiddle.net/ffr3M/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a comics website where I'm trying to implement a like/dislike system. Each
I have a comics website, http://www.hittingtreeswithsticks.com/ , which I add new comics to each
I have a comics website where I'd like to allow users to vote once
I have a comics website, and I'd like to keep track of how many
I'm building a website which will show comics. I'd like to store each image
Inspired by the XKCD geohashing comic (http://imgs.xkcd.com/comics/geohashing.png), I thought I'd have a go at
I have a comics site which I'd like to easy my uploading of image
I have a comics website which loops through all images in a db and
I have my XML like this <P style=TEXT-ALIGN: center; MARGIN: 0pt> <SPAN style=FONT-FAMILY: 'Times
I have these 2 queries and i would like to join them into one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.