WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] div floating problem (5 posts)

  1. schwgmnn
    Member
    Posted 11 months ago #

    I have problem with my template, i made a prototype i html without wordpress and he post are floating left https://dl.dropboxusercontent.com/u/34421080/proto/index.html

    but when with wordpress the div with "post" class are one under another.

    http://emiliocuilan.com/?cat=2

    any ideas?

  2. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    The posts divs on that page are nested.

  3. schwgmnn
    Member
    Posted 11 months ago #

    Sorry I'm not very good in css, how to resolve this?

  4. WPyogi
    Volunteer Moderator
    Posted 11 months ago #

    It's not CSS - its the structure of your HTML. See:

    <div class="post">
       <p>
          <div class="post">
              <p>
                  <div class="post">

    Make sure your mark-up is valid - this may help you figure out where that problem is in your code:

    http://validator.w3.org/check?uri=http%3A%2F%2Femiliocuilan.com%2F%3Fcat%3D2&charset=%28detect+automatically%29&doctype=Inline&group=0

    You also might want to look at:

    http://codex.wordpress.org/Theme_Development

  5. schwgmnn
    Member
    Posted 11 months ago #

    I had a mistake in loop , thanks !

Reply

You must log in to post.

About this Topic

Tags