POSITION OF IMAGE IN TEMPLATE OPTIONAL REGION

Hi,
I am new to Dreamweaver and have designed a template with a
table on my page. Each of 4 template areas are either editable or
optional regions. In one optional region I have an image. I have
defined the table to be aligned to the top of the table cell, but
when the template is applied to the other pages, the image is in
the middle vertically. I also have it set to be centered
horizintally, but it stays to the left.
What am I doing wrong?
Any help would be appreciated.

Post a link to the page, please.
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
==================
"tlctara" <[email protected]> wrote in
message
news:fvsme0$l0d$[email protected]..
>
> Hi,
> I am new to Dreamweaver and have designed a template
with a table on my
> page.
> Each of 4 template areas are either editable or optional
regions. In one
> optional region I have an image. I have defined the
table to be aligned
> to the
> top of the table cell, but when the template is applied
to the other
> pages, the
> image is in the middle vertically. I also have it set to
be centered
> horizintally, but it stays to the left.
> What am I doing wrong?
> Any help would be appreciated.
>
>

Similar Messages

  • Template Optional region  - BODY TAG

    Hi,
    Is it possible to make a optional region inside the BODY TAG?
    I want place following line inside the body tag (but not on
    all pages!!):
    onload="load()" onunload="GUnload()" ...(code for Google
    Maps).
    I tried insert the optional region but DW doesn't seem to
    accept it...is there another way around?
    Hope someone can help:-)
    mg04

    > Is it possible to make a optional region inside the BODY
    TAG?
    No.
    However, read DW's F1 Help about using Editable Attributes.
    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
    ==================
    "mg04.dk" <[email protected]> wrote in
    message
    news:gd307v$m2p$[email protected]..
    > Hi,
    >
    > Is it possible to make a optional region inside the BODY
    TAG?
    >
    > I want place following line inside the body tag (but not
    on all pages!!):
    > onload="load()" onunload="GUnload()" ...(code for Google
    Maps).
    >
    > I tried insert the optional region but DW doesn't seem
    to accept it...is
    > there
    > another way around?
    >
    > Hope someone can help:-)
    >
    > mg04
    >

  • Creating DW templates - Repeating Optional Region?

    Hello Again:
    I know that it isn't always the best to pose abstract questions on forums, but I am wondering if anyone can tell if/how one can create an optional region within a repeating region of a DW template?
    The specific conundrum I seem to face that if a region has two divs within it (one with and one without a textbox surrounding it, for example) and if the user of the template chooses to repeat the section, how can they delete the second div within the repeated region (deleting through the modify tempate option) without deleting all the previous instances of the div as well.
    If there is a way to do this, I would appreciate some guidance.
    Thanks in advance.
    Steve Webster.

    Yes, and first my apologies, as I could have provided the example first of all.  If you go to  http://socls.org/testing/immigration-refugee_law.html I can perhaps explain my objective better.  On that page you see a series of text boxes one with a gradient background and a second with a only a outline in red.   For the moment ignore the text boxes that are rendered side by side and assume that the 1st two horizontal text boxes are all that I want to repeat throughout the page.
    I want to place the two of those full width text boxes within a repeating region (or turn them into a repeating region).  However if the webmaster needs to add content but doesn't need a pair of text boxes, or otherwise gets to the end of her content sections and doesn't need a final red outlined box, then I would want that the last red outlined box to be optional, without however deleting previous instances.  Sometimes content can't be organized so neatly as to finish with an even number of "content sets".
    I think the bigger problem is, as I understand it, that you can't create two "divs" (in this case text boxes) and have each repeating independently, and allow each to be moved up and down as though they were passing through another text box/div that also constitutes a repeating region.  The only way to have the pattern to repeat is to "pair" them as a single unit (Or perhaps I have misunderstood how the repeating action works ?!?)  I have tried treating them as independent repeating regions and it doesn't seem to work in the manner I would like.  If you tie them together in this way, then the only way to end with an uneven number of text boxes is to make one optional.  But it seems that if you make the second in the pair optional, then by "turning it off", you end up turning all off.
    At least that is how it seems to work.
    You may be right that the design is too complicated to work as a template in this fashion.
    Or, perhaps I am fundamentally mistaken on the architecture of the repeat concept.
    Thanks again for your patience and persistence
    Steve.

  • Edit optional region in template

    I need to edit an optional region in a template so that by
    default the value is "false" for the given region.
    So to do this I:
    - select the region
    - in the 'Properties' window CLICK 'edit'
    - select the 'basic' tab
    - UNCHECK the 'show by defailt' box
    - CLICK 'OK'
    Unfortunately this does nothing. The template does not seem
    to have been altered at all. If I go back in to edit the same
    region the box, which I DEFINITELY unchecked, is CHECKED again.
    Anyone able to offer some insight, please?
    Ideas and thoughts welcome.
    Cheers
    H

    this doc really helped
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16347
    as it highlights the fact that you can go into the code in
    the <head> tag and change the following (for example) case of
    'true' to 'false':
    <!-- BEGIN SECTION SELECT OPTIONAL AREAS TAGS-->
    <!-- TemplateParam
    name="nav-primary-selected-undergraduate" type="boolean"
    value="true" -->
    Not sure why the 'edit' option in DW wasn't working
    <!-- END OPTIONAL AREAS TAGS-->

  • Positioning an image in an AP element of an editable region

    This is the current scenario:
    <div id="graphix">
                <!-- #BeginEditable "graphixs" --><br>
                                        <br>
                                        <br>
                                        <br>
                                        <br>
                                        <br>
                                        <br>
                                        <br>
                                        <img src="../images/general/spv.jpg" alt="vidura" height="341" width="267" border="0"><!-- #EndEditable -->
                </div>
    Is there an elegant CSS method of positioning the image instead of using <br>? I tried putting a <div> around the image to control its position. It seemed like a good idea  but that utterly failed.
    Any suggestions or should I just stick to the primitive but effective <br>? It at least works, not pretty but does the job.
    Branko

    Once you have one image in place the next one down will take its position according to margin-top: XXpx; (see inline css example below style="margin-top: 60px;")
    <img src="image_1.jpg" width="600" height="450" />
    <img src="image_2.jpg" style="margin-top: 60px;" width="600" height="450" />
    EDIT: You'll probably need to use display: block as well (see below) if your container which holds the images is more than twice the width of the image. If you don't the images will just line up side-by-side until no more space is available at which point they will start another line.
    <img src="image_1.jpg" width="300" height="220" />
    <img src="image_2.jpg" style="margin-top: 60px; display: block;" width="300" height="220" />
    <img src="image_3.jpg" style="margin-top: 80px; display: block;" width="300" height="220" />

  • Hinding code with Optional Regions

    I am getting an error:
    HERE
    I know why, it is because I have to use: <body
    onload="load()" onunload="GUnload()"> in the line:
    <body class="thrColFixHdr"
    onload="P7_TMclass();P7_TMopen();load()"
    onunload="GUnload()","P7_TMclass();P7_TMopen();MM_preloadImages('images/layout-images/clo se-tabs-over.gif')">
    This is used to display a google map in my 'Location' page
    but this is the only place I need that code and where the map does
    not exist (all other pages) I get the error.
    Is there any way of hiding part of that code in my template?
    I have tried to have two versions of the line with and
    without the map code in 'Optional Regions' but no luck.
    Some expert advice greatly appreciated.
    Cheers,
    Richard

    > 1. If I add: <!-- TemplateParam name="MapScript"
    type="boolean"
    > value="false"
    > --> to my template and make it true on the page with
    the google map I get
    > the
    > Load() error on all other pages.
    Yes - well, this is a problem with a template controlled
    page. The body tag
    is NOT editable. You *can* use an editable attribute on the
    body tag for
    the onload attribute, which would allow you to access the
    values associated
    with that attribute on each child page, but it's all-or-none
    in the sense
    that you would have to add the full text of that attribute on
    each child
    page (adding or subtracting the 'load()' call).
    Are you using server scripting on these pages?
    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
    ==================
    "RICH POW" <[email protected]> wrote in
    message
    news:ful2gl$lqf$[email protected]..
    > Thanks for the reply...
    >
    > I'm in a bit of a vicious circle here.
    >
    > 1. If I add: <!-- TemplateParam name="MapScript"
    type="boolean"
    > value="false"
    > --> to my template and make it true on the page with
    the google map I get
    > the
    > Load() error on all other pages.
    >
    > 2. If I leave the script in I get a Null Value error on
    all pages except
    > the
    > google map page.
    >
    > Do you know a way I can include that map just on that
    page?
    > Do you know how I can add the whole page with SSI or add
    the <body
    > onload="load()" onunload="GUnload()"> to the body tag
    with an option
    > region?
    >
    > Here is the map in it's simplest form:
    >
    http://adelantedesign.co.uk/websites/adelante/googlemap.html
    >
    > Thanks again for your time.
    >
    > Richard
    >

  • Change tr bgcolor based on optional region

    Hello, dear DW wizards,
    I would like to automatically change the background color of a table row based upon wether an optional region is visible in a document or not.
    I created an optional region in a template and set its default state to show. In another region I made the tr tag of a table row editable. The default bgcolor for that row is red.
    If the optional region in an html file based on this template is hidden, the bgcolor of the table row should automatically change to blue.
    Is this possible with conditional expressions? I find no detailed info on the programming and don't know Javascript (which DW expression language is similar to).
    Thanks for you help
    Bernhard

    Your best bet with questions like this is to post your code so we can see exactly what is happening.  Nevertheless, the 'guess' answer to your question is "yes" you can do such things with conditional expressions.  You would make the color for the <tr> test the template parameter that controls the visibility of the optional region:
    <tr style="background-color:@@(param==true ? #AAAAAA : #BBBBBB)@@"

  • Background Image on a Report Region

    Greetings,
    Is it possible to put a background image on a report region? Using the code shown below I can get an image on most other region types, but the code simply doesn't work on a report region.
    Thanks in advance for your help, Tony
    REGION HEADER
    <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left"
    background = "#WORKSPACE_IMAGES#image.jpg">
    <tr height="500px" align="left" valign="top">
    <td>
    REGION FOOTER
    </td>
    </tr>
    </table>

    cloaked wrote:
    Greetings fac586,
    Been reading up on CSS's. I guess the main aspect is to determine the CSS component that deals with the Tabular Form in the Template I am using and modify it. I would need to modify the background attribute of the Tabular Fom, right?
    Gotta crawl before I walk, so I am also assuming that I would modify the CSS initially with a hard-coded background image. Then, if I get that to work I would make the image dynamic based on the criteria in a database. Am I on the right track?
    Is there a common attribute/component in the Apex Template CSS's for Tabular Forms? I've tried to find it, but am not sure what I'm looking for.Tabular forms can be created using any report template&mdash;built-in or custom&mdash;so the CSS will differ by theme and template.
    Yes, you can define background images for report templates, but It's not appropriate to do what you're trying to do at the report template level. Templates are static and defined at design-time. Challenging Apex Page - Grid with 100+ items - Suggestions Needed. This needs to be dynamic and determined at run-time.

  • Updating optional regions

    I'm just starting to figure out how templates work, but I've
    run into an issue that I'm certain is easily solved.
    So far the template is just a logo, a picture and 5 buttons
    linked to 5 template using pages.
    Each of the buttons are defined as optional regions. The idea
    is to have each page show their corresponding button uniquely.
    In each page I have changed the button in the optional region
    to look different, to indicate which page the user is on. - so far
    so good. However, when I return to the template and make a change
    to one of the buttons in the optional region, save the template and
    update the pages, the changes are not immediately reflected in the
    template using pages.
    If I select Template Properties and change the value of each
    optional region to "false" and click okay, then repeat the process,
    changing it back to "true", all the regions are then updated.
    Surely there is a one-click button that can do this?
    Thanks for any help,
    Doug

    Just to clarify, it is only the optional regions that don't
    update. Maybe that is by design, but if so, I'm having a hard time
    understanding the point.
    Thanks,
    Doug

  • Editable attribute within optional region?

    If I make an optional region in my template, and within it
    make some attributes editable, will this work ok?
    thanks

    Should, yes.
    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
    ==================
    "jdldn" <[email protected]> wrote in message
    news:ge9j14$oj0$[email protected]..
    > If I make an optional region in my template, and within
    it make some
    > attributes editable, will this work ok?
    > thanks

  • Why don't I have the 'new from templates' option in Indesgin CS6?

    Why don't I have the 'new from templates' option in Indesgin CS6? I only have three options under 'new', document, book or library. No template option as attached ...
    Please help.
    Many thanks,
    Jeannette

    This is still pretty annoying. Some of us actually make, and use our own templates. For example, I do tons of product mockups in my day to day and I have a series of basic templates laid out that I use for including the mock up image and the various specifications for each product. It's been super easy, in CS4, to choose file / new from template and just pop my template open. It was even nifty enough that Bridge would redirect to my templates folder for me.
    Sure, I know I can still save my templates to another folder and use them as I always have, but the question is why would they just remove this? For all of the bloat that Adobe constantly adds on to this suite of applications, year after year, why on earth would they just remove a simple, useful, entirely unobtrusive feature such as file / new from template?

  • Are Multiple-If Optional Regions Can Be Implemented with DW 8???

    Hi,
    I read about them in DW MX Templates by Brad Halstead and Murrray Summers?

    I am not 100% sure what you're asking, but yes:
    - you can use multiple optional regions in a template.
    - you can use multiple if sections responding to the same template property variable
    (You might even be able to nest an optional region within another optional when using sub-templates, but I dont think I ever tried that..)
    Hope that helps..

  • TEMPLATE Button Region without Title

    I am trying to complete the “How to Build and Deploy an Issue Tracking Application” from the “2Day Developer” document.
    On page 10-29 I am told to select the Template “Button Region without Title” template.
    I only see five templates …. (%, No Template, and three “Maroon templates). I used the utility to load CSSs into the repository but don’t recall seeing anything about loading templates.
    Where are the templates after one initially installs HTTMLDB ? Are they in the “\htmldb\images\templates” folder and do they need to be imported from there?
    Speaking of the repository --- where does it actually reside and who owns it?
    If there is a document out there that has answers to all those questions I’ll refer to that if anyone has a link.
    Thanks; (Hope I can find that “button Region without Title” template so I can resume the tutorial)
    Sign me … Dazed and Confused : )

    Turns out the customer was experiencing periodic problems with "classic" web toolkit issues, i.e. broken pages with "&lt;htm" appearing etc.
    However, after bringing forward their plans to apply the patch - now at 10.1.2.0.6 - and checking the DAD character set is AL32UTF8, this issue persists. As well as afflicting the template mentioned above, it is now also intermittently affecting a more complex Named Column report template (depending on whether columns are included in the report or not).
    For the button region template, this is happening consistently wherever it appears (it's used on a multi-page wizard), and the first 5 characters of the template are always stripped, whatever they are - valid markup, whitespace, gibberish...

  • Deleting optional regions

    Hi all,
    I'm learning how to add optional editable regions. I made a
    few bungled ones until I finally got it right. The problem is, now
    when I create a new page based on the template then go MODIFY >
    TEMPLATE PROPERTIES, I get a list of all the old optional regions I
    added then removed. I can't figure out how to get rid of them!
    This won't be good to hand over to the client, how can I
    remove these from the list?
    Cheers

    Delete the parameter definitions in the head of the Template
    page that
    relate to those defunct optional regions.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "cozzabags" <[email protected]> wrote in
    message
    news:f36uve$c7t$[email protected]..
    > Hi all,
    >
    > I'm learning how to add optional editable regions. I
    madde a few bungled
    > ones
    > until I finally got it right. The problem is, now when I
    create a new page
    > based on the template then go MODIFY > TEMPLATE
    PROPERTIES, I get a list
    > of all
    > the old optional regions I added then removed.
    >
    > This won't be good to hand over to the client, how can I
    remove these from
    > the
    > list?
    >
    > Cheers
    >

  • What is optional region conditions

    hi
    just ask what is the optional region conditions that i can
    write?
    thanks in advance,

    The conditions are boolean, or text/numeric equalities.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "(_seb_)" <[email protected]> wrote in message
    news:eo09us$fg1$[email protected]..
    > macnux wrote:
    >>
    hi
    >>
    >> just ask what is the optional region conditions that
    i can write?
    >>
    >> thanks in advance,
    >
    > huh? what are "optimal region conditions"?...
    >
    > --
    > seb ( [email protected])
    >
    http://webtrans1.com | high-end web
    design
    > Downloads: Slide Show, Directory Browser, Mailing List

Maybe you are looking for

  • Create a program for Automatic calculation of Interest on arrears for Custo

    Hello Experts, Please Check the below requirement and guide me according ly.. Upto now our client is preparing the interest manually in excel and later they issue the invoice in Finance module (DR document) and attach the paper with the calculation.

  • Local web server not being recognized

    I setup a web server on my LAN specifically so both a PC and a Mac could use HTTP protocol and store and retrieve files. The servername is called UBUNTU. On any PC in the house I can type http://ubuntu/ and the directory listing appears. The Mac can

  • Capturing DVD video shot with a DVD Camcorder

    I have a Panasonic DVD camcorder. It records on mini DVD's. With FCE, how do I capture what I've shot. The camera has a USB output but not a fire wire. Can I go directly from my digital camcorder to the capture tool? Or can I use the internal DVD pla

  • Deleted zero

    Hi all, i have small prob.... how i want to delete zero in string format... let say i have 123000 and i want to get output 123 or i have 1200000 so i want to be 12... can someone help me... Thanks...

  • Inability to copy music from iTunes library to 4S

    I'm having trouble copying music from my iTunes library (Windows PC running Vista).  It copies three or four albums without any problems and the stops on the third or fourth track on the next album and returns an error message (iTunes cannot copy....