HI
I want to puted three <div>s side by side so I've used float property . two of them have float:right and the other one has float:left . my problem is with that two elements that have float:right properly . . they've sticked together . I want the central div be center of them and don't stick to right or left dev elements .

i used margin-right but it didn't work

TNX

grahamy84

10-22-2009, 12:16 PM

Can you post a link to your website?

Excavator

10-22-2009, 03:12 PM

Hello hno2005,
Here's an example with a float left and right and the center one positioned with margin:0 auto;