Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
how to center y-axis in td element
simon tiberius
Greenhorn
Posts: 29
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I've tried:
vertical-align:middle;
but didn't work. the text in td is still on top of td. how to make it centered?
Muhammad Saifuddin
Ranch Hand
Posts: 1325
I like...
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi simon,
<td> tag already have defined
valign
attribute to do that.
But
The <td> valign attribute is not supported in HTML5. Use CSS instead. [
Reference
]
So try
valign:middle
Saifuddin..
[Blog]
[Linkedin]
How To Ask Questions On JavaRanch
My OpenSource
Evildoers! Eat my justice! And this tiny ad's justice too!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts 2.1 error message breaks page html formatting
Layout problem - somebody knows which LayoutManager to use?
Vertical alignment issues : vertical-align:middle does not work
text and img inside button
JSP form with four inputs and one submit button
More...