Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8213791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:14:26+00:00 2026-06-07T11:14:26+00:00

i write a program to show arabic text. i use two type of font:

  • 0

i write a program to show arabic text.
i use two type of font:

1:a font with out Arabs

2:a font with out text

i can change each color separately with this method.i used two span tag with the same id for showing text with arab and text with out arab on each other.
result:enter image description here

every thins is ok.
but when i change text-align to justify it dont work good and the text goes out.
result:enter image description here

a part of code:

<span class=ThuithQA id=1-0> <font  size=5>بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ (١)</font></span><span class=ThuithE> 
<font color=Red size=5>بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ (١)</font></span><span class=ThuithQA id=1-1> <font  size=5>الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ (٢)</font></span>

i wnt to show text justify.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T11:14:29+00:00Added an answer on June 7, 2026 at 11:14 am

    I could Solve my problem with this code:
    i put arab and text in a seperate div
    and set div

    posation:absolute
    

    and set body

    text-align:justify;
    

    a part of code

    <div style=" position:absolute;"> 
    <span class=ThuithQA id=1-0> 
    <font  size=5>بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ (١)</font> 
    </span > 
    <span class=ThuithQA id=1-1> 
    <font  size=5>الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ (٢)</font> 
    </span >  
    </div> 
    
    <div style=" position:absolute;"> 
    <span class=ThuithE> 
    <font color=Red size=5>بِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيمِ (١)</font> 
    </span > 
    <span class=ThuithE> 
    <font color=Red size=5>الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ (٢)</font> 
    </span > 
    </div>
    

    result:
    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to write a program which get two 6-digit decimal numbers and show
I am trying to write a program that can replace text and replace also
I'm willing to write program that after 5 sec shows text that was hidden
Hi I suppose to write a program that show the run time complixity I
I wanted to write a Prolog program to find equality of two lists, where
I am trying to write a hello world type program for using virtual channels
Can anyone help with this exersise? Write a program which asks the user for
Hi i want my java program to show a popup and gain read,write,delete file,folder
Using Perl, Python, or Ruby, can I write a program, probably calling Win32 API,
My program, should do: In other thread write each result to global array. A

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.