![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Jan 2005
Location: Sydney
Posts: 1,414
|
I have a fixed width contentpage (800px) and I want to be able to place images of a fixed size at an absolute position inside the main content div, but have the text naturally flow around it. I don't want to use a paragraph tags because the position of the image still depends on where it is placed inside the paragraph tag. Example
Code:
+----------------------+ | ............ +-----+ | | ............ | | | | ............ +-----+ | | +---+ .............. | | | | .............. | | +---+ .............. | | .................... | +----------------------+ Any ideas? Thanks
__________________
Laptop: Unibody MacBook 2.4ghz, 4GB DDR3, 750GB
Desktop: Mac Pro (8-core) 2.8Ghz, 6GB ECC RAM Server: Norco 4220, Q9550, 4GB 1066Mhz, 3ware 9650SE-16ML, 31TB, Fedora 10 x64 |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 |
|
Member
Join Date: Oct 2002
Posts: 8,025
|
|
|
|
|
|
|
#3 | |
|
Member
Join Date: Jan 2005
Location: Sydney
Posts: 1,414
|
Quote:
__________________
Laptop: Unibody MacBook 2.4ghz, 4GB DDR3, 750GB
Desktop: Mac Pro (8-core) 2.8Ghz, 6GB ECC RAM Server: Norco 4220, Q9550, 4GB 1066Mhz, 3ware 9650SE-16ML, 31TB, Fedora 10 x64 |
|
|
|
|
|
|
#4 |
|
Member
Join Date: Oct 2002
Posts: 8,025
|
Any chance you can upload your test page... maybe to your ISP space or something?
Also, the location of the <img> tag in the text, when using float:left/right, will affect where in the text the image is shown. |
|
|
|
|
|
#5 | |
|
Member
Join Date: Jan 2005
Location: Sydney
Posts: 1,414
|
Quote:
I realise that by moving the images it will change their vertical location, but this will be database generated and so php wont know where to put the images. If I could keep the images with their absolute positions at the top then the content follows that would be ideal. EDIT: I put the css into the main file, and as much as I hate microsoft this has to be friendly with IE6.
__________________
Laptop: Unibody MacBook 2.4ghz, 4GB DDR3, 750GB
Desktop: Mac Pro (8-core) 2.8Ghz, 6GB ECC RAM Server: Norco 4220, Q9550, 4GB 1066Mhz, 3ware 9650SE-16ML, 31TB, Fedora 10 x64 Last edited by chancey; 27th October 2009 at 4:07 PM. |
|
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|