Log in

View Full Version : css - display inline



chas
05-16-2009, 07:22 AM
css - display inline
help please.

3 elements (separately div'd) contained within one div.

currently display thus:

div 1
div 2
div3

i want it to display:

div 1 div 2 div 3


http://impressionz.x24hr.com/impressionz/index.php?/index

at the end of the forums:

calendar>Recently Added Topics>Watched Content

i have applied {display:inline}

but the result is unexpected !!

help

bluewalrus
05-16-2009, 12:24 PM
i don't see Recently Added Topics or Watched Content. can you give a direct link.

chas
05-17-2009, 02:03 AM
i don't see Recently Added Topics or Watched Content. can you give a direct link.

just before the stats section

http://adultsonly.x24hr.com/

u might need to activate the main div with the button on the right; find the mini calendar , there should be mini panels horizontally

thanks

X96 Web Design
05-17-2009, 08:48 PM
Instead of display:inline, use float:left and they'll all align...

Cheers,
X

chas
05-18-2009, 01:43 AM
hey thanks very much, how did u know that? trial and error, or is that writen somewhere LOL

edit: i have one last problem !!! the last two panels dont align horizontally!!

cna u tell why?