Avatar of padmasambhava
padmasambhava

asked on 

CSS How do I make my css file make any image in a table a certain size?

CSS How do I make my css file make any image in a table a certain size?
CSSHTML

Avatar of undefined
Last Comment
Dave Baldwin
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

That is normally done in the image tag, not in CSS.  To do it in CSS, you would have to give each image a unique id so you could apply the specific CSS to it.  Another way in a table with fixed cell sizes is to set the width to a percentage instead of pixels.  100% will fill the cell.
Avatar of padmasambhava
padmasambhava

ASKER

I cannot put it inline. Every attempt to add a width has resulted in no change.
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Then you need to give us a link to check out your page to see what is causing it.
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
HTML
HTML

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.

62K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo