Ask coding questions

← Back to all posts
How To Align Text
CodingElf66

Hi, Replit Community! I am having a problem, unfortunately. The text is not lining up.

I want the rest of the text to line up with the top, but I don't know how, so can someone help? I have the code behind, can anyone help?

5 upvotes for whoever answers this!

Note: In Python, the spacing isn't working, either, so don't bother fixing it, I want HTML or CSS to be the solution

Voters
CodingElf66
Comments
hotnewtop
CosmicBear

Which file exactly?

CodingElf66
ch1ck3n

poop

MrVoo

I can't see the problem, can you draw what it's supposed to look like?

MrVoo

If you want the letters to align use a mono space font

CodingElf66

@MrVoo Zoom in the image in the post. I just typed in the last thing I pasted, but you see that a_string = "abcde" isn't aligned with splitz-strings = [] and the rest of the ReplMail. Here, I'll insert my Repl if you want to see the code.

MrVoo

@CodingElf66 Which file is this on?

CodingElf66

@MrVoo Go check inbox.html in templates, or maybe style.css in static.