
December 26th, 2001, 09:01 PM
|
|
Registered User
|
|
Join Date: Aug 2001
Location: Toronto
Posts: 16
Time spent in forums: 1 h 8 m 12 sec
Reputation Power: 0
|
|
|
image placement using CSS
I have the following situation:
<body>
some text with no css associated with it just aligned LEFT
<img> some image with a css selector that is as follows:
h3{position: relative;
left: 60%;
top: 0%;}
<table> a table of 1 row with two cells (50% widths)
....
</body>
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?
|