This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes vista+ IE + javascript confirm box Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "vista+ IE + javascript confirm box" Watch "vista+ IE + javascript confirm box" New topic
Author

vista+ IE + javascript confirm box

vijaya bacina
Ranch Hand

Joined: Aug 23, 2005
Posts: 155
hi
i had a confirm box with multiline text. it is working well and good in XP and in vista the format is messy. i had two line breaks in my text and in vista i see 4 line breaks
here is the confirm box

[ July 10, 2008: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Please take the time to choose the correct forum for your posts. This forum is for questions on site issues.

This post has been moved to a more appropriate forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

The browser will render this in the way that it sees fit. There's nothing you can do to affect it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: vista+ IE + javascript confirm box
 
Similar Threads
Carriage return within a text field
Line Breaks when displaying HTML
How to save a text file without boxes for newline character?
Line break in xml
Meeting request using Java Mail