hello
i have set a form with tow tag : first is an input[text] and the seconde is input[submit] , what i try to do is to align the tow element in one line , the problem is i'm getting margin top of the first input tag (input[text]) , i don't know if this is a default margin of the input[text] element , this is my code
thank you in advance.
ekka
0
Newbie Poster
Recommended Answers
Jump to PostSet on both inputs a
vertical-align: top
and you can ditch thedisplay: inline
declarations, becauseinline
is already the defaultdisplay
value for inputs.Another thing;; there's a specific
type="search"
for your search field instead of usingtype="text"
.
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.