SQL Doc

Latest version: 2.1

SQL Doc

Knowledge Base

Database description runs off page (Version 1.x)

Category: Troubleshooting & error messages
Date: 01 Feb 2011
Product: SQL Doc
Setting the description of the Database seems to work but as you change the size of the Internet Explorer window, the HTML table seems to change, the text doesn't wrap within the cell. It seems to remain static and moves off the page.

This is a known issue caused by the way that Internet Explorer handles the dynamic HTML. Since SQL Doc encodes the spaces in the description with non-breaking spaces ( ), Internet Explorer will not word-wrap the description within the table cell.

This problem has been fixed in version 1.3. If you cannot upgrade for whatever reason, a possible workaround is to modify SQL Doc's stylesheet.

  - Open %programfiles%\red gate\sql doc 1\Style1\Style\master.css using Notepad.exe
  - Locate the line beginning ".breadcrumbs"
  - Inside the curly-braces, add the following line: "word-wrap: break-word;"
    for instance:
.breadcrumbs
{
 
 font-size: 80%;
 font-weight: normal;
 margin-bottom: 10px;
 padding: 4px;
 word-wrap: break-word;
}
  - Save the document

Although the database description will now stay inside the confines of the table cell in documents produced after applying this workaround, please note that words will still wrap at inappropriate locations using this document, for instance in the middle of the word.

Document ID: KB200705000020 Keywords: SQL,Doc,wrap,description,nbsp,word,space

Was this article helpful?

Search support
Forums
Visit the SQL Doc forum.

SQL Doc

all SQL products

all products