elcohen
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by elcohen
-
-
-
6 minutes ago, Ingolme said:
I don't know anything about tumblr. Look for an HTML element that is wrapping around your text and apply the margin and max-width to it.
Thank you @Ingolme !
Works
ツ
-
1 hour ago, Ingolme said:
You need CSS if you want to properly make a web page. To center a block of text you can set the max-width of the container and give it a left and right margin of auto.
HTML
<div class="text"> <p>Lorem ipsum dolor sit amet</p> </div>
CSS
.text { max-width: 600px; margin: 0 auto; }
Thanks for your reply @Ingolme ツ
I'm trying to make this work in Tumblr. It has a section that allows me to 'add CSS' but it doesn't seem to work. Do you know how to get around this?
Thx
-
[post deleted]
in HTML/XHTML
Posted · Edited by elcohen