I didn't get exactly what you need, but i'll try to help. IF you want the <div> to be placed somewhere in thepage, letting other elements (or text) use the space around it, use the 'float' css property: float: [left|right]
it will make the <div> float left, or right, the elements placed after it, NOT above then. ELSE, IF you want the <div> to be alwats at the same place on a page, above other elements, use 'position: fixed', and top (or bottom) and left (or right) css properties to set it's place. it will make the <div> appear in his place, and other elements behind (or above, depending on the z-index property) it, and it will not scroll with the rest of the page. tell me if i missed what you need, and give us an example, in the case, please. On Mon, Aug 24, 2009 at 3:30 PM, Bazley<[email protected]> wrote: > > I have a load of images wrapped in a 'photo' class in which I would > like to float a div. In other words, I want the div to float in a sea > of classes. I can only get the div to lie on top of the classes. I > want the classes to float around the div the same way text would. Any > help greatly appreciated! > > .photo { > position: relative; > margin: 1px; > border-width: 1px; > border-color: red; > border-style: solid; > } > > > > -- Paulo Diovani [email protected] +55 51 8146 5413 ___________________ http://www.diovani.com --~--~---------~--~----~------------~-------~--~----~ -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected] -~----------~----~----~----~------~----~------~--~---
