Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
The text on my website will not re-size correctly when making the browser
window smalller, here is what it is supposed to look like
http://puu.sh/cHBLL/85a120e2c0.jpg
But look at the text when the browser window gets smaller
http://puu.sh/cHBXN/f13a685962.jpg
it squashes the text in the middle and makes more lines.
here is my code

HTML:



Toontown Classic is coming soon




CSS:

#NewsPosts{
position: relative;
bottom: 0px;
top: -925px;
width: 45%;
position: center;
margin: 0 auto;
font-size: 20px;
margin-left: 10;
margin-right: 10;
text-indent: 5;
}
Posted

1 solution

Can you please try, with removing the width property 'width: 45%;'. If it won't work, then please try with 'width: 100%;' or 'width: auto;'. I hope this will help you :).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900