Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Text align issues in Dreamweaver?
I've made a website and positioned the footer at the bottom of the page, with a right alignment of text.
This shows up fine in Dreamweaver, but when I open the page up in a browser, the right align doesn't work, but it aligns to the left.
What is going on??
css
#footer {height:20px;
margin-top: 1250px;
text-align:right;
font-size:9px;
}
Thanks everyone
and Dan I actually tried that just before you posted and it didnt make the difference.
I figured it out myself though. I had the content div's height: 100% and when I removed that it now works properly
3 Answers
- 1 decade agoFavorite Answer
You need to give the container a width or the container will wrap around the text and it will always be on the left.
Try:
#footer {
height:20px;
width:800px;
margin-top: 1250px;
text-align:right;
font-size:9px;
}
That code will make the container 800 pixels wide and the text will be on the right.
Source(s): Computer Science Degree - Anonymous1 decade ago
Remember - Dreamweaver isn't a web browser. It's not even IE. Design to a browser, not to Dreamweaver. (Use Dreamweaver to size and position things, if you can't see the page in your mind as you write the code, but don't depend on it to do any of the work for you.)