Jump to content

Text on both sides


manix

Recommended Posts

You don't position the text using PHP. You use html/css for this. Example HTML/CSS code for floats

<div class="float-container">
  <div class="left">text on the left side</div>
  <div class="right">text on right side</div>
</div>

 

And the CSS

.float-container {
    width: 100%;
    overflow: auto;
}
    
.left {
    float: left;
}
    
.right {
    float: right;
}

Link to comment
https://forums.phpfreaks.com/topic/240427-text-on-both-sides/#findComment-1234928
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.