0

Suppose I have a table or a image in html form and I want to increase size of that table or image how will I do that

I am unable to change attributes of table from css file

16th Oct 2019, 2:05 PM
Nikhil Tale
Nikhil Tale - avatar
1 Réponse
+ 1
There are many ways to do this: 1: for the image just add an id or class to the html... (<img class="add-your-classname" src="#">) Or replace class="" with id="idname" Then use .classname or #idname as your css selector and use width or height. 2: for a table you can give it an id or class, or use the selector tag type ie: table to style it. table{width:x;} So essentially you can use tag names for styling, id for individual sections, class to select various tags at once. table image would select all images in table elements. table, image selects selects table and images table* selects everything in the table. Css diner will help explain selectors to you. play it here https://flukeout.github.io
3rd Nov 2019, 3:00 PM
Lorecan de Robillard
Lorecan de Robillard - avatar