Welcome visitor
* Login
* Register
It is currently May 20th, 2019, 12:33 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 3 posts ] 
Author Message
  align content
PostPosted: February 6th, 2009, 9:42 pm 
User avatar

Posts: 56
Hi,

Basically what i want to do is to hava a text always alined with some margins on the left and the right side, not only an all centered text, i don know how to explain, but i dont want something like the word 'center style' something more likely the 'justified' but with margins... and thanks for taking your time helping me.


Top
 Profile  
 
  Re: align conten
PostPosted: February 6th, 2009, 10:02 pm 
User avatar

Posts: 81
u can try '<body leftmargin="150px">' but that would be only for the left margin, not sure that you can control tha right one... what i can suggest you is to create a table with 3 big cells, one for the left margin, other for the content and the third one for the right margin.


Top
 Profile  
 
  Re: align conten
PostPosted: February 6th, 2009, 10:10 pm 
User avatar

Posts: 81
:P found this, you can simply put all your content within a div
<div align=right style="margin-right: 20%;">cONeNt</div>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron