Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

To have more space in right side

anuraa

Legendary Coder
Hello Friends:

I am trying to have more space in right side of after the text. Photo, then, text. I extracted the part of the code. If you look at www.sis.anura7.ca , On the right side of the text, there is no space at all, specially on a smart phone. Thanks for your help.

HTML:
<!DOCTYPE html>
<html>
<head>
  <style>
    .container1{
    margin: 11px auto;
    width: 98%;
    padding: 10px 10px 10px 10px;
    } 
    .wtexta{
    float: left;
    width: 60%;
    height: auto;
    border-style: outset;
    border-width: 5px;
    border-color: gold;
    margin: 10px 10px 10px 10px ;   
    }
    .wtextb{
    float: left;
    width: 60%;
    height: auto;
    border-style: outset;
    border-width: 5px;
    border-color: gold;
    margin: 10px 10px 10px 10px ;
    }
    .wtextc{
    float: right;
    width: 60%;
    height: auto;
    border-style: outset;
    border-width: 5px;
    border-color: gold;
    margin: 10px 10px 10px 10px;
    }
    .texta{
    text-align: justify;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 0px 0px 0px 0px;
   }
   .textb{
    text-align: justify;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding: 0px 0px 0px 0px;
    }
  </style>

</head>
<body>

  <div class="container1">
    <img class="wtexta" src="profile.jpg" >
    <div class="texta">
      Her Name is Mrs. D…….  Fernando de Silva.  <br><br>
     She was born to a wealthy Buddhist family in Panadura.
      She was educated at Panadura Balika Vidyalaya.<br><br> Her parents
      are the late Mr. sss Fernando and the late Mrs. Leela Fernando.
       She has only one brother the late Mr. Tissa
       Fernando. <br><br>
        D…. was always interested in music, literature,
        sports since she was very little. She had guidance
        from her mother, father and older brother. <br>
    </div>
  </div>
  <div class="container1">
    <img class="wtextc" src="nangif.jpg" >
    <div class="textb">
        After finishing schooling,
        she spent time in teaching music to students,
        writing poetry. <br><br>  D…. likes to continue to contribute
        to the literature by dedicating her time to write poems. 
        She contributes poems to Suhada Hamuwa, Vihanga Geethaya,
        Sithuwili Adawiya, Swarna Bhoomi, Adaraye Navathena, Hanthana
        Adawiya, Anantha Hengum, Panhindak Newathuna Thenak, Thunhele
        Panhida, Wassana Prarthana, Hada Vimandora. Kaviyaka Arumaya,
        Hadawatha Emathumak, Senehase Kedella, Kawi Mini Muthu,
        Panhindaka Chamthkaraya, Pahan Weta, Kawi Hada Wila, Vihansa Sahitha
        Ambara and London kawi e magazine.   She has received many appreciations
        from all of them. <br><br>  D….. is very talented with the
        art of painting too.  She had art exhibitions at BMICH.
        D……. is very interested in helping others, philantrophy is
        something closer to her heart. <br><br>
        She stronglcy believes that we come to the
        world with nothing and go back with nothing. She also, believes,
        in Karma and rebirth.
    </div>
  </div>
  <div class="container1">
    <img class="wtextb" src="nangi.jpg">
    <div class="texta">
      Dhakshini is married to Mr. Hemal
      Ranganath de Silva who was an engineer by
      profession. <br><br>  Hemal is a great supporter for
      D…….’s continued contribution towards her art,
      literature. <br><br> Both the husband Hemal and wife D... 
      are strong believers in the following. <br><br><br>
      <p class="motto" ><b>Literary
        Arts inspire, enrich, educate, and entertain.
        They remind us that there is beauty and joy in
        language, that others have insights worth paying
         attention to, that in our struggles we are not alone.</b></p>
    </div>
</div>
<br><br><br><br>

 </body>
 </html>
 

Attachments

  • nangif.jpg
    nangif.jpg
    149.9 KB · Views: 0
  • profile.jpg
    profile.jpg
    60.5 KB · Views: 0
  • nangi.jpg
    nangi.jpg
    65.9 KB · Views: 0

New Threads

Latest posts

Buy us a coffee!

Back
Top Bottom