View Single Post
Old 01-05-2026, 11:58 PM   #1
something
Junior Member
something began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2026
Device: none
Exclamation Text alignment help

Hi there,

I'm fairly new to eBook creation and have some of the basics down but I've run into a problem with the latest one I'm working on.

I am trying to have three separate pieces of text in the same line appear right aligned, center aligned, and left aligned. I have class styles for each piece of text with their specific alignment that are used elsewhere in the book and work fine, however Sigil doesn't seem to like having three separate classes in the same line despite using <span> tags to separate them which should work in theory, right? Am I using the <span> tags incorrectly?

I have even tried to simplify the HTML using style tags and simply floating each piece of text where I need, however it doesn't seem to want to centre align the middle piece of text at all.

I hope this makes sense and I have included a screenshot of the simplified version to illustrate. Any help would be amazing!
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2026-01-06 at 4.55.47 PM.png
Views:	68
Size:	145.4 KB
ID:	220111  
something is offline   Reply With Quote