We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser bug (a bug with a feature that may impact site compatibility)
Safari Mobile has issues when using text-align property, even if MDN Web Docs says Safari Mobile fully supports text-align.
Safari
Text aligned in the center inside the buttons.
I did test this on my personal portfolio.
No.
index.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My Portfolio</title> <link rel="stylesheet" href="index.css"> <link rel="icon" href="icons8-globe-africa-96.png"> <link rel="apple-touch-icon" href="icons8-globe-africa-96.png"> </head> <body class="main"> <p class="title_text">Select Grade</p> <div class="grade_select"> <button class="button">Sixth Grade</button> <button class="button">Seventh Grade</button> <a href="/8th Grade/8th Grade.html"> <button class="button">Eighth Grade</button> </a> </div> </body> </html>
index.css
.main { background-color: rgb(105, 195, 255); } .title_text { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; text-align: center; font-size: 7vw; } .button { background-color: rgb(175, 50, 215); height: 30vw; width: 30vw; color: #ffffff; text-align: center; border-radius: 3vw; border: 1vw solid black; font-size: 7vw; } .grade_select { display: flex; justify-content: space-evenly; } .button:hover {background-color: rgb(155, 30, 195);} .button:active {background-color: rgb(135, 10, 175);}
firefox in fedora 41 safari in ios 18.0.1
https://developer.mozilla.org/en-US/docs/Web/CSS/text-align
css.properties.text-align
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What type of issue is this?
Browser bug (a bug with a feature that may impact site compatibility)
What information was incorrect, unhelpful, or incomplete?
Safari Mobile has issues when using text-align property, even if MDN Web Docs says Safari Mobile fully supports text-align.
What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
Text aligned in the center inside the buttons.
Did you test this? If so, how?
I did test this on my personal portfolio.
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No.
Do you have anything more you want to share?
index.html
index.css
firefox in fedora 41
safari in ios 18.0.1
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/text-align
MDN metadata
MDN page report details
css.properties.text-align
The text was updated successfully, but these errors were encountered: