CSS Power
Pages
Home
Resize Text to Fill Div Space
With the help of this simple javascript you can make the text fill the whole width of the div just like in the example below.
your css:
#character_justify { position: relative; width: 100%; border: 1px solid red; font-size: 32pt; margin: 0; padding: 0; } #character_justify * { margin: 0; padding: 0; border: none; }
your Javascript:
your HTML:
Example
Text
Example
Text
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment