By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,654 Members | 1,422 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,654 IT Pros & Developers. It's quick & easy.

text position-absolute

P: 3
Is it possible to position text ABSOLUTE on a html webpage ?
Jul 18 '11 #1
Share this Question
Share on Google+
3 Replies


Dormilich
Expert Mod 5K+
P: 8,639
no. but you can position text by means of its container element.
Jul 19 '11 #2

P: 3
thanks for your help.
Can I use an HTML as a container ? IE:"container.html"
Jul 21 '11 #3

Dormilich
Expert Mod 5K+
P: 8,639
I mean it this way:
Expand|Select|Wrap|Line Numbers
  1. <p id="mytext">all of my text</p>
Expand|Select|Wrap|Line Numbers
  1. #mytext {
  2.     position: absolute;
  3.     top: 3em;
  4.     left: 10em;
  5. }
Jul 21 '11 #4

Post your reply

Sign in to post your reply or Sign up for a free account.