PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, November 18, 2022

[FIXED] Why is my specific table cell class not changing its vertical alignment?

 November 18, 2022     css, css-tables, vertical-alignment     No comments   

Issue

I've created a specific table cell class to change the vertical alignment of the text in the cell but for some reason I'm getting an error message in my element inspector in my browser and the CSS is the same as the less specific version.

I've attached a screenshot of what is going on. Any ideas of what the error message means and/or how to fix this. I've tried adding !important but that didn't work.

Warning message that I'm not familiar with...

Click the image to enlarge it.


Solution

Try using vertical-align: middle;

'center' is used for horizontal alignment.



Answered By - Simon
Answer Checked By - Pedro (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing