Inside or outside the line breaks?

It seems that when I try to switch to another line in Design view by using SHIFT + ENTER, DW seems to place the < br / > inside the tag I just ended.   If I only seek to add a space after my last tag should not the < br / > come after the end of the h2 tag?  Thank you.

Well not really, if you are in Design view and place your cursor within the tag and do a shift + enter, DW think you want a space after the text.

You if you want a space after the tag, why not not just hand code in it... better yet, add a rule for the tag bottom margin.

H1 {}

whatever fontstyles goes here;

margin-bottom: 10px;  / * adjust as needed * /.

}

--

Nadia

Adobe® Expert community: Dreamweaver

Unique templates CSS | Tutorials | SEO articles

http://www.DreamweaverResources.com

http://csstemplates.com.au/

--------------------------------------------------

http://Twitter.com/nadiap

Tags: Dreamweaver

Similar Questions

  • Detect the line breaks in htmlText

    I know that you can identify line breaks when you work with text files by checking the equivalent of character, but are - can I do this with htmlText?

    I do a text editor for my client and I use the component textArea as input field with the data stored in an XML file. Everything is good, except for the line break - the textArea is rendered as htmlText so that the customer will be able to see the changes instantly. By default, it works, but the spacing is screwed (dashes, double spaces sometimes), so I decided to condense white space. With that, he got rid spacing issues since the html is rendered exactly as the code name. The thing is, hitting enter in the text box does not add < br / > the code htmlText.

    I need to replace the key of the entry with a custom function that inserts an ine jump when you use the text box, or there at - it a way to detect and convert these line breaks in htmlText?

    don't you see

  • detect the line break

    Hi I was wondering if someone could help. As my deadline is looming at a dangerous point and im stuck.


    I have a dynamic text field in flash which is filled by an entry box.

    The dynamic text field has a maxmium width that we. So I also multiline WITH wodrwap on.

    My problem is I have to send this data to the server and php power text text and output text as it is displayed in flash.

    There seems to be no way to find line breaks and pass in the string that I can see? Does anyone have ideas on this issue or a workaround?

    The noose tightens.

    THX in advance

    ADE

    It worked guys here:

    you will find the line breaks, however, you lose the real break and replace it with what you want (for example. "
    ")

    It's all the text that you need:

    origStr = orig.text
    newMessage = origStr.split('\r').join('
    '); newText.text = newMessage

    Entry:

    Hi
    There
    
    How Are You?
    

    Output:

    Hi
    There

    How Are You?

    It's funny how works '\r' and ' / r ', ' / n ' and not '\n '.

  • A string literal must be completed prior to the line break

    I just started learning flash so I suffer some of the most difficult problems that beginners have. I copied code from a tutorial only I seem to have problems with strings when I use line breaks. Even by putting:

    var quoteContent:String = "the question of if.
    This ";

    generates this error:
    'A string literal must end before the line break.
    or
    «Syntax error: expected semicolon before plusassign.»

    everything that's want to say...

    Does that mean that in CS4 that line breaks in strings are not allowed? I also tried the concatenation channel lines together using the += but who was not working and was tedious. In addition, adding \n at the end or at the beginning of lines doesn't seem to work. Why is this a big deal for flash?

    Only a string without newlines works.

    Quote:
    Posted by: Andrei1
    As the indicated error AS3 does not allow line breaks in the assignment of the string and the string should end with a quote on the same line, he started. In other words, the string can be on a single line only.

    Thanks Andrei1. For Actionscript 3 can't make multiline in all chains. Looking at this new I can see why it happened. The original string had several lines in there but no line breaks. I then turned off Word wrapping to diagnose the problem. My own line breaks were what caused the problem.

    I realize that it could not be a simpler problem to work but it took a while to diagnose because of the useless error message.

    Solution: Put all your channels on 1 line and turn the enveloping Word by going to the drop down in the upper right panel actions and clicking (ctrl + shift + w) line.
    Line numbers will allow you to see if you have line breaks where you shouldn't.

  • Add the line break in the field 'ask '.

    Hello

    I am trying to create checkbox with a personal message for my iExpense page. The comment to go here is long enough and puts in place a horizontal scroll bar that damages the look and feel. I tried to adjust without wrap to FALSE, but which is overridden somehow. Can someone suggest how I can introduce a line break in the Guest section... I tried html breaks etc obviously, but they are coming as the exact line breaks not as characters.

    Hello

    As I mentioned in my email, this region is a region shared everywhere ebiz, if we programmatically change which will affect all applications.
    I've updated the other thread (root problem) soln,.
    iExpenses-Help for customization of a Standard of Notification Workflow page. ,

    Thank you.

    With respect,
    Kali.
    OSSi.

  • The line breaks in the alert window?

    Is this possible? InDesign seems to make the default line breaks, if long text is OK, but I can make the manual line breaks too?

    For example, if I want to do after the alert text:

    Alert ("Ovid, escia dermopurifiantes rati delique cuptionest volupturio quis TR volorunt're comnisit apelicae doluptatis volorem volor sunt. Corit Endionse laborup tatiusam, omnihit incipis, to prorrum sum nit od eatur ad which blandel ipitis and accum sell pa di aut quamus aut velestr untiis comnima ximent atur quam. ») ;

    flowing like tihis:

    Ovid's, escia dermopurifiantes rati delique

    cuptionest than volupturio quis TR

    volorunt that are comnisit apelicae

    doluptatis volor sunt volorem am.

    (double line break)

    Endionse laborup tatiusam, omnihit

    incipis corit, nit sum to prorrum od

    eatur ad which blandel ipitis and accum

    sell pa di aut quamus aut quam

    velestr untiis comnima ximent atur

    Yes you can. You just put in "\r" or "\n" to each line break.

    The problem is that the second line is much less fat.

    If you want real control, you must create a window of the Script with a user interface

    StaticText Multiline box as true...

    Substances

    http://www.in-tools.com

  • Remove the line breaks in the HTML Source Code

    Is it possible to remove all line breaks in the code source HTML generated by Dreamweaver? After using the Dreamweaver design view window, I want to assure you that all the source code of the html page I created is going on a single line. Is there a simple way to remove all line breaks, or tell Dreamweaver to create the HTML code on a line?

    Ki Song says:
    > Is it possible to remove any line break in the HTML source code
    > generated by Dreamweaver? After the use of the design view window in
    > Dreamweaver, I want to assure you that all the source code for the
    > goes from html page I created on a single line. Is there an easy way
    > to remove all breaks online or tell Dreamweaver to create the HTML code
    > code on a line?

    http://www.TJKDesign.com/articles/whitespace.asp

    HTH,
    --
    Thierry
    Articles and tutorials: http://www.TJKDesign.com/go/?0
    Perfect FAQ page: http://www.TJKDesign.com/go/?9
    Templates CSS - P: http://www.TJKDesign.com/go/?1
    CSS tabs menu: http://www.TJKDesign.com/go/?3

  • Coloring outside the lines

    Excuse my naiveity...  I'm a newbie to Illustrator (better in photoshop).

    I have vector art - art line - which was provided by a freelance artist, I work with that.  He made the drawing line and then I usually look in photoshop and good color seems to us.

    That has always worked perfectly (for printing), but now we use a manufacturing process which is digital and requires the vector art.  I'm trying to understand the best way to 'paint' the art in illustrator.

    I found the live paint and it's great, but I need the colour to be a bit more "sloppy" - as the art of the child.  It takes approximately fill the spaces rather than fill them perfectly.

    Is there a simple way to do this?  Is there a way to make their own layer of color areas and then manipulate them?   I have about 25 designs that I need turnover as soon as possible to the company that did the job for us.

    I searched on the web constantly and can't find anything that addresses this...

    Thank you very much in advance for your help.

    itsnotthatbad,

    The line drawing seems to be filled with white.  How can I erase the white in the lines (similar to a Magic Eraser in photoshop)?

    Select all the art of the line, click on the fill area at the bottom of the Toolbox and set it to None.

  • How can I activate the line break in the code view?

    Apparently, I'm a little slow on the capture... but I swear that Ray mentioned that there is a return to the line in CFB.  I can't find to save my life.

    I hope that someone will respond with just a "Hey, just click the icon XYZ located in ABC.  Please internalize the comment "wow, what a bonehead.

    Grass A$ $.

    Don't know not if that's what you're looking for, but if you go to preferences-> HTML-> editors, then click on the Advanced tab, you will see "enable word wrap" as an option.  It feels a little buggy still, because not all the line numbers see the place as it should be, but it seems to do what you're looking for.

  • Forcing the lines break in a loaded XML dynamic text

    Help! \n doesn't work! < br > does not work! Neither fact & #xD

    I have some XML data loaded using LoaderMax. Flash makes all my text on a single line, without a space. I need to break it up so that every threat is on a separate line.

    for (var i: int = 0; i < xImgList.length (); i ++) {}

    variables for images

    var iLoad: ImageLoader = new ImageLoader (xImgList [i]. @url, new ImageLoaderVars())

    implement the various properties and get them load

    . Name (xImgList [i] .@name)

    . Width (nImgWidth)

    . Height (nImgHeight)

    . Smoothing (false)

    . Container (flagHolder)

    .x (xImgList [i] .@locationX - 45) //sets the x position based on data less than half the width of the image

    there (xImgList [i] .@locationY - 30) //sets the y position based on data less than half the height of the image

    ("proportionalInside") .scaleMode //sets harvest upwards to avoid stretching

    . Crop (true)

    prop ("index", i) //counter

    sets the properties more found in the data set, we can use them

    prop ("url", xImgList[i].@url)

    prop ("title", xImgList[i].@title)

    prop ("threat", xImgList[i].@threat + "\n")

    ("locationX", xImgList[i].@locationX), prop //sets the property to top so that I can work with it

    ("locationY", xImgList[i].@locationY) prop //sets the property to top so that I can work with it

    )

    flagLoader.append (iLoad);

    }

    flagLoader.load ();

    }

    private void flagsLoaded(e:LoaderEvent):void {}

    var allThreats:Object = threats;

    allThreats.text = xImgList.@threat;

    }

    FOLLOWING XML

    < data >

    < img url = "flags/afghanistan.png" name = "p1" title = threat 'Afghanistan' = 'March' locationX = "283" locationY = "625" / > "

    < img url = "flags/albania.png" name = "p2" title = threat 'Albania' = 'Venus' locationX = "452" locationY = "615" / > "

    < img url = "flags/armenia.png" name = "p3" title = threat 'Armenia' = 'Storms' locationX = "635" locationY = "477" / > "

    < / data >

    That's what I have in the output

    MarsVenusStormsFamineSki FeverTitansBitter ColdJupiterFreezing ColdSkiers

    It wraps all as badly in the allThreats text box.

    MarsVenusStormsFamineSki

    FeverTitansBitter ColdJupiter

    Gel ColdSkiers


    will work if you apply it to a TextField via the .htmlText property.

    for example:

    var t:TextField = new TextField();

    addChild (t);

    t.htmlText = "this will contain.

    two breaks before this line. "

    If you just want to use .text only you can use the sequence of 2 characters of line endings. I have myself used .text with
    so to wrap the text.

  • How to make the line break in the Validation Script Message

    Hello

    Declaration of im trying to write a multi-line error message in the Validation Script Message to a textfield, but every time that I hit, I find myself at the front of the current line instead of a new line.  I also tried \n with no luck.  The only way I have found is by entering the text in Notepad, then cut + paste into the Message of Script of Validation box.  Is this a bug with the Designer?  I have Designer ES 8.2.1.3158.1.475346.

    ValScriptMesgEd.JPG

    I know how to do scripted ex.  this.validationMessage = "line1\nline2" but what I want is store Section and the field name in the Script of selection Message box and then generate the error message ontop via the script.

    ex.

    this.validationMessage = this.validationMessage + ' Validation has no reason of...» » ;

    Just tested this and it looks like ctrl - enter in the works.

  • The line breaks in the window AS create lag? (AS3)

    Hi guys

    I am optimize my AS3 project and I was wondering if empty lines in the AS3 code create a lag in time?  I have a lot of components and I was wondering if stripping empty lines in the code to make a difference?

    See you soon

    Shaun

    You mean during compilation? Certainly not during execution of code in bytes.

  • Take a virtual server inside and outside the reserved area of the different shots.

    Hello. A problem that my team often discovered for testing (QA) is that when we re-establish checkpoints that were taken while the virtual machine was still a part of a domain is that it still does not work properly and that he enjoys the confidence of the questions. As a result, we have been in practice out of the field before making a new nod and then by restoring the nod to the field it is necessary to the virtual machine.

    However, it takes time. 175468 KB that can help me, I found, but I want to assure you that I understand my options properly with him.

    https://support.Microsoft.com/en-us/KB/175468

    I think that method 1 as a work autour is my best choice that we will not / do not have access to domain controllers. I want to know is that if I use this method, how will I get around because of the virtual will be always sent a new password with the PDC after that I reload for each snapshot? If my environment has 5 align the shots that I need to perform this register around on, at the time wherever I touched the 2nd snap shot to make the change of the password that has been saved with the first snap is no longer valid with the PDC and I'm having the same problems as I do now. I understand that correctly? If so, how to do this? TIA.

    Most of my pictures are on Windows Server 2008 R2, but I have a few on Server 2012.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Aspire 5738z motherboard works outside the laptop breaks but not?

    Hope this is the right part of these forums...

    Someone at - he heard of this before. (STUPIDLY), I decided that my fan needed a good, clean, and in a moment of madness I removed the heatsink and cleaned, I have had no paste to renew with at the time but thought it would be ok.

    Acer Aspire 5738Z dedicated ATI Graphics Intel Core 2 Duo

    I missed the fan plug when I re assembled the laptop and of course, it wouldn't start. So after back by getting the cleaners and stick and PLUG the fan, I tried to start again... Nothing to do apart from the fan works and stops, then comes back on - the power light lights up - the processor lights up for a second - and the cd tried to run.

    I did all the usual like removing the Ram etc Hold button power and did so on... still no joy

    So I stripped the motherboard into the case and everything took off, I have replaced the following only

    HARD DRIVE

    1 x 2 GB Ram

    Monitor

    Battery

    And success, that it starts without a problem

    I tried then restarts and they were very good, so I put everything together and nothing only happened?...

    So I stripped it again and this time I plugged everything

    HARD DRIVE

    2 x 2 GB Ram

    CD/DVD

    Monitor

    Battery

    WiFi

    USB mouse

    USB keyboard

    Began and once again without any problem she started and restarted a time without end. So I removed all and placed in the base of the case and then reconnected everything and got the same good boot. I then placed the upper part of the base on so he was running and it was fine, then I rebuilt around the laptop running until the unit was together again... Always slept running. Although my mousepad not working keyboard

    OK, the moment of truth... Restart... or rather not - back to the beginning with no boot

    Does anyone have any idea as to the cause - I wonder if the keyboard or mouse may be at fault, but as far as I know, it could be more sinister.

    Any help would be fantastic - but please no suggestions to remove the ram and pressing the power button down as my finger no headache trying this lol

    It seems to me the connection of the USB unit on the side of right which is at fault. I have rebuilt the laptop but removed the USB cable and it works fine... Looks so much like problem solved for the moment in any case

  • Resizing Auto text in a bounding box (and remove the line break)

    I have a lot of certificates of completion of the course I create (using pre-made our graphic charts).  I set up some variables from my diapers and I use a data set to shoot in the person's name, the course title and date of a CSV file.  The text 'Name' encompassing that I created is set to a specific width and height (and must stay that way) with a font size of 94,22 pt; However, some names are REALLY long and are too big for the bounding box.  They dress up.  When I run the "data fusion", I need Photoshop to automatically resize the text in the bounding box so that it is not word wrap.

    For example, "Jane Doe" fits well in the box.  However, "Johnathan Cornelius Doe" is too long, and the word encapsulates.  Instead, I want Photoshop to the long name and simply its size down to fit properly in the lack of word envelope bounding box.

    I have about 200 of them to spend in Photoshop, print and send.  I really don't want to individually open each certificate to verify this last after that I have run through.  I just batch process and print batch.

    Is there a way to do this?  Please note that I have never made any script; so if this is the way it must take, I need to explain carefully and in simple terms.

    Thank you!

    OK, try this. Save the code in a text file with the extension .jsx below. Create an action that runs the script. Then, you can use this action with the batch command.

    #target photoshop
    var doc = activeDocument
    doc.activeLayer = doc.layers.getByName ('LastName')
    var ly = doc.activeLayer
    var before = ly.bounds[2]-ly.bounds[0]
    
    var amt = doc.width/before*100
    transText (amt)
    ly.translate (-ly.bounds[0], 0)
    
    function transText(amt){
        var idTrnf = charIDToTypeID( "Trnf" );
            var desc2 = new ActionDescriptor();
            var idnull = charIDToTypeID( "null" );
                var ref1 = new ActionReference();
                var idLyr = charIDToTypeID( "Lyr " );
                var idOrdn = charIDToTypeID( "Ordn" );
                var idTrgt = charIDToTypeID( "Trgt" );
                ref1.putEnumerated( idLyr, idOrdn, idTrgt );
            desc2.putReference( idnull, ref1 );
            var idFTcs = charIDToTypeID( "FTcs" );
            var idQCSt = charIDToTypeID( "QCSt" );
            var idQcsa = charIDToTypeID( "Qcsa" );
            desc2.putEnumerated( idFTcs, idQCSt, idQcsa );
            var idOfst = charIDToTypeID( "Ofst" );
                var desc3 = new ActionDescriptor();
                var idHrzn = charIDToTypeID( "Hrzn" );
                var idPxl = charIDToTypeID( "#Pxl" );
                desc3.putUnitDouble( idHrzn, idPxl, 0  );//259.646484
                var idVrtc = charIDToTypeID( "Vrtc" );
                var idPxl = charIDToTypeID( "#Pxl" );
                desc3.putUnitDouble( idVrtc, idPxl, 0.000000 );
            var idOfst = charIDToTypeID( "Ofst" );
            desc2.putObject( idOfst, idOfst, desc3 );
            var idWdth = charIDToTypeID( "Wdth" );
            var idPrc = charIDToTypeID( "#Prc" );
            desc2.putUnitDouble( idWdth, idPrc, amt);//1050.143628
            var idIntr = charIDToTypeID( "Intr" );
            var idIntp = charIDToTypeID( "Intp" );
            var idBcbc = charIDToTypeID( "Bcbc" );
            desc2.putEnumerated( idIntr, idIntp, idBcbc );
        executeAction( idTrnf, desc2, DialogModes.NO );
        }
    

Maybe you are looking for

  • Mode of energy on the Apple Watch store

    When my watch is in power reserve, is no longer follow measures/activities? Airplane mode will help some reserve battery if I plan to be interrupted during a 3 hour race? I worry about my watch will not really capture my full activity. Appropriate su

  • NI-CAN, error 0xbff620ad

    I am currently working on an application of "feedforward" soft real-time in which a USB of NI-CAN interface is used as a sniffer of CAN frames. The idea is to read frames as fast as possible (~ 50 Hz ncReadMulti call) in order to apply a correction (

  • How can I restore my docs, photos and music to back up an external hard drive?

    I had to reset my Dell Dimension E521 to factory settings.  Before I did, I copied all my files, photos and music on a portable hard drive Western Digital.  How can I get my files, photo and music restored to my PC?  I tried to copy it to the PC, but

  • Update xc603 PCI E

    OK so I have a XC603-UR15 that I upgraded the Ram to 8 GB and 1 TB HARD drive. Now only remains the map without wireless/Bluetooth for the location E of half-size mini-PCI inside. I'd like to update, but I can't seen to find what is needed. I see lot

  • Server connection error:-1

    I restrained this forum and I tried everything I could find and has been suggested.  I can simply not the web-based applications to connect. 1. I have restored factory settings 2. rebooted router 3. Enter the IP address printers 192.168.1.84 and bega