mboehler3 Posted June 27, 2009 Report Share Posted June 27, 2009 Hi, here is a screen shot of my problem:I want the text to all align on the same line, the top. Here is my code: <div class="grid_4"> <img src="/images/v1_1/surechoice/ac_subboxTop.gif" /> <div class="ac_subBox"> <div class="ac_boxtitleBig">Referral Program</div> <div class="ac_boxsubheadBig">Save your clients time and money</div> <table> <tr> <td width="107"> <img src="/images/v1_1/surechoice/ac_postnote.gif" /> </td> <td> <div class="ac_rightimageText">Refer the online alternative to traditional payroll<br /><br /><a href="#">> Learn More</a> </div> </td> </tr> </table> </div><img src="/images/v1_1/surechoice/ac_subboxBottom.gif" /></div> I dont think you need the css, but it can be found here: CSSPlease help, thank you!! Link to comment Share on other sites More sharing options...
dsonesuk Posted June 28, 2009 Report Share Posted June 28, 2009 (edited) It seems by default, table cells are vertical aligned in the middle, which looks what it is doing on your page. try adding valign="top" or style="vertical-align: top;"<td valign="top"> <div class="ac_rightimageText">Refer the online alternative to traditional payroll<br /><br /><a href="#">> Learn More</a> </div> </td>or<td style="vertical-align: top;"> <div class="ac_rightimageText">Refer the online alternative to traditional payroll<br /><br /><a href="#">> Learn More</a> </div> </td> Edited June 28, 2009 by dsonesuk Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now