Hey guys. I have a simple problem with displaying DIVS. This is my problem; I would like the two divs to be displayed together on one line without using tables (cause tables suck). Here is some example code:
And this displays it like this:
And I want it to display like this:
Does anyone know how I can solve this annoying, but probaly simple problem of mine?
+REP plus 1NP$ to whoever helps me. :hehe:
EDIT: Okay I found a way that works for this using CSS, but I'd like to know if there are any other ways of doing this. Here is what I came up with. I made a class called PWNAGE and it was like this:
So yeah that seems to work. Any other suggestions?
Code:
<div>pwnz0rz!</div><div>pwnz0rzdoublaview!</div>
And this displays it like this:
Code:
pwnz0rz!
pwnz0rzdoublaview!
And I want it to display like this:
Code:
pwnz0rz! pwnz0rzdoublaview!
Does anyone know how I can solve this annoying, but probaly simple problem of mine?
+REP plus 1NP$ to whoever helps me. :hehe:
EDIT: Okay I found a way that works for this using CSS, but I'd like to know if there are any other ways of doing this. Here is what I came up with. I made a class called PWNAGE and it was like this:
Code:
.pwnage{
display: inline;
}
So yeah that seems to work. Any other suggestions?






