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

  1. #1

    Default Layout not loading

    The main layout seems to be working - [url]http://christianworldwideministry.org[/url]

    However when i try to use the same layout on some other pages, it dosnt seem
    to be working - [url]http://www.christianworldwideministry.org/study2.html[/url]

    Any idea how I can get the layout to work properly?

    Many Thanks

    Andy

    blakeuk Guest

  2. Similar Questions and Discussions

    1. loading dynamic xml table cells / layout / and functions
      i'm trying to load a full html page with layout table cells intact and full function (like an i frame) i can load text and image but i can seem to...
    2. loading MC loading text path question? link fixed
      Sorry my link to the files was bad before try this link 8) this is the code in the frame of the shell.fla //load Movie Behavior
    3. loading MC loading text question?
      I have a movie that I dynamically load text into the "bodyText" dynamic text field from a text file it works fine. However when I load that movie...
    4. PHP files not loading- html loading fine from the same folder!?
      I have IIS installed on a Win2000 Server SP4 platform. I have installed PHP V4.3.3 and phpBB forum pages. All is running fine except for one slight...
    5. Q: layout id
      Can one change the layout id number? Currently I have two layouts ( id 6 and 7 ). Using instant web publisher, the search results, when clicked,...
  3. #2

    Default Re: Layout not loading

    The main page loads the stylesheet like this:
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    and the study2.html page does this:
    <link rel="stylesheet" href="file:///C|/Documents and
    Settings/user/Desktop/style.css" type="text/css" media="screen" />

    Spot the difference :-)

    regards
    Andy
    ps Use an image editing program to resize the cross2.jpg and bible.jpg (just
    under your menu) to the size you want them displaying, using width= and height=
    to force a large image (bible is 787x800px and 128k) to be smaller wastes
    bandwidth (it takes long for the page to load).

    byardaj Guest

  4. #3

    Default Re: Layout not loading

    Originally posted by: byardaj
    The main page loads the stylesheet like this:
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    and the study2.html page does this:
    <link rel="stylesheet" href="file:///C|/Documents and
    Settings/user/Desktop/style.css" type="text/css" media="screen" />

    Spot the difference :-)

    regards
    Andy
    ps Use an image editing program to resize the cross2.jpg and bible.jpg (just
    under your menu) to the size you want them displaying, using width= and height=
    to force a large image (bible is 787x800px and 128k) to be smaller wastes
    bandwidth (it takes long for the page to load).

    Thank you for your help.

    The bible image is a differnt size to me (351x546).

    I have changed the code, however in my dreamweaver program the layout is now
    scattered across the page, however when i preview it, it looks fine. Is there a
    way to make the layout of the site offline, the same as it is online?

    Many Thanks

    blakeuk Guest

  5. #4

    Default Re: Layout not loading

    The bible image occurs twice...
    <div>
    <div align="left">
    <p class="clear style52"><img src="cross2.jpg" width="138"
    height="117" align="left" /><img src="bible.jpg" width="134" height="115"
    align="right" /></p>
    <p class="clear style52">&nbsp;</p>
    </div>
    </div>

    Is the bit just under your menu. If you load the source image into
    FireWorks/Photoshop you will see that it is actually 787x800px. What you are
    doing on your page is forcing the browser to resize it on the fly, all this
    resizing can do is change the screen space taken up by the image (it will still
    take 128k), admittedly you are using the same image twice so it will only be
    downloaded once but it's still a good idea to minimise image size (as in
    kilobytes not pixels).

    Can anyone recommend a good tutorial on image optimisation? When I get home
    tonight I will knock up a page with the images sized a little more
    appropriately.

    I can't help you with the Design view vs Browser view as I tend not to use
    design view (most of what I do uses content from databses/xml so design view
    never shows me what I want to see, besides I run dual screens and I always have
    a browser open on the other screen).

    regards
    Andy

    byardaj Guest

  6. #5

    Default Re: Layout not loading

    as promised... a page with some smaller images
    [url]http://www.andybyard.co.uk/bible/bible.htm[/url]
    One small matter to clear up first... I am not a graphics expert, I know
    enough about FireWorks to get me through the day! So, some explanations about
    the page...
    The page has three images:
    787x800at80pc.jpg (48kb)
    331x310at80pc.jpg (16kb)
    134x115at80pc.jpg (4kb)
    To generate these I took your original bible.jpg image into FW, made two
    copies and then used transform to resize them (to the dimensions I found in
    your html), I then exported them as Jpegs at 80% compression.
    Under normal circumstances I would do a little clipping to maintain the
    correct aspect ratio but I didn't and they still look ok, I might also
    investigate more or less compression but again they look ok and they are much
    smaller than the original 128kb
    I dare say that if you wander over to the FireWorks forum someone can point
    you in the direction of a tutorial for image optimisation.
    Hope this helps.
    regards
    Andy
    ps No comments about my html please... I simply got FW to generate it.

    byardaj 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