How can I do it look same line. I have try to include input tag in p tag
after that look like same line but p tag is a block element after that input and button are not same line.
how can i fixed it ?
code pen link
https://codepen.io/arnabchakmaa/pen/JjMeEQZ
Hi @arnabchakma2021 !
I would suggest adding a basic css reset because html does have some default styling.
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
Now you should be able to see a difference.
There are different types of css resets but this article gives a pretty good explanation of what is happening.
I have a set of baseline CSS styles that come with me from project to project. In the past, I'd use a typical CSS reset, but times have changed, and I believe I have a better set of global styles!
Hope that helps!
system
Closed
October 15, 2022, 6:30pm
3
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.