Spacing - No WYSIWYG

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Spacing - No WYSIWYG

    Greetings,

    When I am creating an HTML page in Dreamweaver I am having issues with text
    displaying in a Browser as it did within Dreamweaver.

    That is to say, if I have two lines of text, one above the other, there exists
    virtually zero space between them within Dreamweaver. Yet when previewed in a
    Browser (be it Firefox, IE, etc) there is substantial space between those two
    lines.

    I am having the same problem in Layout Mode. What am I doing wrong?

    Lastly, can someone recommend a good book and/or Sites for beginners?

    Thanks!



    LGLDSR73 Guest

  2. Similar Questions and Discussions

    1. Turn On WYSIWYG in CS1
      Hi, I know that you can turn off/on WYSIWYG in the preferences in CS2, but can't seem to find the equivalent in CS1. Did it not exist? Thank you,...
    2. WYSIWYG editor
      Hello, I'm searching for a good html editor tool to use in a CMS. Now I use active edit, but there are some limitations. Does somebody knows a good...
    3. WYSIWYG editor for PHP
      hey every1! I need a WYSIWYG editor for PHP. That is all. Can any1 advice me one( or more :-) )? Thanks in advance! Denis 'Alpheus' Cahuk
    4. WYSIWYG editor in asp.net
      My customers want to customize their website (style sheets, simple layout etc...). They want to do this using a web interface/admin site. I am...
    5. wysiwyg
      If anyone cares I found the answer. You can download "add-ins" for FrontPage at http://www.microsoft.com/frontpage/downloads/addin/default.asp ....
  3. #2

    Default Re: Spacing - No WYSIWYG

    Show us your code.

    There's much you need to learn about HTML and CSS - and about the myth of
    "WYSIWYG".

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "LGLDSR73" <webforumsuser@macromedia.com> wrote in message
    news:eh9g5s$rdt$1@forums.macromedia.com...
    > Greetings,
    >
    > When I am creating an HTML page in Dreamweaver I am having issues with
    > text
    > displaying in a Browser as it did within Dreamweaver.
    >
    > That is to say, if I have two lines of text, one above the other, there
    > exists
    > virtually zero space between them within Dreamweaver. Yet when previewed
    > in a
    > Browser (be it Firefox, IE, etc) there is substantial space between those
    > two
    > lines.
    >
    > I am having the same problem in Layout Mode. What am I doing wrong?
    >
    > Lastly, can someone recommend a good book and/or Sites for beginners?
    >
    > Thanks!
    >
    >
    >

    Murray *ACE* Guest

  4. #3

    Default Re: Spacing - No WYSIWYG

    If I may add a quick comment to Murray's quoted comment "...the myth of
    "WYSIWYG", HTML is HTML. Web authoring app is web authoring, just as any other
    web authoring apps, since all work with HTML.

    Having that said, once you get your hands dirty under the hood of HTML and
    CSS, the more you feel comfortable in a long run. The more you gotten your
    hands-on with HTML, the more pleasant experience interacting/working with or
    around DW8.

    As for previewing of your webpage you are working with, best to view in all
    browsers, not just one browser. You'll see and understand as time goes.

    As for recommendation of books, I like two books and found that those two are,
    indeed, very useful.

    "Designing with web standards" (please note that the author) recently released
    2nd Edition (so look for green one, not an orange book) who authored by Jeffery
    Zeldman.

    The other book is called "CSS MASTERY: Advanced Web Standards Solutions,"
    wrote by Andy Budd, et. al. (along with few other co-authors).

    Good luck!

    Deaf Web Designer Guest

  5. #4

    Default Re: Spacing - No WYSIWYG

    Thanks Murray! To say that I've allot to learn is an understatement. Attached
    is some sample Code. The sample code is attached. I am clearly doing something
    very basically wrong here.

    Lyman





    <!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>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    <title>Untitled Document</title>
    </head>

    <body>
    <table width="740" border="0" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->
    <tr>
    <td width="160" height="18">&nbsp;</td>
    <td width="16">&nbsp;</td>
    <td width="149">&nbsp;</td>
    <td width="28">&nbsp;</td>
    <td width="54">&nbsp;</td>
    <td width="191">&nbsp;</td>
    <td width="142">&nbsp;</td>
    </tr>
    <tr>
    <td height="14"></td>
    <td></td>
    <td rowspan="2" valign="top"><div align="center">
    <h1>Heading 1 </h1>
    </div></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    </tr>
    <tr>
    <td height="23"></td>
    <td></td>
    <td></td>
    <td></td>
    <td rowspan="3" valign="top"><div align="left">However, when seen through
    'Preview In Browser' there is substantial space between 'Heading 1' and text
    beneath. </div></td>
    <td></td>
    </tr>





    <tr>
    <td height="54">&nbsp;</td>
    <td colspan="3" valign="top"><div align="center">Within Layout this
    appears <em>perfectly</em> flush beneath 'Heading 1', above. </div></td>
    <td>&nbsp;</td>
    <td></td>
    </tr>
    <tr>
    <td height="18">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td></td>
    </tr>


    <tr>
    <td height="501">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    </table>
    </body>
    </html>

    LGLDSR73 Guest

  6. #5

    Default Re: Spacing - No WYSIWYG

    Thanks for the tips. This is happening in Firefox, IE, and Safari. And thanks for the recommendations on the books!

    Lyman
    LGLDSR73 Guest

  7. #6

    Default Re: Spacing - No WYSIWYG

    You are already on the edge with your table structure. Read this -

    [url]http://apptools.com/rants/spans.php[/url]

    Change this -

    <h1>Heading 1 </h1>

    to this -

    <h1 style="margin:0;">Heading 1 </h1>

    and see what happens. What you are seeing as space is the default bottom
    margin on the <h1> tag.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "LGLDSR73" <webforumsuser@macromedia.com> wrote in message
    news:ehagvs$7o7$1@forums.macromedia.com...
    > Thanks Murray! To say that I've allot to learn is an understatement.
    > Attached
    > is some sample Code. The sample code is attached. I am clearly doing
    > something
    > very basically wrong here.
    >
    > Lyman
    >
    >
    >
    >
    >
    > <!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>
    > <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
    > <title>Untitled Document</title>
    > </head>
    >
    > <body>
    > <table width="740" border="0" cellpadding="0" cellspacing="0">
    > <!--DWLayoutTable-->
    > <tr>
    > <td width="160" height="18">&nbsp;</td>
    > <td width="16">&nbsp;</td>
    > <td width="149">&nbsp;</td>
    > <td width="28">&nbsp;</td>
    > <td width="54">&nbsp;</td>
    > <td width="191">&nbsp;</td>
    > <td width="142">&nbsp;</td>
    > </tr>
    > <tr>
    > <td height="14"></td>
    > <td></td>
    > <td rowspan="2" valign="top"><div align="center">
    > <h1>Heading 1 </h1>
    > </div></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > </tr>
    > <tr>
    > <td height="23"></td>
    > <td></td>
    > <td></td>
    > <td></td>
    > <td rowspan="3" valign="top"><div align="left">However, when seen
    > through
    > 'Preview In Browser' there is substantial space between 'Heading 1' and
    > text
    > beneath. </div></td>
    > <td></td>
    > </tr>
    >
    >
    >
    >
    >
    > <tr>
    > <td height="54">&nbsp;</td>
    > <td colspan="3" valign="top"><div align="center">Within Layout this
    > appears <em>perfectly</em> flush beneath 'Heading 1', above. </div></td>
    > <td>&nbsp;</td>
    > <td></td>
    > </tr>
    > <tr>
    > <td height="18">&nbsp;</td>
    > <td>&nbsp;</td>
    > <td>&nbsp;</td>
    > <td>&nbsp;</td>
    > <td>&nbsp;</td>
    > <td></td>
    > </tr>
    >
    >
    > <tr>
    > <td height="501">&nbsp;</td>
    > <td>&nbsp;</td>
    > <td>&nbsp;</td>
    > <td>&nbsp;</td>
    > <td>&nbsp;</td>
    > <td>&nbsp;</td>
    > <td>&nbsp;</td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >

    Murray *ACE* Guest

  8. #7

    Default Re: Spacing - No WYSIWYG

    Replacing <h1>Heading 1 </h1> with <h1 style="margin:0;">Heading 1 </h1>
    brought it up one line and looks better. The URL you provided would seem to
    sum up the issue and also with respect to your commet Re the myth about
    WYSIWYG. I am going to give the information at the URL a try. Thanks!

    Lyman

    LGLDSR73 Guest

  9. #8

    Default Re: Spacing - No WYSIWYG

    Good luck!

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "LGLDSR73" <webforumsuser@macromedia.com> wrote in message
    news:ehalfk$dem$1@forums.macromedia.com...
    > Replacing <h1>Heading 1 </h1> with <h1 style="margin:0;">Heading 1 </h1>
    > brought it up one line and looks better. The URL you provided would seem
    > to
    > sum up the issue and also with respect to your commet Re the myth about
    > WYSIWYG. I am going to give the information at the URL a try. Thanks!
    >
    > Lyman
    >

    Murray *ACE* Guest

  10. #9

    Default Re: Spacing - No WYSIWYG

    Murray,

    If I may to say something... as for referenced link you mentioned
    <http://apptools.com/rants/spans.php> and the title of that link quoted as
    saying below:

    "Spans are Evil"

    Wow! The term "evil" is rather pretty darn blunt and strong. But it make sense
    in the view of html issue. OT, I find that the owner of that site offers
    interesting information about PHP Tools. I find that is very interesting and
    informative.

    Deaf Web Designer Guest

  11. #10

    Default Re: Spacing - No WYSIWYG

    Gary is quite respected as knowledgeable.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Deaf Web Designer" <webforumsuser@macromedia.com> wrote in message
    news:ehan3g$fgl$1@forums.macromedia.com...
    > Murray,
    >
    > If I may to say something... as for referenced link you mentioned
    > <http://apptools.com/rants/spans.php> and the title of that link quoted as
    > saying below:
    >
    > "Spans are Evil"
    >
    > Wow! The term "evil" is rather pretty darn blunt and strong. But it make
    > sense
    > in the view of html issue. OT, I find that the owner of that site offers
    > interesting information about PHP Tools. I find that is very interesting
    > and
    > informative.
    >

    Murray *ACE* Guest

  12. #11

    Default Re: Spacing - No WYSIWYG

    Based on what I took a look at Gary's site. I was curious about other
    information included at his site. Well, you are definitely correct about Gary
    being knowledgable, perhaps expertise as you are. (smile)

    Deaf Web Designer Guest

  13. #12

    Default Re: Spacing - No WYSIWYG

    Gary mentors me all the time.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "Deaf Web Designer" <webforumsuser@macromedia.com> wrote in message
    news:ehap7c$i0a$1@forums.macromedia.com...
    > Based on what I took a look at Gary's site. I was curious about other
    > information included at his site. Well, you are definitely correct about
    > Gary
    > being knowledgable, perhaps expertise as you are. (smile)
    >

    Murray *ACE* Guest

  14. #13

    Default Re: Spacing - No WYSIWYG

    In the past I have used the following:
    <p>&nbsp;</p>
    to insert a blank line between paragraphs and other items. This causes html
    validator to go crazy.

    If I want to put spacing between paragraphs, what should I be using instead?

    What if I want spacing between tables.

    I know this is probably basic html stuff. But until i used DW with templates I
    never ran into a problem.

    newtech2000 Guest

  15. #14

    Default Re: Spacing - No WYSIWYG

    > This causes html validator to go crazy.

    Show me a page where it does this. It should not, as it's perfectly valid
    HTML, but the context of that paragraph would be important. For example,
    this -

    <h1>blah blah
    <p>&nbsp;</p>
    </h1>

    is invalid markup.
    > If I want to put spacing between paragraphs, what should I be using
    > instead?
    Use CSS to set the top/bottom margins on the paragraphs.
    > What if I want spacing between tables.
    CSS and margins again.
    > I know this is probably basic html stuff. But until i used DW with
    > templates I
    > never ran into a problem.
    Yes, it is. The more you know about HTML and CSS, the fewer problems like
    this you will encounter.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "newtech2000" <webforumsuser@macromedia.com> wrote in message
    news:eo4ldl$mf$1@forums.macromedia.com...
    > In the past I have used the following:
    > <p>&nbsp;</p>
    > to insert a blank line between paragraphs and other items. This causes
    > html
    > validator to go crazy.
    >
    > If I want to put spacing between paragraphs, what should I be using
    > instead?
    >
    > What if I want spacing between tables.
    >
    > I know this is probably basic html stuff. But until i used DW with
    > templates I
    > never ran into a problem.
    >

    Murray *ACE* Guest

  16. #15

    Default Re: Spacing - No WYSIWYG

    And by the way, this post would be better suited for the DW general
    discussion forum.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "newtech2000" <webforumsuser@macromedia.com> wrote in message
    news:eo4ldl$mf$1@forums.macromedia.com...
    > In the past I have used the following:
    > <p>&nbsp;</p>
    > to insert a blank line between paragraphs and other items. This causes
    > html
    > validator to go crazy.
    >
    > If I want to put spacing between paragraphs, what should I be using
    > instead?
    >
    > What if I want spacing between tables.
    >
    > I know this is probably basic html stuff. But until i used DW with
    > templates I
    > never ran into a problem.
    >

    Murray *ACE* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139