Formatting text in a repeating table in my template

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

  1. #1

    Default Formatting text in a repeating table in my template

    I am using a repeating table in my template for my home page. The table will
    be used to add text based hyperlinks to news articles. By default, the rows of
    content appear directly underneath eachother making it difficult to discern one
    title from the next. I would like to simply put a space in between each table
    row to seperate the titles. I have tried putting a <br> inside the code to be
    repeated so the space will occur after each region but for some reason,
    depending on where you put the <br> it either does nothing or puts all of the
    breaks on top of the hyperlinks pushing them farther down the page. My current
    code looks like this:

    <!-- TemplateBeginRepeat name="newsArticles" -->
    <tr>
    <td valign="top"><span class="style8"><!-- TemplateBeginEditable
    name="newsLink" -->Insert news links here. Click the "+" sign to add a new row
    <!-- TemplateEndEditable --></span></td>
    </tr>
    <!-- TemplateEndRepeat -->

    The output of this code looks like this

    Link1
    Link2
    Link3

    I need the output to look like:

    Link1

    Link2

    Link3

    I have tried using <br> in just about every conceivable place in the code to
    accomplish what should just be a blank space below each link.

    Any suggestions?

    DTruck_Guy Guest

  2. Similar Questions and Discussions

    1. repeating content in a template - hand-coded
      Hi all, I am trying to mark-up a "repeating region" in a hand-coded template. I do not have Dreamweaver installed and am wondering what HTML code...
    2. includes mess up table formatting
      Not sure if this is OT - if so xcuse me I have a table with 3 pull down menus next to each other in a cells. I make the 3 pull down menus...
    3. CFDocument and repeating table headers
      I'm trying to output a multi-page report (essentially a large table) across multiple pages in PDF format. I know that the <cfdocumentitem> tag...
    4. repeating table with a twist
      is there any sort of table in dreamweaver that repeats itself, but inserts a different column of a table for each row? or would i have to do this...
    5. Multiple-row table formatting of results
      Hi all, This is probably a simple one if you know what you're doing, but I could use some code to work from. I'd like to write a script that...
  3. #2

    Default Re: Formatting text in a repeating table in my template

    I think I understand what you are trying to do. I'll give a shot.
    There are quite a few ways of accomplishing this. I guess it depends on
    preference.
    On way would be to experiment with table padding and spacing.
    Other ways, using css, would be to add line height, or experimenting with
    padding.
    W3Schools is a pretty good site with some basic interactive tutorials. See
    below.

    Hope this helps. Let me know if you have any questions.

    Robert

    [url]http://www.w3schools.com/html/default.asp[/url]
    [url]http://www.w3schools.com/css/default.asp[/url]

    rappelec 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