melcebu Posted September 15, 2012 Share Posted September 15, 2012 i have been looking at putting a block justified text in the centre of the page is using a box the best option. Link to comment Share on other sites More sharing options...
Ingolme Posted September 15, 2012 Share Posted September 15, 2012 I think it's the only option. Unless your definition of "box" differs from what I have in mind. Link to comment Share on other sites More sharing options...
melcebu Posted September 15, 2012 Author Share Posted September 15, 2012 this is what i did checked it i ie firefox and chrome it looks ok .text{border:0px solid blue;width:70%;margin-top:10px;margin-bottom:10px;margin-left:23%;margin-right:7%;} <div class="text"align="justify">all of the text</div> Link to comment Share on other sites More sharing options...
dsonesuk Posted September 15, 2012 Share Posted September 15, 2012 .text{border:0 solid blue; width:70%;/*margin-top:10px;margin-bottom:10px;margin-left:23%;margin-right:7%;*/margin: 10px 7% 10px 23%; /*shorthand*/text-align: justify;} <div class="text">all of the text</div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now