Jump to content

Help me align this two elements thank you.


co.ador

Recommended Posts

check the Rate: text in the picture and the rating square that are not aligned. I don't know how to handle so they can look aligned.

 

Right now it looks like

 

shoestoreversion5.gif

 

 

I want it to look like.

 

shoestoreversion4.gif

 

 

<div id="shoeinfo">
<img src="../images/spacer.gif" width="95%" height="7" style="position:relative; left:7px;"/>
	<h2 class="infohead">" . $content['shoename'] . "</h2>
	<div class="video"><img class="line" src="images/videoplayer.jpg" alt="videoplayer" width="100%" height="100%"></div>

	<h5> Rate:</h5>
<h4>";
$ratingData = Rating::OutputRating($content['shoename']);
      
      if (Error::HasErrors())
      {
        echo Error::ShowErrorMessages();
        Error::ClearErrors();
      }
      else
      {
        echo $ratingData;
      }  
  echo"</h4>
    	
       <h3>Prosedimiento:</h3>
    	<p>Womens fashion shoes with higher 
    	heels generally have pre-made, thin,
    	flexible, leather or resin rubber fitted
    	soles, made using the bottom pattern
    	created from the last. Two shapes of
    	sole are made this way, one for a Louis
    	heel, and the other for a Knock-on type. </p> 
</div>

 

 

Link to comment
Share on other sites

Thank you liam

 

 

solution:

 

h3{

clear:both;

}

h4{

float:left;

}

 

h5{

float:left;

display:inline;

}

 

Now when I rate the <h3>  h3 p and the p move down making the .shoeinfo snags now...

 

It pushes the elements to the right to take up the space of the shoeinfo class below the one being rated...

 

I have to rate one of the other shoeinfo div class in the same row to balance it and make the shoeinfo class that has moved to the right to come back to it's position again.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.