PDA

View Full Version : No line breaks in IE



dmelo
12 Feb 2007, 09:22 PM
when i have titles over images that are very long they do not break and form a second line, they just stretch for ever and it throws off my design. In firefox and netscape it work percect. I tried messing around with the display: block inline and none, but not luck.
thanks

Wickham
13 Feb 2007, 01:51 AM
You need to give your code to see why it isn't wrapping but have you tried <br> between words which should form a line break?

Or if you know how long you want each line to be put each line in a separate div
<div style"width: 250px">title text 1st line</div>
<div style"width: 250px">title text 2nd line</div>

What sort of image is it - a background image or inserted in a div? Or are you trying to layer text on an image? Or are you still at the photoshop stage trying to put text over an image before placing it in an html file?