Results 1 to 2 of 2

Thread: No line breaks in IE

  1. #1
    Join Date
    Nov 2006
    Posts
    6

    No line breaks in IE

    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

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    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?
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Javascript Line Breaks causing error?
    By InVaZ in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 14 Dec 2005, 08:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •