How i cal input the content inside a rectangle box with HTML5 | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

How i cal input the content inside a rectangle box with HTML5

3rd Feb 2017, 9:09 AM
Ankit Khare
Ankit Khare - avatar
3 Réponses
+ 2
<div id="card"></div> #card { display:inline-block; width:300px; height:100px; border:2px black solid; padding:20px; /* margin between content and border */ }
3rd Feb 2017, 9:43 AM
visph
visph - avatar
+ 1
Your question isn't accurate... I try to interpret it using the tags in your questions, but I get even more confused: what do you mean by "input the content inside a rectangle box" ( guessing the begining is "how caN" ), and is 'rectangle box' a svg shape?... And if it is so, what context require that use make input in a svg rectangle rather than a simple html box, or even style an html input as you want?
3rd Feb 2017, 9:32 AM
visph
visph - avatar
0
i want to make a visiting card of my company and I want to make it in a rectangular shape with a width of 300 and height of 100
3rd Feb 2017, 9:36 AM
Ankit Khare
Ankit Khare - avatar