How do you put text to the top, left corner in css?
I need to know this for my website..
body {
padding:0;
margin:0;
}
#header {
height: 100px;
float:left;
}
.help_header {
float:right;
}
(: found this on https://stackoverflow.com/questions/31212187/how-to-make-text-appear-at-the-top-left-corner
if i helped please press the check
Sorry @therealebraheem it didn’t work :(
@Coder2404
oh well! wish you good luck on your personal project!
Thanks @therealebraheem do you mind if we became friends?
Yay @therealebraheem I have 2 friends now
I just realized I never had 6 cycles @therealebraheem where did it come from?
(Not like I’m complaining)
@Coder2404
i just liked all of your replies
Why did you like all of my replies? @therealebraheem
Like seriously @therealebraheem
I won’t be mad @therealebraheem
@Coder2404
what do you mean by that
I mean can you please tell me why you liked my replies @therealebraheem ?
You don’t have to if you feel uncomfortable.
@Coder2404
i wanted you to have more ? ?????????
Why would you ever do that for me? @therealebraheem
Ok just nevermind, talk to you tomorrow! @therealebraheem
Hey there! @therealebraheem
Hey @therealebraheem how have you been?
I’ve been good too @therealebraheem
@therealebraheem Do you know how to make a sidebar?
@therealebraheem Hey how are you, I’m good, how about you?
@therealebraheem hey, how have you been?
@therealebraheem hey, how are you?
@Coder2404
your not talking much
are you [email protected]
what langeus to you [email protected]
do you use [email protected]
wanna work on [email protected]
@Coder2404
why arent you responding
@Coder2404 please respond
@Coder2404
are you gonna respond please
want to make a project pls
@Coder2404
ill help with the [email protected]
its okay if your [email protected]
@Coder2404
well bye for now
@Coder2404ugh sorry my little sister keeps spamming!!!
how are you. coder2404?
@therealebraheem not really
@therealebraheem fine, you can can help with a project, but why were you not responding before?
@therealebraheem it’s, okay, I’m NOT mad 😀
@therealebraheem just don’t spam me next time
I literally have more than 50 messages in my notifications, LOL
@therealebraheem who is your little sister?
@therealebraheem um, here is my schedule of my school days
8:50-9:00 I can talk to you
9:00-10:15: Math
10:15-10:30 I can talk to you
10:30-11:10: Technology
11:10-11:25:I can talk to you
11:25-12:15: Reading
12:15-1:00:I can talk to you
1:00-1:50:Writing
1:50- End of day :)
@therealebraheem hey, how are you?
@therealebraheem why are you not responding..😔😔😔
@therealebraheem What language do I use? HTML and CSS.Not really JavaScript :p
@therealebraheem are you there?😔😔😔😔
@Coder2404
do you use python
@therealebraheem no, I don’t
@Coder2404
hey, sorry i dont wanna talk that much anymore, from the start i just wanted to answer your question.
@therealebraheem then why did you spam me yesterday
(But I’m NOT mad)
@Coder2404
Wasnt me sorry bout that
@therealebraheem who was it then?
@Coder2404
im not gonna respond anymore
@Coder2404
im sorry
@therealebraheem
this to cheer you up https://imageshare.best/news.php?id=B2SLFC
@therealebraheem what are you sorry for?
@therealebraheem hey, how are you?
@therealebraheem is this your school?
Leota Middle School
19301 168th Ave NE, Woodinville, WA 98072
your on a apple device?
you live in brooyklyn right??
@therealebraheem yes, but how did you know?
@therealebraheem please respond
.topcontainer {
position: relative;
}
.text {
position: absolute;
left: 0;
top: 0;
}
Solution
here's how you do it.
<body>
<div id="header">
<p class='help_header'>text text text</p>
</div>
</body>
body {
padding:0;
margin:0;
}
#header {
height: 100px;
float:left;
}
.help_header {
float:right;
}
like that. The top is HTML, and the bottom is css.
That should work.
here's a link for more info.
https://stackoverflow.com/questions/31212187/how-to-make-text-appear-at-the-top-left-corner
make it position fixed then set top: 0 and left: 0.
How do you exactly do that? @EpicGamer007
@Coder2404 css... create something called style.css then link it to the html. then access the element and add the styles
@Coder2404 There you go!
I haven’t learned a lot so I needed a lot of help. @tussiez
@tussiez (Sorry if I’m annoying) but can you show me how to do it?
You are my friend anyway...
Try this:
Now make sure your text has a id of
text
:(not related, but are you https://forum.snap.berkeley.edu/u/gacha-girl?)
Yes, I certainly am @programmeruser
And it works, thanks @programmeruser
@programmeruser Can you please help me
https://repl.it/talk/ask/Coder2404-because-this-doesnt-require-c/117999/433558?from=notifications