Horizontal <divs>
I've been stuck on this for a couple of days. Is there a way to get to line up horizontally besides the Float command? The only problem I have with the float command is if I use, for example, Float:Left;, the elements are lined up horizontally, but there is no way to center them. Can anyone help?
The screenshot is here just as a visual aid. As you can see, the layout is vertical, with only a single column. The main content box is on the top of the image, and I want the 2 boxes centered right underneath it.
Thanks
Attachment | Size |
---|---|
ex.png | 2 KB |
gohankid77 posted this at 23:37 — 16th July 2004.
They have: 11 posts
Joined: Jul 2004
which basically acts like the span tag.
or
works better.
In other words, change your s to s and enclose them in a
Yianni posted this at 00:39 — 17th July 2004.
He has: 17 posts
Joined: Jul 2004
I could have sworn I tried display:inline; at least once over the past couple days. Nonetheless it worked . TWF comes through again, thanks!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.