Panel with label on one side and image on another

Murray Brown
Murray Brown used Ask the Experts™

In I have a panel that I want to show a label in on the far left and then an image on the far right.
What is the best way to do this so that no matter what size the screen the label floats to the left and the image to the right
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Developer User Interface
You will have to put each one in a div of it’s own.

<div align=“left”>
ur label control

<div align=“right”>
ur image

Open in new window

You can use CSS.
Use float property for the same.
For left side object, use:
float: left;
and for right side object use:
float: right;

Murray Developer



Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial