Professional Web Applications Themes

HTML Code help, please - Macromedia Dynamic HTML

Ok, I have tried making a template for my website, it worked yesterday & this morning then I started receiving errors --- so after spending between 6 - 7 hours on this today I got "fed-up" & decided to start from scratch & am now trying to create the website without any templates (I do think it will look real nice once I get this one thing figured out). That is where ya'll come in... I have 6 pages (that I know of right now) to create - I will use the company logo on each of the pages, I ...

Sponsored Links
  1. #1

    Default HTML Code help, please

    Ok, I have tried making a template for my website, it worked yesterday & this
    morning then I started receiving errors --- so after spending between 6 - 7
    hours on this today I got "fed-up" & decided to start from scratch & am now
    trying to create the website without any templates (I do think it will look
    real nice once I get this one thing figured out). That is where ya'll come
    in... I have 6 pages (that I know of right now) to create - I will use the
    company logo on each of the pages, I am pasting the problem I am having:

    Why is there .. in the code on the 2nd page but not the 1st? I haven't yet
    got to the next pages, but I am concerned that the .. are going to increase -
    this is causing my pages to look different.

    Thank you for any advice

    Reba

    (1st page below)

    <table width="641" height="176" border="0" cellpadding="0" cellspacing="10">
    <tr>
    <th width="357" scope="col"><img src="../GIFS/ads.logo.black.jpg" alt="ads
    logo" width="345" height="138" align="left" /></th>
    <th width="253" scope="col"><img src="../Images/ADC.44.jpg" alt="adc-44"
    width="169" height="141" align="left" /></th>
    </tr>
    </table>

    (2nd page below)

    <table width="641" height="176" border="0" cellpadding="0" cellspacing="10">
    <tr>
    <th width="357" scope="col"><img src="../GIFS/ads.logo.black.jpg" alt="ads
    logo" width="345" height="138" align="left" /></th>
    <th width="253" scope="col"><img src="../Images/ADC.44.jpg" alt="adc-44"
    width="169" height="141" align="left" /></th>
    </tr>
    </table>

    Sponsored Links
    Reba Guest

  2. #2

    Default Re: HTML Code help, please

    Reba:

    Go here -

    http://www.w3schools.com

    and get some HTML under your belt. DW will expect you to have it.

    The two code snippets you posted look identical to me.

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "Reba R." <com> wrote in message
    news:g2pa9d$t54$macromedia.com... 

    Murray Guest

  3. #3

    Default Re: HTML Code help, please

    Murray - thank you for your reply. I feel like an idiot right now; of course
    the 2 look the same because they are - here is what I meant to send:

    (1st page below)

    <table width="641" height="176" border="0" cellpadding="0" cellspacing="10">
    <tr>
    <th width="357" scope="col"><img src="/GIFS/ads.logo.black.jpg" alt="ads
    logo" width="345" height="138" align="left" /></th>
    <th width="253" scope="col"><img src="/Images/ADC.44.jpg" alt="adc-44"
    width="169" height="141" align="left" /></th>
    </tr>
    </table>

    (2nd page below)

    <table width="641" height="176" border="0" cellpadding="0" cellspacing="10">
    <tr>
    <th width="357" scope="col"><img src="../GIFS/ads.logo.black.jpg" alt="ads
    logo" width="345" height="138" align="left" /></th>
    <th width="253" scope="col"><img src="../Images/ADC.44.jpg" alt="adc-44"
    width="169" height="141" align="left" /></th>
    </tr>
    </table>

    Notice the ../GIFS/ads. & the ../Images/ADC is different (why is dreamweaver
    inserting the .. before those?

    I hope this makes sense - I haven't been able to find any answers anywhere,
    that is why I am asking the forum.

    Thanks bunches,
    Reba

    Reba Guest

  4. #4

    Default Re: HTML Code help, please

    The first snippet shows your links as "root relative". This means that the
    path they describe to get to the file begins at the root ("/") of the site.
    Such links will work, unmanaged, in any file at any location in your site.

    The second snippet shows your links as "doent relative". This means that
    the path they describe to get to the file begins at the folder level of the
    current doent. That path directs the browser to go UP one folder level
    "../", then find the GIFS folder, and within it the ads.logo.black.jpg image
    (by the way, that kind of naming convention looks like big trouble to me -
    the best way to avoid problems would be to never use punctuation, including
    spaces, other than hyphen and underscore in your filenames). Such links
    will require management (which DW does), depending on where the file is
    saved in the site.

    The bottom line is - *if* the GIFS folder is at the root level of the site
    (so that the first link would be correct), and *IF* the page containing the
    second snippet is one folder level below the root (as the second snippet's
    links imply), then your links will both work. Please note that root
    relative links will NOT work in preview UNLESS you have enabled Preview in
    Browser with temp files (PREFERENCES).

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "Reba R." <com> wrote in message
    news:g2r17c$r13$macromedia.com... 

    Murray Guest

  5. #5

    Default Re: HTML Code help, please

    Murray - Wow, I understand completely now!!! :) I can't believe I wasted so
    much time on this yesterday & you really have cleared up the confusion on my
    part. Also, thank you for the advice on the "naming convention" - This is a
    site that I am revamping so some of the files had previously been created by
    someone other than me. I will go thru the site folder & "rename" these files.
    I will use this knowledge when I start on the next website (this one will be my
    "baby" alone, lol).
    Again, thank you for your "wisdom" - I hope you have a great day

    Reba

    Reba Guest

  6. #6

    Default Re: HTML Code help, please

    Good luck, Reba....

    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs, Tutorials & Resources
    ==================


    "Reba R." <com> wrote in message
    news:g2r42f$r5$macromedia.com... 

    Murray Guest

  7. #7

    Default Re: HTML Code help, please

    Very fundamental tips. Thanks Muray
    yupieyi Guest

Similar Threads

  1. Generating HTML code in the code-behind
    By lisa@starways.net in forum ASP.NET Building Controls
    Replies: 3
    Last Post: September 25th, 05:24 PM
  2. add an html code
    By sassy in forum Web Design
    Replies: 2
    Last Post: July 10th, 06:16 PM
  3. Where do I put HTML code
    By Jean Y in forum Macromedia Contribute General Discussion
    Replies: 2
    Last Post: April 11th, 03:04 AM
  4. HTML-code into PHP-code
    By Jack in forum PHP Development
    Replies: 1
    Last Post: July 29th, 05:08 PM
  5. Can't see the HTML Code
    By Grut webforumsuser@macromedia.com in forum Macromedia Dreamweaver
    Replies: 3
    Last Post: July 16th, 06:48 PM

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
  •  

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