Hi I have a question that has been bodering me for a while.I have seen many developers that when they try to position block level elements on the same line they use both:
float:left
display:inline
I myself only use display:inline-block for this and I get the same effect.A couple a weeks ago a developer suggested that I should use the above code but when I asked why he diden't answer.
If that developer is right then why should I use the above code?What is the difference?