Gap between line segments

How do I set two line segments apart (at suppose 12%) of it's length no matter how large or small i resize the two line segments, sort of like the settings in ChemBioDraw 13.0 for anyone who have used this software ? For anyone with experience in ChemBioDraw 13.0 you can look into the draw settings and it will say how far apart the two lines in the double bond is, line width etc..etc.. Any ideas ? Thanks !

ghostanime,
When you use Effect>Distort & Transform>Transform>Move a copy, you still have just one line with a copy line at a certain horizontal distance from it, and that line will disappear if you click Reduce to Basic Appearance in ther Appearance palette/panel, and misbehave if you rotate; also, the original line will be what you are moving.
When you Object>Expand Appearance, you will have two independent lines/objects instead.
You may select and Group ((Ctrl/Cmd+G) whatever you wish to reuse, then copy and reuse as a unit, or even turn it into a Symbol.
With the suggestion of using an Art Brush, you actually create such a unit for the double bond itself; I suggested that because you mentioned the wish to keep the proportions. You could also create the two lines as desired and group them; you should be aware that If you wish to change the size, you will have to tick Scale Strokes & Effects if you wish to keep all the proportions.
Groups can form part of groups, so you can assemble building blocks (such as double bonds) into more complex bonds (such as molecules).
Made as an Art Brush or as a Group, when you select the double bond, you will operate it by the centre between the two lines (presuming you have the Centre Reference Point selected in the Transform palette/Panel), with the effect you will operate it by the centre of the original path, which will be off.

Similar Messages

  • Huge Gaps between lines... Please Help!!!

    Hello, On various sites when i view them i get really large gaps between lines. view this screen shot:
    http://www.meyerfredericks.com/badbrowser.jpg
    How do i fix this... it does it on firefox now too since i upgraded to 3.0. So i have two browsers that do this. Please help, it's soooo annoying!

    Hi and Welcome to Apple Discussions...
    For both browsers, Safari and Firefox locate these files:
    com.apple.safari.plist and com.mozilla.plist
    The are here: /Users/YourName/Library/Preferences. From the Preferences folder, drag those files to the trash, empty the trash and reboot. It's ok to delete a pref file, sometimes they can get corrupted.
    Also, get Onyx, it's FREE and available here; http://www.apple.com/downloads/macosx/systemdiskutilities/onyx.html
    Download and install Onyx. Run the Maintenance and Cleaning Scripts once a week to keep your browsers happy.
    Carolyn

  • Issue with long gaps between lines in both Mail AND Address Book

    Hey folks,
    I'm having a weird problem... I've done a bit of research on here but I have yet to find my exact issue... I was wondering if anyone can shed some light on this for me!!
    This problem has been happening in my Address Book app for awhile now, but more recently started happening in Mail - there are long gaps in between lines such as Name, Date, Subject, From, ect...etc... Plus, in Mail, when I hover over the To and From names, the highlight bubble is really large! It's very strange... check out this screen grab...
    I've tried repairing permissions but that didn't seem to help.
    My Mail only did this after quitting the program and starting it back up, but now it does it all the time. Address Book has been having this issue for quite some time.
    Any help would be much appreciated!!!
    Thanks in advance...
    - Joe Ciaramella
    G4 Dual 1ghz   Mac OS X (10.4.4)  

    Ernie,
    Thanks so much for your help... To answer your question, yes I did research those topics but finding things in bits and pieces didn't seem to do the trick. Well, tonight I ran Font Finagler AND I reinstalled Library > Fonts from my OS X install disc... And low and behold, MY PROBLEMS ARE CURED!!!!
    So thanks for giving me the link to those other posts which seemed to have all the info I needed.
    Take care...
    - Joe Ciaramella

  • Yes/No fields, single line. Long question in seperate text field. How to avoid gap between lines?

    I have made two single-choice fields side by side (Yes and No) on one single line. The question for the choices is long, so I wrote it in a separate text field placed above the Yes and No fields. If I use the Yes field for the question, the No field would end up too far to the right.
    Question ....
    [Single-choice text fields space]
    [  ] Yes
    [  ] No
    Problem now is there's too much space under the question, since the automatic text fields in the Yes and No fields are still there, though "invisible"/not used. How can I have a long question on a single line and have the Yes and No fields on the next line without a big gap between the two lines? Is it possible to delete the automatic text field in the Yes and No fields?
    Just realised that if one makes a single Yes field, and a single No field to the right, you are ("of course") able to mark both the fields, since they are not linked anymore as with two choices in one field. The point with the single choice fields is then lost; to be able to choose only either one. Yes or No.
    [X] Yes   [X] No

    The Single Choice is designed such that you have a single label and multiple choices, but the user can only select a single choice (in your case Yes or No).  If you like the choices to appear side by side you can deselect Stack Choices Vertically in the Field Properties widget.  You should also set the Label to Above.  See the attached image.
    Jeff Canepa
    Software Quality Engineer
    Adobe Systems, Inc.
    [email protected]

  • Line gap between record to record using FCC

    Hi Experts,
    i am working on xml to fcc scenario.In target text file i want line gap between each record.
    eg:
    1001,ABCD,23
    1002,CDF,45
    1003,FSF,34
    what are the parameters do i need to provide in reciever fcc adapter?
    please help me in this issue.
    Regards,
    Radhika.

    Hi Radhika,
    I guess you can achieve this with "NameA.absoluteRowWidth=<noOfColumns>" along with "xml.endSeparator".
    If the separators do not contain any line breaks, the text document is generated as a single line of text. To restrict the width of the text, use this parameter. <noOfColumns> represents the maximum number of columns in this case. This parameter also functions together with the specification of a line break for xml.endSeparator.
    This value requires NameA.addHeaderLine=0 to be specified.
    Give a try..
    Regards,

  • Hi-In Script Editor how can we maintan gap between words in one line

    Hi,
    Can any body help on how to maintain gap between words in same line?
    Thanks in advance

    Hi,
    is it a Hard-coded text or a variable text.
    If its a constant & Hard coded text then u can directly maintain by using space bar.
    if its a variable text just define a paragraph format with Tab positions as per ur requirement of space..
    Hope it helps!!
    Rgds,
    Pavan

  • Shortest distance between two line segments

    Hi.
    I am looking for the code of the "Shortest distance between two line segments". I would appreciate if anyone has and willing to share.
    I can find some in the net but its in VB and i am not familiar with it.
    THanks a lot.
    regards,

    There are a couple of things that are not clear:
    What determines the rotation speed and lenght of each stick at any given time?
    What is the program allowed to do to prevent collision (change speed/direction, change radius, stop everything)
    Since you want to prevent collision, you need a predictive algorithm. Once they overlap, the collision has already happened. Too late!
    What information does your algorithm get (e.g. r1, r2, theta1, theta2, delta-thetat1, delta-theta2, etc.), i.e. does the program only get static information and need  to construct the trajectory from sequential history data or does it get dynamic information about speed and direction?
    The trivial answer would be to just keep r1+r2 < distance(P1,P2). This will prevent all "potential" collisions.
    LabVIEW Champion . Do more with less code and in less time .

  • Join Line Segments (road segments) SDO_AGGR_UNION/SDO_AGGR_CONCAT_LINES

    Hi,
    I have road segments I need to join/merge in order to get the complete road axe. Unfortunately I have some segements which are not joined and the resulting road axe has a gap.
    When I look at the road segements and the join result it seems to me that aggregation does not work for roads which either have segements which are disjoint (we have a few roads where single segments do not touch) or if a road has two or more "branches" (just take the letter "Y" as example for it).
    (1) SDO_AGGR_CONCAT_LINES
    Didn't work at all - I could not create a view using SDO_AGGR_CONCAT_LINES. As the documention mentions - not suitable if you have arcs (we have).
    (2) SDO_AGGR_UNION
    I tried SDO_AGGR_UNION as well although the documentation mentions - "Do not use SDO_AGGR_UNION to merge line string or multiline string geometries; instead, use the SDO_AGGR_CONCAT_LINES spatial aggregate function."
    (3) SDO_AGGR_SET_UNION
    I tried SDO_AGGR_SET_UNION as well. It sounded promising as the documentation doesn't mention anything related to arcs but says: "Can aggregate sets of lines..."
    2 and 3 give the same result. Please have a look at the screenshot (mh, looks like I can't upload a picture...)
    I would like to aggregate the segements - is there another function in Oracle I could use?
    Any idea, whether SDO_AGGR_UNION / SDO_AGGR_SET_UNION are / are not suitable for my dataset?
    Many thanks, Rob
    My view definitions:
    CREATE OR REPLACE FORCE VIEW AV_V_STRASSEN_2
    AS
      SELECT l.fid,
        ln.location_name,
        SDO_AGGR_UNION(sdo.SDOAGGRTYPE(rs.geom, 0.005)) geom
      FROM lm_lo_location l,
        lm_lo_location_name ln,
        lm_lo_road_section rs
      WHERE l.fid = ln.fid_lo_location
      AND l.fid   = rs.fid_lo_location
      GROUP BY l.fid,
        ln.location_name;
        CREATE OR REPLACE FORCE VIEW AV_V_STRASSEN_3
    AS
        SELECT l.fid,
        ln.location_name,
        sdo_aggr_set_union (get_geom_set ('lm_lo_road_section', 'geom','fid_lo_location = ', l.fid), .0005 ) geom
      FROM lm_lo_location l,
        lm_lo_location_name ln,
        lm_lo_road_section rs
      WHERE l.fid = ln.fid_lo_location
      AND l.fid   = rs.fid_lo_location
      GROUP BY l.fid,
        ln.location_name;

    R o b wrote:
    after some further tests I found out that the cause of the issue seems to be the application I used for viewing my road network.
    I displayed the view in SQLDeveloper and with FME and both look fine - result is expected (for view 2 and 3). But initially I used a different package for checking the view visually.
    Yes, that can happen sometimes. Currently I've been working with one of the biggest GIS-applications out there, and I have noticed that especially when zooming in or out rapidly gaps appear between lines (when I know for certain that there are no gaps - because I checked). It's weird that, but it can trick you into believing things are not right.
    R o b wrote:
    Stefan - thanks for yopur reply:
    - I need the roads not road segements when displaying the data in our GIS system, most users want a road not single segements
    - performance : will see, if it's not good I will create a mat. view, road network is quite static and doesn't change often
    - gaps : there are no gaps in our data set (but "gaps" appeared when I displayed the view in one specific software package).
    - sdo_aggr_union / sdo_aggr_set_union seem to do what I want and seem to work with our data as well
    Roads do make more sense to users - that is true. If you also need segments, maybe the LRS stuff can help you there: create the necessary segments on the fly when needed? On the other hand you are right, road networks tend to stay the same for a long time, and if the do change you usually have plenty of notification so an MV might be best (also depends on the number of users and the type of users I suppose).
    Glad it's working for you now!
    Cheers,
    Stefan

  • Ensuring Line Segments Join

    Hi, I am creating a graphic using line segments which need to be at right angles to each other. When I draw these two line segments how can I make sure that there is no excess bit protruding over the other side but that it is long enough so that there isn't a small gap between them?
    I am using Illustrator CS2.
    Thanks,
    Josh

    You should be able to use the align tools. I think CS2 does not have them in the tool bar, but are availble in the windows menu. Select both lines then select again on the line that is correct, then click on the align left or right to get your 90 degree angle.
    Hope this helps

  • Gaps between header/footer and main content

    I am building upon a website that somebody else previously worked on.  When adding to the main content, gaps appear between the header/footer and the content.  How can I fix this?
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>stitch by stitch needlepoint</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="sbs_style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    .style1 {font-size: 18px}
    .style2 {font-size: 14px; font-style: normal; line-height: 20px; color: #aa0f2e; text-decoration: none; font-family: Georgia, "Times New Roman", Times, serif;}
    -->
    </style>
    </head>
    <body bgcolor="#d0e8fb" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><!-- ImageReady Slices (cut_events.psd) -->
    <table width="732" border="0" cellspacing="0" cellpadding="0" align="center">
    <tbody>
    <tr>
    <td><a href="index.html"><img src="images/logo.gif" alt="stitch by stitch" width="316" height="66" border="0" class="logo" /></a></td></tr></tbody></table>
    <table width="732" height="629" border="0" align="center" cellpadding="0" cellspacing="0" id="Table_01">
    <tbody>
    <tr>
    <td colspan="17"><img src="images/bordertop.gif" width="732" height="31" alt="" /></td></tr>
    <tr>
    <td rowspan="5"><img src="images/events_borderleft.gif" width="36" height="564" alt="" /></td>
    <td><img src="images/nav_spacerleft.gif" width="31" height="19" alt="" /></td>
    <td><a href="index.html"><img src="images/nav_home.gif" alt="" name="home" width="47" height="19" border="0" id="home" /></a></td>
    <td><img src="images/nav_dot1.gif" width="7" height="19" alt="" /></td>
    <td><a href="events.html"><img src="images/nav_upcomingevents.gif" alt="" width="114" height="19" border="0" id="events" /></a></td>
    <td><img src="images/nav_dot2.gif" width="11" height="19" alt="" /></td>
    <td><a href="classes.html"><img src="images/Nav_classes.gif" alt="" width="57" height="19" border="0" id="classes" /></a></td>
    <td><img src="images/nav_dot3.gif" width="12" height="19" alt="" /></td>
    <td><a href="directions.html"><img src="images/nav_directions.gif" alt="" width="68" height="19" border="0" id="directions" /></a></td>
    <td><img src="images/nav_dot4.gif" width="13" height="19" alt="" /></td>
    <td><a href="photogallery.html"><img src="images/nav_photogallery.gif" alt="" width="89" height="19" border="0" id="photogallery" /></a></td>
    <td><img src="images/nav_dot5.gif" width="12" height="19" alt="" /></td>
    <td><a href="customdesign.html"><img src="images/nav_customdesigns.gif" alt="" width="97" height="19" border="0" id="customdesigns" /></a></td>
    <td><img src="images/nav_dot6.gif" width="13" height="19" alt="" /></td>
    <td><a href="vendors.html"><img src="images/nav_vendors.gif" alt="" width="67" height="19" border="0" id="vendors" /></a></td>
    <td><img src="images/nav_spacerright.gif" width="24" height="19" alt="" /></td>
    <td rowspan="5"><img src="images/events_borderright.gif" width="34" height="561" alt="" /></td></tr>
    <tr>
    <td colspan="15"><img src="images/string.jpg" width="662" height="88" alt="" /></td></tr>
    <tr>
    <td colspan="15"><img src="images/events_hd_upcomingevents.gif" width="662" height="44" alt="" /></td></tr>
    <tr>
    <td colspan="15" width="662" height="13" bgcolor="#EBECEC"> </td></tr>
    <tr>
    <td width="662" height="397" colspan="15" bgcolor="#EBECEC" valign="top">
    <table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
    <td width="140"><br /></td>
    <td align="center"></td></tr></tbody></table>
    <p align="left" class="events_boldRed"><span class="style1">Charlie Harper Trunk Show</span></p>
    <p align="left"><span class="style2">February 2012</span><span class="events_boldRed"><br />
        </span></p>
    <p align="left"> </p>
    <p align="left"><span class="events_boldRed"><span class="style1">Back to Basics II with Tony Mineri</span></span></p>
    <p align="left"><span class="style2">March 12, May 14, June 18 &amp; July 19</span></p>
    <p align="left"><span class="style2">9:30-4:00 (lunch will be provided</span></p>
    <p align="left"><span class="style2">Space is limited - $350.00</span></p>
    <p align="left"> </p>
    <p align="left"><span class="events_boldRed style1">Tony Mineri Embellishments</span></p>
    <p align="left" class="style2">2012 </p>
    <p align="left" class="style2">June 3rd &amp; 4th - Full (waiting list only)</p>
    <p align="left" class="style2">November 4th &amp; 5th (limited space available)</p>
    <p align="left" class="style2">2013</p>
    <p align="left" class="style2">June 9th &amp; 10th </p>
    <p align="left" class="style2">October 6th &amp; 7th</p>
    <p align="left"><span class="events_boldRed"><br />
    </span></p></td>
    </tr>
    <tr>
    <td colspan="17"><img src="images/borderbottom.gif" width="732" height="37" alt="" /></td></tr></tbody></table>
    <table width="732" border="0" align="center" cellpadding="0" cellspacing="0">
    <tbody>
    <tr>
    <td>
    <p align="center"><span class="bottomnav"><a href="index.html">home</a> </span><span class="body_bottomlink">|</span><span class="bottomnav"> <a href="events.html">upcoming events</a> </span><span class="body_bottomlink">|</span><span class="bottomnav"> <a href="classes.html">classes</a> </span><span class="body_bottomlink">|</span><span class="bottomnav"> <a href="directions.html">directions</a> </span><span class="body_bottomlink">|</span><span class="bottomnav"> <a href="photogallery.html">photo gallery</a> </span><span class="body_bottomlink">|</span><span class="bottomnav"> <a href="customdesign.html">custom designs</a> </span><span class="body_bottomlink">|</span><span class="bottomnav"> <a href="vendors.html">vendors </a></span></p></td></tr></tbody></table>
    <p> </p>
    <p> </p>
    <p><!-- End ImageReady Slices --></p>
    <p>  </p>
    </body>
    </html>

    This is just a guess, which is what we have to do until we can see the live page, but try changing this -
    <p align="left" class="events_boldRed"><span class="style1">Charlie Harper Trunk Show</span></p>
    to this -
    <p align="left" class="events_boldRed" style="margin-top:0;"><span class="style1">Charlie Harper Trunk Show</span></p>
    Does that solve the gap between the header and the main content?
    While you're worrying about these gaps, read this -
    http://www.apptools.com/rants/spans.php
    I see trouble ahead....

  • Gap between two characters in SAP Script Address EndAddress.

    Hi Abapers,
    I have one query regarding Address - EndAddress in SAPScript.
    I am putting the code :
    /: ADDRESS TYPE '1' PARAGRAPH ZI PRIORITY 'APL43' LINES 6
    /:ADDRESSNUMBER &ZPOLGORT-ADRNR&
    /:ENDADDRESS
    and  I am getting the output in this form
    <b><i>ABC Soft c/o JSI Hong Kon g
    c/o RS Logistics (Shenzhen) Limited
    6/F., DZ Zhong Tian Yuan Logistics Ctr.
    126/Xia Road, Futian Free Zone,
    Shenzhen
    China</i></b>
    But the problem is there is a gap between character "n" and 'g" in first line in word Kong.
    Can anybody suggest me how to solve this issue. Or is there any other issues to sort it out this problem.

    Hi,
    Its not the problem with Address / End Address.
    It could be probably maintained that way.
    Please check the entry in the table where it is maintained.
    reagrds,

  • A gap between letters started to show in my indesgn files. tried to undo with tracking, the paragraph settings. nothing helped. it ruins the fluent view of the document. how can i restore the program so that doesn't happen?

    a gap between letters started to show in my indesign files. tried to undo with tracking, then with the paragraph settings. nothing helped. it ruins the fluent view of the document. how can i restore the program so that doesn't happen?
    for example: say i write a paragraph. then, in a weird some sort of way an involuntary gap suddenly appears between different letters of random words(i did not recognize any pattern to the gap appearing) throughout the entire paragraph. once i've double clicked on that paragraph, and made a minor change, lets say tapped a 'space' key, and then clicked ctrl+z to undo, it has aligned(or fixed) the entire paragraph and made it look ok again. i've tried numerous ways to undo the entire thing, but cannot find the reason. i've been working for a few years and there's no reason why this thing all of a sudden should happen right now.
    if anyone has stumbled on something like that and can advise, i would welcome it.
    MNS-KG
    Vadim

    yep...i'm typing with hebrew. i'll make a printscreen with the settings you've asked for@:
    if you look closely you'll see that almost every line has a single letter apart. in hebrew there is no usually a singe letter structured words.

  • How do I reduce the space between lines in a JTextComponent?

    I've searched pretty thoroughly in this forum and can't find an answer.
    My editor displays text fine, but I'm not happy with the space between lines. Is there any way I can reduce the overall height of each line just to close the gap a little?

    Okay, I've got it worked out. I reckon it will work for my purposes although I have yet to test it in my app.
    The trick is to use a negative value for the StyleConstants.setSpaceAbove(spacing2, -5.0f);The code below shows a comparison between a text pane with default spacing values and a text pane with that -5 space above value.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class TestTextPane extends JFrame
    public TestTextPane()
         super("Text Pane Test: LineSpacing");
    JPanel panel = new JPanel();
    setContentPane( panel );
    JTextPane textPane = new JTextPane();
    textPane.setFont( new Font("monospaced", Font.PLAIN, 12) );
    textPane.setText( "abcdefghijklmnop\none\ntwo" );
    SimpleAttributeSet spacing = new SimpleAttributeSet();
    StyleConstants.setLineSpacing(spacing, 0.0f);
    StyleConstants.setFirstLineIndent(spacing, 0.0f);
    StyleConstants.setSpaceAbove(spacing, 0.0f);
    StyleConstants.setSpaceBelow(spacing, 0.0f);
    StyleConstants.setUnderline(spacing, false);
    StyleConstants.setItalic(spacing, false);
    StyleConstants.setBold(spacing, false);
    //this line sets the attributes for the text specified by the first two arguments.
    textPane.getStyledDocument().setParagraphAttributes(0, textPane.getDocument().getLength(), spacing, true);
    JScrollPane scrollPane = new JScrollPane( textPane );
    scrollPane.setPreferredSize( new Dimension( 200, 200 ) );
    //set up the comparison
    JTextPane textPane2 = new JTextPane();
    textPane2.setFont( new Font("monospaced", Font.PLAIN, 12) );
    textPane2.setText( "abcdefghijklmnop\none\ntwo" );
    SimpleAttributeSet spacing2 = new SimpleAttributeSet();
    StyleConstants.setLineSpacing(spacing2, 0.0f);
    StyleConstants.setFirstLineIndent(spacing2, 0.0f);
    StyleConstants.setSpaceAbove(spacing2, -5.0f);
    StyleConstants.setSpaceBelow(spacing2, 0.0f);
    StyleConstants.setUnderline(spacing2, false);
    StyleConstants.setItalic(spacing2, false);
    StyleConstants.setBold(spacing2, false);
    //this line sets the attributes for the text specified by the first two arguments.
    textPane2.getStyledDocument().setParagraphAttributes(0, textPane2.getDocument().getLength(), spacing2, true);
    JScrollPane scrollPane2 = new JScrollPane( textPane2 );
    scrollPane2.setPreferredSize( new Dimension( 200, 200 ) );
    panel.setLayout(new FlowLayout());
    panel.add( scrollPane );
    panel.add( scrollPane2);
    public static void main(String[] args)
    TestTextPane frame = new TestTextPane();
    frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
    frame.pack();
    frame.setVisible(true);
    }

  • Charts: Gap between Vertical Axis and the chart area

    Friends,
    I have a really wierd issue and I am sure I am doing
    something wrong.
    I am trying to align 2 charts that are placed vertically. I
    want to align the left vertical axis and the gridlines within them.
    Aligning the left vertical axis is easy and done but aligning the
    grids is becoming challenging and I have already spent a few hours
    on this problem.
    Here is a wrong chart image ...
    Wrong
    chart image
    The line of the LineChart (in the top chart) is touching the
    left and right edges where as the bottom chart bars do not touch
    the left/right edges. Due to this the gridlines are not aligned.
    I had managed to solve this problem but I am not sure what
    part of the code solved the problem. Here is the right chart image:
    Right
    chart image
    In this chart, the line of the linechart (in the top chart)
    is not touching the left and right boundary hence the gridlines are
    alignd with each other.
    I wonder what property of the chart controls the series
    touching the left/right vertical axis or boundary. Your help is
    appreciated.
    Thanks

    here is some more information ...
    I started changing some of the properties of the chart which
    I mentioned is a RIGHT CHART and this is what I learnt ...
    It was a CartesianChart hence it was creating the gap
    between the left/right vertical axis and the actual chart area
    (refer to the right chart image).
    I changed it to a LineChart and it started behaving like the
    chart in the WRONG CHART image.
    Is there a solution to this problem?

  • DIV and p (Gaps between them).

    I'm sure that I'm missing something really obvious here:
    I've attached the CSS that I'm using (external).
    Using the WYSIWYG view, it's really hard to get it to do what
    I want; I seem to have to ensure that I have a space below where I
    want to put anything, check that the format is set to "none", then
    I can set "start" - & enter my information. Then I can click in
    the space, and do the same before entering the contents for "main".
    However, if Dreamweaver helpfully adds some paragraph tags,
    as it often does, it gives me a gap between "Start" & "main".
    I've also found that if I don't have a blank line after the
    bit that I'm trying to put in, then I end up with the insertion
    point being unable to get "past" the final div tag, so I end up
    with a div in a div, which isn't what I want.
    I can use the code view to tweak to what I want, but I can't
    help feeling that I'm missing something; either that the CSS is
    wrong - so I should be able to have two paragraphs in adjoining div
    touching each other, or something!
    I'd found
    http://archivist.incutio.com/viewlist/css-discuss/39227
    - which suggested using div > p - but even though I tried with a
    line-height of as low as 0.8 it didn't work, so I've obviously got
    the wrong end of the stick (wrong stick most likely!)
    Emma

    Emma,
    > I've worked it out! I don't *need* the div tags.
    That's right.
    > As long as I use p class = and then enter the text, I
    can
    > then get two different paragraphs to join & look
    like a
    > single body!
    As a matter of fact, you don't even need class="something".
    There are
    various kinds of CSS selectors. One of them is known as a
    class, which
    requires the class="" attribute in your HTML and a dot in
    front of the class
    name in your CSS.
    e.g.
    .discussMain = { properties here }
    Another kind is known as an element selector. That's where
    you simply
    use the name of an HTML element, such as p, as your selector.
    You don't
    need a dot, then, in your CSS for that rule.
    e.g.
    p { properties here }
    Keep in mind, if you use an element selector, *all* elements
    of that
    type will be affected. If you only wanted to affect a dozen
    <p> tags, but
    not all, you could either give each of them a class attribute
    and use a
    class selector, *or* you could wrap all those <p> tags
    in another tag --
    say, a <div> -- then apply your class to the
    <div>. This is partly what the
    "cascading" means in Cascading Style Sheets.
    <div class="something">
    <p>paragraph</p>
    <p>paragraph</p>
    <p>paragraph</p>
    </div>
    .something p {
    properties here
    In the above, the HTML shows a way to corral together a
    handful of <p>
    tags. The CSS references all <p> tags that exist inside
    any element whose
    class attribute equals "something".
    There are other ways to specify which parts of the HTML
    should be
    affected. See this Wikipedia entry for a good overview.
    http://en.wikipedia.org/wiki/Cascading_Style_Sheets
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

Maybe you are looking for

  • Photoshop CS6 problems with Lion OS!

    I am a Mac user of the creator suite and have not upgraded to the Lion OS because of many reported problems with Photoshop and lightroom running under Lion. Does anyone know if CS6 and Lightoom 4 have similar problems, or has Adobe fixed them in thes

  • Issue in reservation through MO

    hi experts, i am facing issue in reservation through maintenance order. i want that reservation is created after release of maintenance order.is it possible through SPRO or i have to use some user exit.

  • Can i design UI part in flex with an existing JSP page

    hello my name is sandeep, i have one JSP page can i implement it in FLEX 2.0 , as i am very much interested to design the UI part in FLEX 2.0 , can i make it, the JSP page is a login page it contains username and password textfields and onclicking th

  • Signatures on delivery documents

    hi all i am trying to find a way to be able to get signatures of people picking up an order on to the system. for instance, if a customer picks up an order and signs for it, i want to be able to have that signature show up on the delivery pld. what w

  • Crash when importing Outlook contacts

    I have tried to use the import of outlook contacts (OL 2007) in PSE 9. Everytime I select Outlook as the source, bam, PSE stops working. W7 64 is the OS. Any ideas? Really silly to have to re-enter contacts from outlook as this was a feature I was wa