Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2008
    Location
    Melbourne
    Posts
    156

    Default How does WD6 handle divs

    In the version i have WD5 each line of text is exported as a div, not real nice code when exported into Dreamweaver, I then spend more time removing all the divs and hand code the CSS and re-do all divs.

    How are they handled now, Can we layout the page in typical header,footer and columns and export the page as intended or does WD6 try and reinvent the wheel?

    Cheers
    I ate my crayon.

  2. #2
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: How does WD6 handle divs

    Yes, in WD6 there is an option to export the text objects as usual <p> elements. Not split into separate lines. To do so add the "HTMLBlockText" name to the text object.
    There are also some other improvements that may be useful if you are going to edit exported HTML in the Dreamweaver or other advanced web authoring tool. For example, the text formatting is extracted into external css and is shared among all similarly formatted text elements. So you can edit it for the entire site simultaneously.
    Check the trial version!
    John.

  3. #3
    Join Date
    Feb 2008
    Location
    Melbourne
    Posts
    156

    Default Re: How does WD6 handle divs

    Thanks John,

    OK but that would then cause repelled objects not to work if i understand correctly, or is there a work around.

    Cheers
    I ate my crayon.

  4. #4
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: How does WD6 handle divs

    Yes there is a work around. Do not add "HTMLBlockText" name to the text object.
    John.

  5. #5
    Join Date
    Feb 2008
    Location
    Melbourne
    Posts
    156

    Default Re: How does WD6 handle divs

    hmm maybe I will re-phrase my question,

    Can I add a block of text and a photo similar to left justify only using repel object and have them export as nested divs:

    <div id="MainTextBlock">
    <div id="MyImage">My Image Here</div>
    Block of Text</div>
    I ate my crayon.

  6. #6
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: How does WD6 handle divs

    Yes you can. Copy this code of yours and paste it into the placeholder.
    You can also have an in-line placeholder which content will be inserted directly into the text.
    John.

 

 

Bookmarks

Posting Permissions

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