Hi, is it possible to align a class to another class in css?

In other words, I have 2 columns, each are in a class, both are in one class together. I need to align a class that I made to bypass the outter class on the page so that my image will align to the bottom of column 1. However, column 2 is longer than 1 so my image that is aligned with column 1 does not pass the border of the main class making it appear too far down from my column 1 blocks. Can anyone help?

I hope I explained that right.alt text

  • This could be any number of things... It would be easier to help if we could see your HTML and CSS. Dwayne Anderson almost 10 years ago

1 answer

Jordan 469

Have you tried floating column 1, and the image to the left using the float command: float:left. It needs to be applied to both the column and the image separately. Then you would use command float: right for column 2: float: right. Another approach you could take would be to use a 2 column table surrounded by a

tag. Something like:

`<div height="#">
<table width="100%" border="0" align="#">
    <td width="250">&nbsp; <br><img src="#" width="#" heigth="#" align="center"></td>

    <td width="300">&nbsp;</td>

**` just remember to replace"nbsp;" with your own info.

Answered almost 10 years ago by Jordan