• Can someone look at my page: http://earthtodavid.com/my-fanlistings/

    and tell me why the 50 X 50 icons are lining up vertically instead of horizontally as they normally would on a regular HMTL page? Do I need to use some extra img code in wordpress to make them align side by side instead of underneath each other?

Viewing 4 replies - 1 through 4 (of 4 total)
  • David,
    This has to do with the way WordPress handles content that you enter via admin. Whenever you press enter in the Content box, WordPress will add a tag. Pressing enter twice between lines of content will put each line into separate paragraphs. Hopefull the following examples will illustrate (code has been shortened):

    Content Box

    <a href=""><img /></a>
    <a href=""><img /></a>
    <a href=""><img /></a>

    Filtered HTML

    <a href=""><img /></a>
    <a href=""><img /></a>
    <a href=""><img /></a>

    Content Box

    <a href=""><img /></a>
    
    <a href=""><img /></a>
    
    <a href=""><img /></a>

    Filtered HTML

    <a href=""><img /></a>
    
    <a href=""><img /></a>
    
    <a href=""><img /></a>

    For your page, I would suggest entering the linked images without pressing enter between each one:

    Content Box
    <a href=""><img /></a> <a href=""><img /></a> <a href=""><img /></a> <a href=""><img /></a> <a href=""><img /></a> <a href=""><img /></a> <a href=""><img /></a> <a href=""><img /></a>

    Thread Starter earthtodavid

    (@earthtodavid)

    mfields thank you so much for your help. I didn’t even think about how wordpress would put the tags in there for how I entered the html for the images. I entered the linked images just as you said and now the images line up just like I wanted them to.

    I am very new to wordpress. I would have never figured this out if you hadn’t helped. Thanks!!!

    Thread Starter earthtodavid

    (@earthtodavid)

    Oh by the way mfields I forgot to mention I linked to you on my wordpress resources page….. http://earthtodavid.com/wordpress-resources/

    as thanks for helping me with this little problem. 🙂

    David,
    Glad I could help and thanks for the link on your site!!!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Image alignments on wordpress pages’ is closed to new replies.