If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Problem With Aligning Image Results Icons Using CSS
Problem With Aligning Image Results Icons Using CSS
Hello. I am in the process of configuring the CSS search.html using Dreamweaver and I am having a problem with aligning the style for .result_image. I want to align the image icons that I have associated with a file type so that line up to the left on the same line as the result title. By default, they are aligning to the left, but they are not positioning in the top of the column. What am I doing wrong. Here is the code I am using for .result_image and .result_image img:
You CSS sets the margin to 45 pixels all the way around the image. This naturally causes it to not be positioned to the top (it would be 45 pixels down from the top). Did you mistake this for a height value?
Removing the "margin:" value you have set should allow the image to be top-aligned.
Comment