Link to home
Start Free TrialLog in
Avatar of Thruss23
Thruss23

asked on

Frontpage 2002 - positioning text and graphics

I have added a line of text within a top shared border in Frontpage and centred it.  I have also added an image which is on the right and has been positioned using Format, Position, Absolute.  My image is overlapping with my text and I cannot seem to get them so that the image and text can co-exist.  Have I done this right or is there a better way of doing it?
ASKER CERTIFIED SOLUTION
Avatar of nprignano
nprignano
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nltech
nltech

put the image before the text in the source and float it right using css. so your source might look something like this:

<div style="height:110px;"><img src="/path/to/image.gif" alt="image alt text" width="200" height="100" style="float:right;margin-top:5px;margin-right:10px;" /><p style="text-align:center;margin-top:50px;">Text goes here</p></div>

where the px values (for the image) for margin-top and margin-right are how far from the top/right corner of the shared border you want the image positioned.

you may want to add some padding-left:10px; to it in order to ensure a little space between text and image, depending on how close they get to each other in your layout and whether you're using a 'fluid' layout or fixed-width one.