?
Solved

Image Align Question

Posted on 2006-05-03
7
Medium Priority
?
218 Views
Last Modified: 2010-04-09
I am having a problem with my images aligning correctly.


Please visit > http://www.signgold.com/sg1.php

Click STARTER KITS at the bottom

I need the images to all be aligned correctly. When there is a second line of text on the product name, the image does not align. Here is the display code:

--------------------------------

<td width=155 height=100>
<p align="left" class="style3"><p align="center" class="style3"><a href="javascript:popUp('<?= $rowc['large']; ?>')"><img src="<?= $rowc['thumb']; ?> " border = "1"/></img></a>
<br /><br />
<strong> <?= $rowc['modnum']; ?> </strong><br /><br />
<!-- When the above text is more then one line, the images do not align properly -->
0
Comment
Question by:lvollmer
  • 5
7 Comments
 
LVL 20

Expert Comment

by:Gawai
ID: 16597587
<td width=155 height=100>
<p align="left" class="style3"><p align="center" class="style3"><a href="javascript:popUp('<?= $rowc['large']; ?>')"><img align=texttop src="<?= $rowc['thumb']; ?> " border = "1"/></img></a>
<br /><br />
<strong> <?= $rowc['modnum']; ?> </strong><br /><br />

img align=texttop
bottom
Absbottom
middle
Absmiddle
top
texttop
baseline
center

 try out all these
0
 
LVL 20

Expert Comment

by:Gawai
ID: 16597717
if all fails
then draw a dynamic table it wil be align properly. do something like ....

<TD width=155 height=100>
<!-- draw a table -->
<table border=0 cellpadding=0 cellspacing=0 align=center>
<tr><td><a href="javascript:popUp('<?= $rowc['large']; ?>')><img border=1 align=center src="<?= $rowc['thumb']; ?>"></td</tr>
<tr><td><strong> <?= $rowc['modnum']; ?> </strong></td</tr>
</table>
<!-- ends here -->
0
 
LVL 12

Accepted Solution

by:
jessegivy earned 2000 total points
ID: 16602681
<td width=155 height=100 valign="top">

...go ahead and let me know if I'm being a dork ;)

~Jesse
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 20

Expert Comment

by:Gawai
ID: 16606847
lol you have used my code in the page and given points to jessegivy ?
admin.. i have objection about this
0
 
LVL 20

Expert Comment

by:Gawai
ID: 16606880
oh sori for my objection.
0
 

Author Comment

by:lvollmer
ID: 16606962
I did not use your code, I used the TD ALIGN... your image aligns did not work. I tried that before I even posted.
0
 
LVL 20

Expert Comment

by:Gawai
ID: 16613242
i hv already said sori. see my prev. post
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question