467,910 Members | 1,749 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

Problem with Picture and Text solve with css

ich have following problem

on the left side i have an picture, an on the right side will be text.
the text is larger than the picture height, so the text continues under
the picture, how can i solve this problem with css. i can use a table
but i dont want to use any tables to design my page...
for now i use the float attribute, but this causes the give problem....

here the problem with example:

XXX = Picture
T = text

XXXXXX TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt
XXXXXX TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt
XXXXXX TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt
XXXXXX TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTtTTTTTTTTT
TTTTTTTTTTTTTTTTTTTTTTTt
it should look like this

XXXXXX TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt
XXXXXX TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt
XXXXXX TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt
XXXXXX TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt
TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt
TTTTTTTTT

thanx
Jul 20 '05 #1
  • viewed: 1937
Share:
1 Reply
Bjoern Wolter wrote:
on the left side i have an picture, an on the right side will be text.
the text is larger than the picture height, so the text continues under
the picture, how can i solve this problem with css.


Use left margin as big as image width for element you have text.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
I'm looking for work | Etsin tyŲtš
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by SeaPlusPlus | last post: by
10 posts views Thread by Saso Zagoranski | last post: by
3 posts views Thread by Simon | last post: by
9 posts views Thread by Pumkin | last post: by
1 post views Thread by webandwe | last post: by
reply views Thread by Jeff | last post: by
7 posts views Thread by raknin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.