How to center a text into a div tag (with an id = htmlblock1)
By karray gargouri
10 Aug 2013 08:17
English
1 Replies
Hello everyone,
I am trying to make my text centred within a div tag, I used this code:
<div id="htmlblock1" class="" style="text-align:center">
<!--HtmlCodeBlock-Start[#htmlblock1]-->
Here is my result
<!--HtmlCodeBlock-End[#htmlblock1]-->
</div>
But the text is still on left!
What's my fault?
Edited on 18 03, 2014
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.