Text Alignment on an HTML page.
3 posters
Page 1 of 1
Text Alignment on an HTML page.
I have this HTML page I set as my "Homepage", its a small page used as a "splash" page which has a "Enter" link that when clicked takes you to a 4 second "loading page" that will load the forum index page. And I need a code that will "float" or move the text that says "Powered by forumotion.com" to the bottom right-hand side of the page. Right now it is about there using a div align tags to get it to the right side of the screen and I used some <br> breaks tags to push it down. But I don't want to use break tags because of the difference is screen sizes people have and the different browsers people use. I do not want to push the text down too far so it would create a vertical scroll-bar for some screen sizes. So my idea is if I had a code that would push the text down with percentages that would be the answer to the screen size issue, as it would automatically push the text down as far as it can go and not create a scroll-bar. My object here is to have no scroll-bars for this small page and to have that text down as far as it will go without creating a scroll bar.
So I need a code do do this with. If JavaScript is a good answer that would be fine too.
Here's my page so you can take a look at the text I am referring to:
http://runawayhorses.alldiscussion.net/
So I need a code do do this with. If JavaScript is a good answer that would be fine too.
Here's my page so you can take a look at the text I am referring to:
http://runawayhorses.alldiscussion.net/
Last edited by runawayhorses on June 14th 2012, 7:32 am; edited 2 times in total
Re: Text Alignment on an HTML page.
I meant to say vertical scrollbar.
Click the "Enter" button and that is the loading page. The issue is not on the loading page.
Click the "Enter" button and that is the loading page. The issue is not on the loading page.
Re: Text Alignment on an HTML page.
Try this:
- Code:
<div style="position: absolute; bottom: 0px;">Your copyright line or code</div>
Re: Text Alignment on an HTML page.
It almost worked it went down but its on the left hand side, how do I get it to the right?
Re: Text Alignment on an HTML page.
Try this:
Note: I edited the code, since I made an error to it.
- Code:
<div style="position: absolute; bottom: 0px; text-align:right;">Your copyright line or code</div>
Note: I edited the code, since I made an error to it.
Last edited by Sir Chivas™ on June 14th 2012, 6:36 am; edited 1 time in total
Re: Text Alignment on an HTML page.
I know I accidentally, made an error into the code. I have edited the code, in the post above you.
Re: Text Alignment on an HTML page.
Try this:
- Code:
<div style="position:relative; bottom:10px; text-align:center; width: 90%; margin:0 auto; height:30px; border:1px solid black;">
<p>Text goes here</p>
</div>
Re: Text Alignment on an HTML page.
No that put it in the middle and its not all the way at the bottom.
Re: Text Alignment on an HTML page.
try this one:?:
- Code:
<div style="position:relative; bottom:0px; text-align:right; width: 90%; margin:0 auto; height:30px; border:1px solid black;">
<p>Text goes here</p>
</div>
Re: Text Alignment on an HTML page.
No that didn't do it. The first code you posted was perfect it just needed to go to the right. That was the closest yet.
Re: Text Alignment on an HTML page.
Sorry for the drag. I'm not an expert, so I was tweaking the code. And I think I got it right
- Code:
<div style="position: absolute; bottom: 0px; right: 0px;">TEXT GOES HERE</div>
Re: Text Alignment on an HTML page.
Yes that totally worked!! Thanks so much Sir Chivas I really appreciate it!
Good job and well done.
Now I don't have to worry about scrollbars for that page, excellent.
thanks again I owe you one..
Good job and well done.
Now I don't have to worry about scrollbars for that page, excellent.
thanks again I owe you one..
Re: Text Alignment on an HTML page.
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» HTML page elements alignment and style
» How to Embed a Google Docs Form into an HTML page using HTML Pages Management
» Switch user page out with a html page
» HTML Page
» [Help] HTML Page: Space between Header and top of page.
» How to Embed a Google Docs Form into an HTML page using HTML Pages Management
» Switch user page out with a html page
» HTML Page
» [Help] HTML Page: Space between Header and top of page.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum