We help IT Professionals succeed at work.

html button align with grid

johnkainn
johnkainn asked
on
Hello,
I have a Grid and above it I would like to have an image button. The button should align to the right of the Grid. How can I do that?
Comment
Watch Question

Rikin ShahMicrosoft Dynamics CRM Consultant
CERTIFIED EXPERT
Commented:
The structure would go like this-

- table/div
     - Image with right align in tr-td
     - another tr-td will have grid

Hope this solves your problem!

Regards,
Rikin.
Commented:
Well if you mean you want the button on the right side of the page above the grid, then you need a divide tag and set the image to align-text: right;   In your case you don't want to wrap the text or grid around the image. If the grid doesn't take up the entire width then give the divide a width equal to the grid, e.g. 300px :

<div style="text-align: right; width: 300px;"><IMG SRC="your button.png" ></div>

Explore More ContentExplore courses, solutions, and other research materials related to this topic.