Paragraph tags and header forcing a line break in the AP element please advice

Hello

I bought Dreamweaver CS4 after attending an intro class at the College where we used an earlier version (macromedia 8). My main problem is that when I add images/text inside an AP element it automatically gives a space of one line which was not on the old version and also looks like this on preview. However, if I change the text to no jumps back up to where it should be, so im assuming its something in preferences. Please see attached for example image.

I would be recognizing all the advice, as it is something I want to fix before you begin any project.

James

header-tag-example.jpg

It has nothing to do with being in an AP element. By default, all browsers add margins for most items on level block, such as titles and paragraphs. The difference between CS4 and Dreamweaver 8 is that design in the new version gives you an idea much more clear of what the page will look like in a browser.

You use CSS to adjust the margins on the titles and paragraphs. For example:

h1, h2, h3 {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}
p {
  margin-top: 0;
  margin-bottom: 0.4em;
}

These style rules will reduce the gap between the title and paragraphs.

If you're just undertakes a project with AP elements, take the time to read the following article. It might make you change your mind: http://apptools.com/examples/pagelayout101.php.

Tags: Dreamweaver

Similar Questions

  • Force a line break in the text of button?

    I'm sure I asked this before a few months ago, but what worked then is not working now.

    Dreamweaver CS 6: I have a menu bar button that contains text that needs two lines. The default line break is awkward. I want to break the line a word before where the default it breaks.

    Now, a few months ago, with a taskbar button previous menus that have had the same problem, I was told to enter the control + return in the window code and divide the text exactly where I wanted. (Note: I'm on a Mac, I don't speak a command.) I mean the control key.)

    What to do with this button and it forces a line break where I want in the code window, but the design window is not follow suit.

    So. How can I force a line break in the text of the button in design mode? I'm sure it's something simple. But what I thought I knew have apparently isn't what I want.

    How can I force a line break in the text of the button in design mode?

    Have you tried Shift + Enter?

    It works in Windows, so it might work on mac as well.

  • Force a line break in the repeat region

    I have a table that displays data from a query in PHP that I made using a single set of records and the repeat region behavior.  I would really like to be able to break the table (add an empty line) every time that a certain field changes the values.  My code (or the code given to me by DW) is as follows.

    <? PHP {? >}

    < tr bgcolor = "#809E7C" class = "reg_dataview_data" >

    < td > < table >

    < td > <? PHP echo $row_rs_Sum09 ["ChildFirst'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ['child age'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ["ChildSex'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ['Session'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ['Status'];? > < table >

    < td > <? PHP echo $row_rs_Sum09 ['quarter'];? > < table >

    < /tr >

    <? PHP} while ($row_rs_Sum09 = mysql_fetch_assoc ($rs_Sum09));? >

    I would like for the table to break to the change in the value of Session.

    Advice would be greatly appreciated.

    Steve

    Yes, sorry about that. Simple mistake. I forgot to reset the value each time that the loop runs:

                                                                                                   
    

    By the way, attaching images is very hit and Miss in this forum. It is best to use the camera icon at the top of the message field to integrate the image directly into your message.

  • I need to find all of the XML elements and add a line break for the text of each of them

    I need to find all XML elements and to add a line break the text of each of them.

    Is it possible with a script?

    Try this piece of code as it is. I hope that's what you want...

    var myDoc = app.activeDocument;
    var inddRooElement = myDoc.xmlElements.item(0);
    var xPathElements = inddRooElement.evaluateXPathExpression("//*");
    var elementCount = xPathElements.length;
    for(var eId=0; eId
    

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

    Green4ever

  • line break in the TEXT Editor

    How to enter the line break in the TEXT Editor?

    --

    Thank you.

    There is an easy solution.

    If you want to use the Enter key, simply hold down the SHIFT key and the Smiley key become the Enter key.

    Alternatively, if you are a fan of the typing gesture, you have need only drop off shift at entrance to y to insert a new line.

    Hope that helps. Please acknowledge.

    Concerning

  • Automatically convert soft line breaks in the text box to hard breaks

    I have the design of textbooks and convert to ePub recomposable, broke up. These ePub files get formatted then can be used interchangeably on the printed text. A book that I am currently in conversion is a literature book where there are lines of text with the overall line numbers so that teachers can quickly refer to a specific section of the text.

    All the line breaks in the ID file are defined just by the edge of the text box. So the text box change sizes, all line breaks would also change. Isn't a problem until you need to keep these online breeze in recomposable text and add up the numbers in.


    What I'm looking for is a way to insert automatically the line breaks in these LONG sections of text in the right places. Does anyone have any ideas on how to do that?

    Thank you!

    Select a text box and run this script. He puts a soft return at the end of each line that doesn't have a carriage return. For more information on the installation and use of this script see http://indesignsecrets.com/how-to-install-a-script-in-indesign-that-you-found-in-a-forum-o r-blog - post.php .

    Written by Skemicle

    If (parseFloat (app.version)<>

    main();

    on the other

    app.doScript (principal, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "add end of line returns");

    main() {} function

    lines of the var = app.selection [0].parentStory.lines;

    for (i = 0; i<>

    If (rows [i] .characters [-1] .silence! = "\r") {}

    lines [i] .characters [-1] .silence = "\n";

    }

    }

    }

  • FTP Dreamweaver CC2015 removes all line breaks in the php files. How can I fix this problem?

    When I upload a php file. The ftp transfer removes all line breaks and creates a continuous line of unique text. I need to download the code with all the line breaks in the original php file correctly.

    I found the problem.

    FTP of Dreamweaver CC 2015 program is not compatible with Yosemite 10.10.5 on all ftp servers.

    The new version of FileZilla (v 3.14.0) is also not consistent.

    Fetch 5.7.5 is fully compatible with Yosemite. With Fetch, I can download the files without any problems successfully.

    In their update, Fetch mentioned that the problem is not with all servers.

    I host on Unix servers with HostGator AMD Opteron processors running on an OS GNU/Linux 64 - bit.

    If you run Yosemite and ftp of Dreamweaver is ruin your line breaks, then use Fetch until Adobe can fix their problem.

  • line break in the value of the attribute

    Hello

    11g JDevleoper xml document I need to have the line Rodez well instead of having xml attribute value

    <some-xml-element value="this value goes over.... multiple lines!" />

    I want to have


    <some-xml-element> <value>this value goes over...

    multiple lines!</value> </some-xml-element>


    Is this possible?

    Thank you

    Anatoliy

    Your original question was about an XML attribute , but him more later for example does not use an attribute and a child element (). Attributes of the element XML and XML elements are two different things. If the XML schema for the underlying document defines the attributes, you cannot specify the required values as child elements.

    If the XML schema defines the 'value' as an XML attribute, you can specify newlines using characters references, for example:

    value="this value goes over...
    multiple lines!"

    NB. If you put direct line breaks in the attribute (as in your first example above) instead of character references, it will not work. Please, have a look here for precise explanation:

    Is it possible to have HTML or CDATA text inside an XML attribute? -Stack overflow

    If the XML schema defines the 'value' as an XML element, you can set the necessary value in a CDATA section, which will retain the formatting, line breaks including, for example:

     

    multiple lines!]]>

    Dimitar

  • 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.

  • In MXML, how can insert you a line break in the label of a mx:Button?

    In other MXML components, you can do things like use curly braces to incorporate scripts, use '& #13' and stuff like that in their text and label attributes.  Apparently the mx label attributes: Buttons are so locked that normal suggestions for other components do not work.  I might try just setting the labels in the main script of an MXML file or something, but it's a sloppy programming if it can be avoided (values of labels will be constant in this case).  Is there a way to put a line break in the attribute in MXML?

    Regarding the use "& #13", which gave me a line break at least, but any text to the right of this sequence has disappeared.  This makes me think that there may be a way to make this work, but so far I have not found the way.

    Thank you!

    The response occurred in the thread that I put at the beginning for this:

    http://StackOverflow.com/questions/11621952/in-MXML-how-can-you-insert-a-newline-into-the-label-attribute-of-a-mxbutton

  • Line or break line break in the text in the UserInterface WEB-Gallery

    How to insert a line break or a line break in the text in the WEB - Gallery UserInterface defined in 'galleryInfo.lrweb '.

    Example:


    Code:

    < pre >

    ToolTip = LOC ' $$$ / AgWPG/Templates/HTML/Panel/WarningIcons/RequiresLarge = change of Image Pages settings are not currently visible.»  Click in the image grid to move to a page of the image. «,

    < / pre >

    Output should be:

    Changes to the settings of the Image of Pages not currently visible.

    Click in the image grid to move to a page of the image.

    Ideas are welcome, thanks.

    \n is a newline and \r is a return to regular text strings.


    is a newline in HTML.

  • 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

  • Error "Generic Host process for Win 32 services has encountered a problem and needs to close." Sorry for the inconvenience. "Please tell MIcrosoft this problem."

    Original title: programs appearing and disappearing

    Generic Host process for Win 32 services has encountered a problem and needs to close.
    Sorry for the inconvenience.
    Please tell this problem to MIcrosoft. We have created an error report that you can send to help us improve the generic
    Host Process for Win 32 Services. We will treat this report as confidential and anonymous. To see the data click on send
    Error report or not send.
    I clicked on the error report, and that's what he said... szAppname:svchost.exe szAppver: 5.1.2600.5512
    szModver: 5.1.2600.5755 szModname: ntdll.dll compensate 00023845 etc, etc.

    Hi 1jimbo1,

    1. when exactly you receive this error message?
    2. did you of recent changes to the computer?

    Method 1:

    Step 1:

    You can try to start in safe mode and check if the problem occurs.

    Check out the link for more information on starting your computer in SafeMode below:

    http://support.Microsoft.com/kb/315222

    Step 2:

    If the problem does not happen in safe mode and then, try to perform a clean boot.

    A clean boot to check if startup item or services to third-party application is causing this issue.

    You can read the following article to put the computer in a clean boot:

    http://support.Microsoft.com/kb/310353

    If your problem is resolved after the clean boot, and then follow the steps mentioned in the article above to refine the exact source.

    After you have used the boot is a way to solve your problem, you can follow the steps to configure Windows XP to start normally.

    Method 2:

    You can also check the following link and complete the scan line on your computer to check whether your computer is infected with a virus or not.

    http://OneCare.live.com/site/en-us/default.html

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I want to set up an online quotation tool in my view based on a small number of variable input by the visitor. If someone has done this through Muse and able to assist / point me in the right direction please? Thank you!

    I want to set up an online quotation tool in my view based on a small number of variable input by the visitor. If someone has done this through Muse and able to assist / point me in the right direction please? Thank you!

    Hello

    These discussions could be useful

    I need to put a form to give a quote, does anyone have any ideas

    "Click to add to your" function

    Get the Quote button functionality

    Let me know if you have any question.

  • How to force line breaks in the RH9 glossary entries?

    Someone at - he found a way to do so that line breaks remain after generating the output? I understand that this is "ASCII text only" but even in a rudimentary text editor, I can force line breaks and insert characters extended like the bullets.

    Hello

    Because of the way this is implemented to WebHelp, it cannot be done. In AIR, don't know, but I suspect that it is the same for AIR.

    A better way would be to create glossary topics. Which removes restrictions on development in shape.

    Take a bow

    Willam

Maybe you are looking for