World Discussion Forums    129 visitors now
World Discussion Forums        
     Add to Favorites            Digg It Digg this stuff!              More Discussion Forums  Search Forums     Show all topics in this forum

HTML/Web Design Forum
Forum topic/blog entry started by Ravi on 8/19/2007 4:41:50 (server time).
This topic has been viewed 3045 times.

Textbox on Background Image


Hi
I want put two text box on image which is set as background image for that particular page,and it should be fix place of that both text box as per resolution on system.

[Posted from : INDIA]
Reply from/
Date
Replies
Scott


4/19/10 1:27:55 PM
Something like this in your head section, setting the position atributes:

<style>
p.pos_fixed
{
position:fixed;
bottom:60px;
right:5px;
}
</style>

And this in the body of your webpage, which uses a paragraph <p> to place whatever content you like, including a textbox in any position that you like, which is set in the <style> settings above.

<p class="pos_fixed" align="right" id="help">Your text or other HTML elements here... It will be placed in whatever position that is set in the style settings in your head section. A textbox here is fine, as is almost any other HTML elements. The resolution of the users browser doesn't matter, as the position is set using number of pixels, so if the resolution is lower, the HTML will be placed in the same place on the graphic background.</p>
View printable version of this topicPrinting view go to previous topic go to next topic    Topic 8 of 39

Show Smiley's

Instant Chat

Go to the last forum topic you viewed

 Post a reply                 You have full membership for these forums
   Name   

 Your reply here...       (advertising links will not be accepted)


Your Avatar: (optional)
   

[Avatar must be available on the web. Enter its URL above then click 'Get It'. Maximum
image size is 150x150 pixels. Your Facebook pic can be used with this method. You can get
your Facebook avatar URL by opening Facebook, right-clicking your pic and selecting 'Properties'.
Your pics URL/address will be shown. Copy it, then paste it here and click 'Get It'.]


Email me when new replies are posted to this topic
(Optional. Not displayed.)



Forum Help



Disclaimer        Rules