Use the CSS Background Properties:
http://www.w3schools.com/css/css_background.asp
 
But the picture will not display with CSS off...
 
Heine


Fra: wsg@webstandardsgroup.org [mailto:[EMAIL PROTECTED]
Sendt: 2. juli 2005 15:50
Til: wsg@webstandardsgroup.org
Emne: digest for wsg@webstandardsgroup.org

Hi,
on this site http://www.champion.com.ua/ or here http://pravda.com.ua/
in main column you can see a lot of news boxes
i mean image+heading+paragraph of text
It is implemented as a table.
image is first cell and text is second.

The problem is:
How to implement it with CSS so that text will not be under the image.
The obvious img{float:left} is not good - client dont want the text to be displayed under the image.
If all images ware the same size - it would be simple - just add margin to <p>, but its not like that... :(
And i hate creating classes like that: .img110px  .img180px .....

So how can i implement this table-like thing?
Can it be done with "standards"? i mean without non-semantic-table.
I cant find the way....

Any ideas?



--
gl&hf,
akella.

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01.07.2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01.07.2005

Reply via email to