how to poistion text after relatively positioned image |
how to poistion text after relatively positioned image |
hjl1999 |
Jul 18 2011, 03:03 PM
Post
#1
|
Newbie Group: Members Posts: 18 Joined: 19-August 09 Member No.: 9,488 |
My page is in the middle position of browser
<body style="width:85%; margin-left:auto; margin-right:auto"> On top left corner is logo. Then, the text " ® ". However, the image covers up the ® sign. Not able to move this ® slight left of logo <img src="logo.jpg" style="border:none; width: 312px; height: 28px; position:relative; left:10%; margin-top:1em" alt="logo" /></a> <sup> <span style="position:relative; left: auto"> ® </span></sup> What should I do? Thank you. |
hjl1999 |
Jul 19 2011, 07:30 PM
Post
#2
|
Newbie Group: Members Posts: 18 Joined: 19-August 09 Member No.: 9,488 |
Pandy, thank you. I follow your example. The image is stuck at the top left corner. The image is outside of the margin frame. The margin frame is located at the desirable location, lower and righ of the top-left-corner. How can I locate the image inside the margin frame? Thank you.
You specifiy image width and height, is it better to use %, particularly when different browser show image sizing differently in different screens or smartphones? Thank you. |
Lo-Fi Version | Time is now: 19th April 2024 - 11:07 PM |