text alignment problem
i have this design but the problem is text is not aligning properly
45 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
you'll have to be more specific to what you want the text to align to, and also provide the code, preferably in a codepen. You should check #How To Ask Good Questions
that's adobe xd prototype
that's the end result
let me share the html here
i want paragraph to be shown on website same as i made it in ui
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
css
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i gave it <p>
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
what else i can do ?
it is like this now
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
margins to p?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
who to make it center ?
really ?
how ?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i'm in mac can you tell me where i can see it?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
wait
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i got one iframe link
got this
does this work perfectly ?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
what size unit is best for text ?
rem or em ?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
for now i'm not worried
cause that's the single page my website will have
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
it's like this
how can i make it proper paragraph
what bout the paragraph
what do you mean ?
can you see the change
did you checked ?
you can't edit my codepen you need to fork it 😉
ohh
i did this
you can check the codepen now
your p should be a heading and a p element 🙂
you could also instead of using br put all those text blocks in their own p elements
The new issue
use media query to change grid-template-columns 🙂
Should i do display grid in body ?
Can you show how
A little example i meant
check the pen i moved the grid-template-columns into a media query so that at 700px and above it will be 2 columns below they will stack
can you check this
why do use float? just use the code from my pen