how the fuk do i center text in html?
<center></center> does nothing
>>54426100
There's a web dev thread. Fuck off.
>>54426100
works on my machine.
Center tag is deprecated you humongous first semester piece of shit
>>54426150
>His html doesn't validate
Would not hire to make my MySpace page
>>54426100
http://www.w3schools.com/tags/att_div_align.asp
Use CSS you faggot, center tags have been deprecated for a while
>>54426100
wrap it in a div or a span and give it a class in which you define CSS for that class to apply the property: text-align: center;
>>54426208
thx senpai, looks like this worked. but now it appears that the bounding box in which the text is input is not centered. what do? i have no webdev experience or credentials i'm just trying to create a good looking tumblr blog.
>>54426271
add:
margin: auto;
to the container
>>54426271
>i'm just trying to create a good looking tumblr blog.
>>54426288
>using margin auto in 2016
Just use flexbox yo
>>54426288
>>54426301
>>54426318
shit guys, i have no idea what any of this means. will just trial and error until it works lol.
>>54426288
this sounds promising, any idea how i can figure out where in the html clusterfuck i have to paste this in?
it's super weird, no matter where i replace
text-align:left with 'center' it still seems like the box containing the text is squished to the left.
please guys i'm sure someone here knows the easy fix :o
CSS is deprecated, use javascript instead.
http://howtocenterincss.com/
>>54428316
The fact that this exists makes me make to kill people.