Code view line height

I am on Mac OS X Yosemite using DW CC 2014. Code view is set to Source Code Pro. The problem is that line height in code view is smaller than the font height -- or something like that.
This screenshot demonstrates what I mean. Look at these characters: {,},y,g and see how they are cut off at the bottom. I've tried to fix this by changing fonts but most other fonts show the same problem. Changing font size in DW preferences also does not fix it. I tried changing the Source Code Pro set altogether using Suitcase Fusion. That did not help either. When I try to use Source Code Pro in other apps it works fine. So this seems to be a DW-specific problem.
Any ideas?

Hello Almir,
The issue is due to missing fonts: Tahoma and Verdana. We have a bug logged for the issue and will looked into.
Kindly follow the below workaround till the issue is fixed.
1. Launch Font Book from /Applications/
2. If Tahoma and Verdana fonts are disabled, enable the fonts
    Or if the fonts are missing, install the fonts.
3. Launch Dreamweaver
Let me know if the workaround is able to fix the issue for you.
Regards.

Similar Messages

  • Image dimensions in code view

    I work mainly in code view and it annoys the hell out of me
    that when I insert an image in code view, the height and width
    attributes are never included. In order to get them, I must go to
    design view and click the refresh image size icon, then return to
    code view. Is there a better way of doing this or an option to have
    the height and width automatically inserted with the image
    code?

    Find this file:
    Image.js in the Common folder in the Objects folder and in
    that file
    (which is in the Adobe/Macromedia folder in your application/
    Application Data folder)
    Find this (around line 30ish):
    var imgDim = dw.getNaturalSize(newURL);
    and add before and change to:
    var currentDoc = dw.getDocumentPath('document')
    var siteRoot = dw.getSiteRoot();
    fullURL =
    dw.relativeToAbsoluteURL(currentDoc,siteRoot,newURL);
    var imgDim = dw.getNaturalSize(fullURL);
    I've added this to my blog:
    http://blog.kaosweaver.com/index.php?entry=entry071009-134410
    Paul Davis
    http://www.kaosweaver.com/
    Visit us for dozens of useful Dreamweaver Extensions.
    http://blog.kaosweaver.com/
    What I'm up to now.
    http://www.communitymx.com/
    Partner at Community MX - Extend your knowledge
    DigiHead wrote:
    > I work mainly in code view and it annoys the hell out of
    me that when I insert
    > an image in code view, the height and width attributes
    are never included. In
    > order to get them, I must go to design view and click
    the refresh image size
    > icon, then return to code view. Is there a better way of
    doing this or an
    > option to have the height and width automatically
    inserted with the image code?
    >

  • Change line height in code view?

    Hello,
    Using DW8. In code view, I need to use a large font size but
    in so doing the lines are very close together. Is there any way to
    adjust the line height of the code?
    Thanks.

    If you referring to the actual text of the web page, yes. For
    example, in a
    paragraph:
    p{
    line-height:1.5em
    If you're referring to the code editor, I don't think there
    is.
    "EL11" <[email protected]> wrote in message
    news:eqatot$4i$[email protected]..
    > Hello,
    >
    > Using DW8. In code view, I need to use a large font size
    but in so doing
    > the lines are very close together. Is there any way to
    adjust the line
    > height of the code?
    >
    > Thanks.

  • DW CS6: Extra empty blank line in code view causing trouble!

    Hi all,
    I searched for hours for a solution to the following problem, without any success.
    When coding in Dreamweaver CS6 (Version 12.0, Windows 8.1), an extra non-editable blank line is automatically added at the bottom of the document (in code-view). This is a nice feature, since it clearly separates the end of the document from the rest of the DW user interface. BUT:
    WHEN you have "Word Wrap" disabled (i.e. horizontal scroll bars appear if one or more lines are longer than the current view),
    AND no line is actually longer than the view (i.e. NO horizontal scroll bars),
    AND you click somewhere into the document while the vertical scroll bar is at the very bottom,
    THEN the code view jumps one line upwards causing a selection of 2 lines.
    This might not seem to be a big issue at first glance, but surprisingly often all of the mentioned conditions are met.
    Is there any possibilty to somehow get rid of this problem?
    Note: The problem does not occur when any of the above conditions is false.
    Cheers!
    CamelCase

    This is strange...
    Yes, I just updated DW to 12.03 a minute before I posted the question. ;-)
    Are you sure you cannot reproduce it? Is there a blank line at the bottom of your editor as well?
    Here are the conditions again:
    Word Wrap is disabled.
    No line too long for vertical scrollbar to appear.
    Scroll fully down in the code view.
    Click somewhere into the document.
    Effect: The view jumps exactly one line upwards (such that the mentioned blank line just disappears), and instead of a blinking cursor, two lines are selected.
    Here is a screenshot before/after the click:
    I appreciate any help. Really, thank you!!

  • Is it possible to change  color on the line strip/code view in CS6?

    Hello -
    I did some research on this and cant seem to see if this can be done - I was hoping to change the color of the blue line menu on the code view screen.
    Eric

    I take it you're referring to that vertical line in the left hand side of Code View? I don't think it's possible to change the color.  If you disable line numbers (#), it's a bit less noticeable.
    Nancy O.

  • Thousands of blank lines in code view? Where did they come from?

    I have an older DW site, that for some reason when I open certain pages in code view show literally thousands of blank lines.  So line 1, code, line 2-15 are blank, then what used to be line 2 of the code, is now line 16. All the way down the line.  This one page literally has THOUSANDS of blank lines in it:
    Aurora Prom Corsages, Boutonnieres, Flowers, School Dance Flowers-Yorkville, Osego Illinois
    page renders, edits and looks fine in DW, browsers, etc. 
    My client edits it with Contribute. I use DW.
    There are certain pages he opens regularly, never saw the lines, other pages, just opens once a year, lines all over again.
    We can't find any rhyme or reason to it.
    Has anyone ever seen this?

    Try opening one of those pages in DW and then go to Commands > Apply Source Formatting and see if that cleans them out.
    I've heard of a bug where adding html comments can cause added blank lines in certain versions, I've never seen it myself though.

  • Vertical Lines or Guides in Code View

    Hello:
    Am I missing a setting in DW or did they just not include this. I am used to seeing vertical lines in code view to note where the beging of a tag originated. For example if I put a <TD> tag somwhere in the document and move on down the code line, when I finally put the </td> tag there is a vertical line leading up to it.
    Any help or advice on this would be very helpful.
    Paul

    @pmsquillace : definitely! I am dying for vertical grid lines. Dreamweaver, this is a must. This feature is needed greatly. I just looked for yet another time to find a plugin for Dreamweaver to get vertical lines but 0 results.
         Now I have realized my own best option is to use the pixel ruler . It can be a lesser substitute which I an now going to use as needed.
    @John Waller : I am submitting a feature request right away. Thanks for the link.

  • Line breaks in code view

    I'm using Dreamweaver in 90% of the time in code view, and there is one thing I dont like and I can't seem to fix it.
    When I have a log text the text breaks at the end of my screen and continues at the next line, instead of giving me a horizontal scrollbar at the bottom of the page.
    Is there an option to make this happen?

    Dreamweaver has two types of word wrapping in Code view: hard wrapping, which is off by default, and soft wrapping, which is on by default.
    Soft wrapping works like a word processor by moving text onto the next line when it reaches the right border, but does not insert a newline character. To turn off soft wrapping, go to View > Code View Options, and click Word Wrap. It's a toggle on-off option. With a check mark alongside, it's on. Just click to remove the check mark and turn off soft wrapping.
    Hard wrapping, by the way, is in Preferences > Code Format. It's not recommended, because it breaks JavaScript.

  • Dotted lines for tab indents in Code View

    Does anyone know how to whip DW's code view into the current century? I Specifically showing tabs in code view. Other IDE's have a great way of showing tab indenting with subtle lines. DW's approach is heavey handed and garish. IMO it's unusable in it's current form. See comparison below.
    Is there a plugin, xml hack, or hidden preference that would allow me to achieve something similar?

    Try opening one of those pages in DW and then go to Commands > Apply Source Formatting and see if that cleans them out.
    I've heard of a bug where adding html comments can cause added blank lines in certain versions, I've never seen it myself though.

  • How I activate, when in code view current code line, to be highlighted (all line) eg light-blue ?

    How I activate, when in code view current code line, to be
    highlighted (all line) eg light-blue ?

    Actually, in Windows (XP) the highlight color (in DW8) is a
    byproduct of the
    color scheme you set for your desktop.
    Walt
    "Michael" <[email protected]> wrote in message
    news:gn7fpk$hbp$[email protected]..
    > In code view, click the line number in the left margin
    corresponding to
    > the line of code you wish to highlight. Left click that
    number and the
    > whole line will be highlighted in blue.
    >
    > Michael
    >

  • Line-height problem in publishing after update!

    This was how it looked before the update.
    This is how it look now.
    same line-height value. but it only happens when i publish it when i view it locally there's no problem.

    Fisrt, this problem only happens in the published content which has edge runtime js file in minified form.
    There is one issue with the minification due to which this issue happens.
    1. What´s the difference between the code you gave me and the "textShadow" with ts:"textStyle" you gave that other guy?
         Since your edge runtime code is hosted in CDN which we don't have acces to modify, that's why you need to add one line extra code. If edge runtime is hosted in your server itself then you can modify it as I suggested earlier. But I would recommend to add extra one line code, which will be cleaner way to do it.
    2. Should I always insert the code you gave me before starting a new project? So this problem doesn´t happen along the way?
         You can add this one line to every new project if it's using line-height. One we fix the issue in the next release, you no longer need to do that then. But till then, use it.
    -Vivekuma

  • DWCS6 - can't edit in Code view {subject edited by moderator}

    In the split view or the design view, I can edit text anywhere on the page but when I click on the code side the text is grey and line number bar turns blue. Is there a way to turn the editing back on in the code view? Working on a PC with a document created on a mac.

    No, it won't let me edit in the code at all.
    Here's the code:
    <!DOCTYPE HTML>
    <html><!-- InstanceBegin template="/Templates/OCVR.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <!-- InstanceBeginEditable name="doctitle" -->
      <title>OVCR | New Researcher Guide</title>
      <!-- InstanceEndEditable -->
    <!-- Mobile Specific Metas
    ================================================== -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <!-- CSS
    ================================================== -->
    <link rel="stylesheet" href="../css/reset.css" type="text/css" media="all" />
    <link rel="stylesheet" href="../css/responsive.css" type="text/css" media="all" />
    <!--[if lte IE 7]>
      <link rel="stylesheet" type="text/css" href="/ovcr/css/ie7.css" />
    <![endif]-->
    <!-- OTHER LINKS
    ================================================== -->
    <link href="http://illinois.edu/lb/rss/19/text.xml" rel="alternate" type="application/rss+xml" title="Illinois News Bureau: Research" />
    <!-- JS
    ================================================== -->
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
    <script src="../scripts/search.js" type="text/javascript"></script>
    <script type="text/javascript" src="http://emergency.webservices.illinois.edu/illinois.js"></script>
    <!-- InstanceBeginEditable name="head" -->
      <link rel="stylesheet" href="../css/smoothness/jquery-ui-1.8.23.custom.css">
      <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
      <script>
      $(function() {
      $( "#accordion" ).accordion({
      active: false,
      autoHeight: false,
      collapsible: true,
      header: 'h2'
      </script>
      <!-- InstanceEndEditable -->
    </head>
    <body>
    <div id="header">
      <div class="wrapper">
      <div id="logo"><a href="http://illinois.edu/"><img src="../images/uiuc.png" alt="The Office of the Vice Chancellor for Research" width="57" height="71" /></a><a href="../index.cfm"><img id="ovcr-logo" src="../images/invisible.png" alt="The Office of the Vice Chancellor for Research" width="437" height="63" /></a></div>
      <div id="campus">
      <ul id="nav_2">
      <li class="firstLI"><a href="http://illinois.edu/map/view">Maps</a></li>
      <li><a href="http://illinois.edu/ds/azList">A-Z Campus Index</a></li>
      </ul>
      <form action="" onSubmit="sendSearch()" id="" name="gs" method="get">
      <input type="hidden" name="search">
      <input type="hidden" value="all" name="search_type">
      <input type="hidden" value="" name="skinId">
      <input type="hidden" value="" name="cx">
      <input type="hidden" value="" name="cof">
      <input type="text" onFocus="checkSearchValue()" value="Search" size="10" class="searchbox" id="q" name="q">
      <input type="submit" id="go" class="searchbutton" value="Search" name="sa">
      <ul id="searchRadio">
      <li>
      <input type="radio" checked="checked" value="1" id="searchType_people" name="t">
      <label for="searchType_people">Directory</label>
      </li>
      <li>
      <input type="radio" value="2" id="searchType_info" name="t">
      <label for="searchType_info">Illinois</label>
      </li>
      </ul>
      </form>
      </div>
      </div>
    </div>
    <!-- <= end #header -->
    <div id="nav_main">
      <ul>
      <li><a href="../research/index.cfm">Research Funding</a></li>
      <li><a href="../policies/index.cfm">Policies &amp; Compliance</a></li>
      <li><a href="../training/index.cfm">Training for Researchers</a></li>
      <li><a href="index.cfm">About the OVCR</a></li>
      </ul>
    </div>
    <!-- <= end #navigation -->
    <div class="wrapper">
      <div id="crumbs"><!-- InstanceBeginEditable name="crumbs" --><a href="../index.cfm">Home</a> &raquo; <a href="index.cfm">About the OVCR</a> &raquo; <strong>New Researcher Guide</strong><!-- InstanceEndEditable --></div>
      <!-- <= end #crumbs -->
      <div id="content-bg">
      <div id="content">
      <div id="article"> <!-- InstanceBeginEditable name="content" -->
      <!-- <= end #crumbs -->
      <div id="content">
      <div id="article"> <!-- InstanceBeginEditable name="content" -->
      <div id="subNav"><!-- #BeginLibraryItem "/Templates/about.lbi" --><ul id="menu_resp">
      <li><a href="staff.cfm">Staff Directory</a></li>
      <li><a href="../orgchart.pdf">Organization Chart</a></li>
      <li><a href="committees.cfm">Committees of the VCR</a></li>
      <li><a href="units.cfm">Overview of Units</a></li>
      <li><a href="reports_statistics.cfm">Reports &amp; Statistics</a></li>
      <li><a href="Research_Admin_Guidelines.cfm">OVCR Research Administration Guidelines</a></li>
      <li><a href="volunteer.cfm">Volunteer to Help Illinois Research</a></li>
      <li><a href="contact.cfm">Contact Us</a></li>
    </ul>
    <p><a href="#" onClick="javascript:$('#menu_resp').slideToggle(); return false;" id="menu_m">&ndash; Menu &ndash;</a></p>
    <!-- #EndLibraryItem --></div>
      <div class="section">
      <h1>New Researcher Guide </h1>
      <div id="accordion">
       <p><strong>Welcome to the Illinois Research Community!</strong></p>
      <p>Illinois is a large and complex institution, but we hope that you will soon find your way around both the physical and the electronic campus.<br>
       <br>
       Our culture values collegiality and interdisciplinary research, and we hope this page provides the basic information you need to help you launch your own productive research endeavors.<br>
      <br>
               Click on the tabs below for select links and information about the Illinois research community. More detailed information can be found throughout this website - and if you need additional guidance, don't hesitate to <a href="mailto:[email protected]">contact us</a>. </p>
    <h2><a href="#">Find Research Resources</a></h2>
       <div>
      <p>Your college's research office can provide specifics, as individual research needs will vary depending upon your discipline, but the following links may help you find the tools, equipment, and services to achieve your research goals: </p>
      <p><a href="http://research.illinois.edu/units/technology.cfm">Campus research facilities and services</a><a href="http://research.illinois.edu/about/programs-and-resources.cfm"><br>
         Research programs and additional resources</a></p>
      <p>Select items that may be of particular interest to new faculty include:</p>
       <p><a href="http://www.library.illinois.edu/sc">Library research resources (Scholarly Commons) </a><br>
         <a href="http://www.library.illinois.edu/ugl/mc/">Support for producing digital media  (Media Commons)</a><a href="https://ideals.illinois.edu/"> <br>Research Repository (IDEALS)</a><a href="http://itg.beckman.illinois.edu/visualization_laboratory/"><br>
           Modeling, imaging, and graphic design services (Beckman Vis Lab) and</a><a href="http://www.igb.illinois.edu/core">Microscopy services (IGB Core Facilities)</a><a href="http://www.it.illinois.edu/"><br>
           Computing resources (IT Excellence)</a></p>
               </div>
      <h2><a href="#">Find Funding</a></h2>
       <div>
      <p> Your departmental business office can  guide you, but when you are ready to look for funding, the OVCR can help.</p>
      <h4>Internal Funding Resources:</h4>
                            <p>The <a href="http://crb.research.illinois.edu/">Research Board</a> provides support for new faculty to initiate research at Illinois. <a href="http://research.illinois.edu/research/Funding_Opportunities.cfm"><br>
                            Additional Campus Funding Opportunities</a></p>
                            <h4>External Funding Resources:</h4>
                            <p><a href="http://externalfunding.research.illinois.edu/Default.aspx">Limited Submissions</a><a href="https://www.grantforward.com/index"><br>
                              Grant Forward </a></p>
                            <p>The OVCR offers <a href="http://research.illinois.edu/research/support.cfm">additional support</a> to faculty in the humanities, arts, and social sciences<em>. </em></p>
                            <p><em><br />
                            </em> </p>
                          </div>
      <h2><a href="#">Hire Staff</a><br />
      </h2>
      <div>
      <p>Your departmental business office should be able to assist you with personnel needs. There are many different employee classifications, and the hiring process differs significantly depending on the position.</p>
      <p>Visit the Illinois Human Resources <a href="http://humanresources.illinois.edu/index.html">website</a> for more information. <br />
       </p>
         </div>
      <h2><a href="#">Find Collaborators</a></h2>
      <div>
      <p>The University of Illinois at Urbana-Champaign is currently developing a &quot;Faculty Experts Database&quot;<em> -</em> a tool that will showcase faculty expertise and help you to connect with colleagues. We will launch that service in Fall 2013, but in the meantime we encourage you to connect with your department head and senior faculty, and your college's senior administration. They can provide suggestions on connecting with other researchers across campus. </p>
      <p>Additionally, the research   institutes that report to the OVCR are hubs of collaboration and interdisciplinary research on campus: </p>
      <p><a href="http://beckman.illinois.edu/">Beckman Institute for Advanced Science and Technology</a></p>
      <p><a href="http://www.igb.illinois.edu">Institute for Genomic Biology</a></p>
      <p><a href="http://www.ncsa.illinois.edu/">National Center for Supercomputing Applications</a></p>
      <p><a href="http://www.prairie.illinois.edu/">Prairie Research Institute</a><br />
       </p>
                            </div>
      <h2><a href="#">Understand Regulatory Requirements</a></h2>
      <div>
      <p>Supporting the   safe and ethical conduct of research is a priority for the Office of the Vice Chancellor for Research at the University of Illinois at Urbana-Champaign. Review a <a href="http://research.illinois.edu/policies/checklist.cfm">checklist</a> to help you get started, or learn more about research <a href="http://research.illinois.edu/policies/index.cfm">policies</a>and required<a href="http://research.illinois.edu/training/index.cfm"> training.</a><em><br />
       </em> </p>
      </div>
                            <h2><a href="#">Share Your Results</a></h2>
      <div>
      <p>The<a href="http://otm.illinois.edu/"> Office of Technology Management</a> can help you understand the intellectual property issues in research activities and your role in commercializing university innovation. </p>
      <p>The  News Bureau generates and coordinates national news coverage of the Urbana-Champaign campus. News Bureau writers cover <a href="http://news.illinois.edu/about_staff.html">specific campus beats</a> and also provide advice for interacting with the media. </p>
      <p>Many departments and colleges also have communications staff to help share news and research results. Find your unit's &quot;Chief Communications Officer&quot; <a href="http://publicaffairs.illinois.edu/campus/cco.html">here</a>. <em><br />
       </em></p>
             </div>
      <h2><a href="#">People in Research: The Names You Need to Know</a></h2>
                                <div>
      <h4><a href="../orgchart.pdf">OVCR Org Chart</a> </h4>
      <p><a href="http://research.illinois.edu/about/staff.cfm"><br>
         Office of the Vice Chancellor for Research</a><br>
       Peter Schiffer, Vice Chancellor for Research<br>
       Melanie Loots, Executive Associate Vice Chancellor for Research<br>
       Jan Novakofski, Associate Vice Chancellor, Compliance<br>
       Nancy Abelmann, Associate Vice Chancellor for Humanities, Arts, and Related Fields
                                  <br>
                                  Howard Guenther, Associate Vice Chancellor, Research Integrity Officer
      </p>
      <p><a href="http://www.ospra.illinois.edu/">Office of Sponsored Programs</a><br>
       Dave Richardson, Director </p>
      <p><a href="http://irb.illinois.edu/">Institutional Review Board</a><br>
       Anita Balgopal, Director</p>
      <p> <a href="http://www.drs.illinois.edu/">Division of Research Safety</a><br>
       Peter Ashbrook, Director</p>
      <p><a href="http://dar.research.illinois.edu/">Division of Animal Resources</a><br>
       Lyndon Goodly, Director</p>
      <p><a href="http://biomedical.illinois.edu/">Division of Biomedical Sciences</a><br>
       Jennifer Eardley, Interim Director
      </p>
                                </div>
      <p> </p>
         </div>
      <!-- <= end .section -->
      <div class="clear"></div>
      <!-- InstanceEndEditable --> </div>
      </div>
      </div>
      <!-- <= end #content --></div>
    <div id="footer">
      <div class="wrapper">
      <div id="address">
      <p><strong>Office of the Vice Chancellor for Research</strong><br>
      Fourth Floor, Swanlund Administration Building, MC-304<br>
      601 E. John Street, Champaign, IL 61820</p>
      </div>
      <div id="email">
      <p><strong>Email:</strong> <a href="mailto:[email protected]">[email protected]</a><br>
      <strong>Phone:</strong> 217-333-0034<br>
      <strong>Fax:</strong> 217-244-3716</p>
      </div>
      <p id="c">&copy; 2012 Board of Trustees of the <a href="http://illinois.edu/">University of Illinois</a></p>
      </div>
    </div>
    <!-- <= end #footer --> <script src="../scripts/menu.js"></script> <script type="text/javascript" src="http://emergency.webservices.illinois.edu/illinois.js"></script>
    <!-- InstanceBeginEditable name="footer" --><!-- InstanceEndEditable -->
    <div id="modal"></div>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-6127625-1");
    pageTracker._trackPageview();
    } catch(err) {}
    </script>
    </body>
    <!-- InstanceEnd --></html>

  • Line height question

    Hi,
    I am using the boilerplate. There are sections of content individually assigned styles - for example, <p>, <dt>, <dd>.
    As these tag styles flow the same way and generally appear the same way on the page - if I want to increase the line height of the text for the entire page, instead of adding line-height to all 3 independent tag styles, is it best to set globally and define in the body tag?
    Just wondering what would be the best method here?
    Thanks!

    Now, we're fishing in the dark here because we cannot see your code because you have not given us a link with which to view it, so we're offering pretty generic suggestions here…
    There are two ways to call a text style in HTML. Either call it with the attribute for your text or call it as a <span> element.
    So like osgood suggested, you can have a class that will define a line height that is pleasing to you that can be applied to anything thusly:
    <ul>
         <li class="this">List item one</li>
         <li class="this">List item two</li>
         <li>This list item is not styled with the line height "this" because there is no class element.</li>
    </ul>
    <p class="this">This text will have osgood's line height, assuming you have added that class to your style sheet.</p>
    <p>This text will <em>not</em> have osgood's line hight because there is no class="this" after the paragraph element in the HTML</p>
    Or you can use the span element thusly:
    <p>this text has no line height attribute <span class="this">but this text does</span></p>
    (please understand that the line height adjustment in the above paragraph may be set entirely by the part with the line-height adjustment because that is the way web browsers work, applying line height for the entire line and not just the part that has the adjustment, so if there was a line break before your span element, there would be two different line heights.
    And you can set up multiple line heights to affect any of your HTML in your CSS either by calling the class in your HTML or by simply defining all of the elements in your HTML page with the combination in your style sheet thusly:
    p dt dd {
         line-height: 16px;
    Got it?
    -Mark

  • Dreamweaver cs6 keeps adding br tags in code view

    Hi
    I've just upgraded to Dreamweaver cs6 and am having trouble with the code view. When typing in <script> tags or <style> tags I keep getting two <br> tags automatically inserted. It is really annoying as it puts them on two lines and takes time to remove them and completely disrupts your flow when typing code or css.
    Any suggestions on how to prevent this happening?
    Thanks.

    Thanks David - I think that may well explain it. It seems to happen mostly when adding a { in code or CSS. I wonder if I'm still holding the shift key when I hit enter for a new line. I'm trying Dreamweaver again after using visual studio for the last 5 years or so. I wonder if I can just change the keyboard shortcut.

  • Text wrapping in code view

    In Preferences, I have checked the option Automatic wrapping
    after column
    76. However some rows can't wrap at the specified column
    because the tags in
    that rows can't be destributed in two lines. So, DW (8 and
    now CS3)
    hard-breake them at the end of the window, resulting in a new
    line without
    line number (I have Line numbers checked under View > Code
    view options
    menu).
    Is there a setting for not breaking those tags at the end of
    the window?
    (I'm only speaking about the long tags and not the plain
    text, that I srtill
    want it wrapped at column 76 so, I can't uncheck the Option
    Word wrap under
    View > Code view options menu, because it overrides the
    wrapping after
    column 76 option of the Preferences, making not only the long
    tags exceeding
    window's right edge, but plain text, too).
    Thank you in advance
    Please, remove hyphens to contact me

    Tun off this setting:
    View > Code View Options > Word Wrap
    HTH,
    Randy
    > In Preferences, I have checked the option Automatic
    wrapping after
    > column 76. However some rows can't wrap at the specified
    column because
    > the tags in that rows can't be destributed in two lines.
    So, DW (8 and
    > now CS3) hard-breake them at the end of the window,
    resulting in a new
    > line without line number (I have Line numbers checked
    under View > Code
    > view options menu).
    >
    > Is there a setting for not breaking those tags at the
    end of the window?
    > (I'm only speaking about the long tags and not the plain
    text, that I
    > srtill want it wrapped at column 76 so, I can't uncheck
    the Option Word
    > wrap under View > Code view options menu, because it
    overrides the
    > wrapping after column 76 option of the Preferences,
    making not only the
    > long tags exceeding window's right edge, but plain text,
    too).

Maybe you are looking for