|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
What about putting the image inside the table?
wabirdman
__________________
Real programmers code in binary |
|
#3
|
||||
|
||||
|
Try this in the img tag:
style="float:right" 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. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > image placement using CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|