December 26th, 2001, 10:01 PM
image placement using CSS
I have the following situation:
some text with no css associated with it just aligned LEFT
<img> some image with a css selector that is as follows:
<table> a table of 1 row with two cells (50% widths)
I do not want to add any css stuff to the text or the table nor change their HTML tags/properties.
With the relative style the img is placed 'under' the text (60% to the left which is what I need)but I want it to be on the top of the page immediately to the right of the left aligned text. If I use absolute positioning for the img it covers the contents of the table. Is there a way to 'push' the table to just below the image remembering that my only option at this point is playing around with that h3 style only.
can anybody help me out?
December 27th, 2001, 01:38 AM
What about putting the image inside the table?
Real programmers code in binary
December 27th, 2001, 04:53 AM
Try this in the img tag:
it could be what you're after. It will align the image to the right of the screen and wrap the text along side it.