The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> how to poistion text after relatively positioned image
hjl1999
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
hjl1999
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 11:07 PM