![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want one <div> beside the next no space I want them to be like boxes lined up like these equal signs ============================== How do I do that with CSS, I read about something I thought was "inline" but I don't know how to set it. |
#3
| |||
| |||
|
|
News wrote: I want one <div> beside the next no space I want them to be like boxes lined up like these equal signs ============================== How do I do that with CSS, I read about something I thought was "inline" but I don't know how to set it. What you want is "float: left": div { float: left; } div>One</div div>Two</div div>Three</div You'll see that this produces some like this: OneTwoThree |
#4
| |||
| |||
|
|
frederick wrote: What you want is "float: left" [...] Thanks that worked, for some reason I thought it had to do with inline. |
#5
| |||
| |||
|
|
News wrote: frederick wrote: What you want is "float: left" [...] Thanks that worked, for some reason I thought it had to do with inline. No probs. Make sure that you have a Google for the small no. of other possible values for "float"; likewise look at "clear", which acts to cancel the float for a subsequent block. |
![]() |
| Thread Tools | |
| Display Modes | |
| |