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>

 

 

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.