Wonky template

Hello everyone,
I've created a template in Photoshop, sliced it, and saved
for web. When I open the .html file in Dreamweaver everything looks
good. Then I create a div tag over the whole template (height: 100%
width: 100%). Now my design has 4 content boxes within the main
page. I click on the main section, delete the content box image,
then create another div tag within that section, I set the
background to the deleted image and I set the box size to the size
of the image. Now I guess there are a couple issue I have. When I
enter text into the box I don't want the text right up against the
left side of the box or the top. I've tried padding and also
margins, but when I do that, the whole template ends up with gaps
that I can't seem to fix. Now I've watched 5 or 6 tut videos on how
to do this, but none of them seem to have the same issue I am. Also
after I type a line of text and hit enter, it double spaces the
lines.
If anyone could help me out with this, it would be greatly
appreciated.
Thanks

It's impossible to follow your narrative without looking at
the page. Can
you post a link to it? I'll just say that you have gotten off
on the wrong
foot using PS to write your HTML, though. Such HTML is not
suitable for
anything other than prototype work.
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
==================
"audiosphere" <[email protected]> wrote in
message
news:gbb1fo$igv$[email protected]..
> Hello everyone,
>
> I've created a template in Photoshop, sliced it, and
saved for web. When
> I
> open the .html file in Dreamweaver everything looks
good. Then I create a
> div
> tag over the whole template (height: 100% width: 100%).
Now my design has
> 4
> content boxes within the main page. I click on the main
section, delete
> the
> content box image, then create another div tag within
that section, I set
> the
> background to the deleted image and I set the box size
to the size of the
> image. Now I guess there are a couple issue I have. When
I enter text
> into
> the box I don't want the text right up against the left
side of the box or
> the
> top. I've tried padding and also margins, but when I do
that, the whole
> template ends up with gaps that I can't seem to fix. Now
I've watched 5
> or 6
> tut videos on how to do this, but none of them seem to
have the same issue
> I
> am. Also after I type a line of text and hit enter, it
double spaces the
> lines.
>
> If anyone could help me out with this, it would be
greatly appreciated.
>
> Thanks
>

Similar Messages

  • Page backgrounds with templates

    I just upgraded to DW8, but I was having the same problem in
    DWMX. I have a number of template based pages and now I would like
    to make the page background color editable. I also have a css-based
    menu from Project 7 which begins with an On Load command in the
    <body> tag. In MX, when I tried to make the bg tag editable,
    the menu went wonky and the page didn't displa right
    Now I've trying with DW8. Page backgrounds are set as a style
    and there isn't any bg command in the body. Can someone PLEASE help
    me. I've fooled around with this for days, asked on several other
    forums. I've looked through knowledge bases and there's lots about
    changing the stuff in tables, etc., and modiying attributes, but
    the tags are there to do. I can't get the bg tag in the body to
    make it editable. When I try, it comes up as a style.
    HELP!!!!!!

    > When I try, it comes up as a style. HELP!!!!!!
    Show us what you have tried, please.
    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
    ==================
    "akitalady" <[email protected]> wrote in
    message
    news:esqtkq$q8r$[email protected]..
    >I just upgraded to DW8, but I was having the same problem
    in DWMX. I have
    >a
    > number of template based pages and now I would like to
    make the page
    > background
    > color editable. I also have a css-based menu from
    Project 7 which begins
    > with
    > an On Load command in the <body> tag. In MX, when
    I tried to make the bg
    > tag
    > editable, the menu went wonky and the page didn't displa
    right
    >
    > Now I've trying with DW8. Page backgrounds are set as a
    style and there
    > isn't
    > any bg command in the body. Can someone PLEASE help me.
    I've fooled
    > around
    > with this for days, asked on several other forums. I've
    looked through
    > knowledge bases and there's lots about changing the
    stuff in tables, etc.,
    > and
    > modiying attributes, but the tags are there to do. I
    can't get the bg tag
    > in
    > the body to make it editable. When I try, it comes up as
    a style.
    > HELP!!!!!!
    >

  • Missing Master templates

    I researched this and found some answers, but here's a new issue. When I go under "Preferences", I have no "Destination" choice! Now it may be hiding somewhere, but there are no templates in the bin selection, and now I am stumped. Help please?

    I would contact Apple with your proof of purchase, and request replacement discs. Certainly, if you purchased a volume license, you shouldn't have any problem getting Apple to locate the serial number from your proof of purchase.
    The templates can be reinstalled from the original installer discs.
    If they don't reside on your boot drive, then the install was wonky and has to be redone.
    Make a claim on your insurance policy, if you want, to recoup the small amount for the replacement discs.
    Not certain what you mean by a download for the templates. FCP is installed from the installer discs which include the content.

  • How to parse templates using Mustache.js, Handlebars.js, etc.

    I have an interesting problem that I can't find a solution for anywhere. Basically I'm building a system where the user uploads an Edge template they create themselves, map different data points like text, images, etc. to tags they place in the template. Then I'm loading the templates using an Iframe to display to the end user. The problem is I want to parse the templates to replace the template tags with the data that is mapped. I'd rather stay away from rewriting the *_edge.js file and saving it in a different location, so I'm trying to use Mustache.js (or any other templating system in Javascript).
    The problem is finding the right events to hook on. Currently I'm using:
    $('iframe').load(function() {
         frames[$(this).attr('id')].AdobeEdge.Symbol.bindElementAction('EDGE-74745603', 'stage', 'document', 'ready', function() {
              /* rendering here */
    However, when load() is called, Symbol doesn't existing in the AdobeEdge object. I can see that Edge calls a "loaded" event, but I can never see it called (added a console.log() call right when it's triggered but never saw it in my console).
    Basically the problem boils down to: how can I either intercept and parse the text being passed to the template, or how can I rewrite the DOM after the text has been inserted?
    Edit: I'm now trying to call a function using onreadystatechange for the iframe to detect when it's "complete" (preload JS sets that when all the scripts are in). Not sure if that will work, but trying to get it working.

    There is no relationship between making a template child page, and wonky javascript.
    Let's see your page and its code (and by the way, if you had read the announcement at the top of the page about the importance of code, you would have known to include this information in your original post).

  • How can I transfer some or all Disc Menu templates from PrE7 to PrE9

    I have seen various versions of peopIe swapping templates from one program to another, but didn't see my scenario covered.  I have both Premiere Elements 7 and Premiere Elements 9 and I like the Disc Menu templates better from PrE7 better than PrE9. I am not needing to copy any text or Instant Movie stuff at this point in time. Is there a simple way to copy/paste some or all of the Disc Menu Templates from the 7 folder to the 9 folder?

    Bill and Neale,
    Had to try these theories we were talking about. Things went wonky when I created the PrE7 complete folder and inserted in PrE9. The PrE7 folder showed up in the disc menu dropdown list, but when I clicked on it I only got blank menu boxes. So back into windows explorer and deleted the folder I created (2.44 GB worth of menus) and just copied one folder over. From Entertainment, the Drive In Disc menu. That one shows up, seemingly correctly, in PrE9 Entertainment folder. I am enclosing a pic of folders side by side, and you can see how many more menus are in PrE7, just in Entertainment.
    You can see the Drive In menu in both folders, in both programs. I haven't outputted anything with the menu yet. Hopefully it works. So, maybe just moving whatever menus a person likes from one program to another, instead of the complete 2.44 GB will work. But one more question comes up. I notice some of the folders have an (A) in front, or an (AV) or (V). I clicked into some of the other folders ie: General, Happy Birthday,Holidays and Events, and some folders they aren't used at all, and other folders are various combinations of one or all. Anybody know what they mean?
    Also of note. The menu tree in PrE7 goes directly from DVD Templates to the menu folders. The menu tree in PrE9 has the menu folders in a common folder. Anybody see the reasoning of this?
    Thanks again

  • And/or if statement in rtf templates.

    Hi all,
    I'm using XML Publisher 4.5.
    I have created a word template file (rtf) for my reports. I need to be able to show some content in the template file by using and and/or if statement.
    fx. <?if:doc_type='STANDARD'?> OR <?if:doc_type='DEFAULT'?>
    How can I do this?
    In advance thank you.
    Best regards
    Kenneth

    Hi D,
    Thank you for your answer.
    I have seriously thought about that solution; but I don't think it's a smart way to do it.
    If i do it like that, i need to copy the whole table and paste it inside the if statements.
    I have two xml elements that I need to make the decisions on. POH_PO_TYPE & CP_RELEASE_NUM.
    POH_PO_TYPE can be: STANDARD, RELEASE or BLANKET.
    CP_RELEASE_NUM can be: '' or N
    If POH_PO_TYPE is RELEASE AND CP_RELEASE_NUM is not ''
    OR POH_PO_TYPE is STANDARD
    OR POH_PO_TYPE is BLANKET AND CP_RELEASE_NUM is ''
    THEN show table (which contains the whole PO).
    It shall show the content of the PO in any of these cases.
    BR Kenneth

  • How to round numbers in RTF templates?

    Hello!
    I'm using BI Publisher for Word (Oracle BI Publisher Builder for Word 10.1.3.4.1) to build a template to my BI Publisher report and I want to calculate this:
    avg(X)/(avg(Y)-avg(Z)/0.9)
    The result should be rounded to 3 places.
    I tried:
    <?(sum(X) div count(X)) div ((sum(Y) div count(Y)) - (sum(Z) div count(Z)) div 0.9)?>
    and I obtained the expected result.
    But, when I try to round in this way:
    <?xdofx:round((sum(X) div count(X)) div ((sum(Y) div count(Y))-(sum(Z) div count(Z)) div 0.9),3)?>
    I obtain 0 when is expected other value.
    Can someone help me?

    Hi ,
    You can select the number format in RTF template .Double click the Form Field select
    Type :Number
    Number Format :#,##0.000
    Thanks.

  • Relative path for images in RTF templates

    Hi everybody!
    When I insert an image in a RTF template, I put its path into the web dialog, in order to see correctly the picture when I open the report from the xmlp server, in this way: url:{"http://servername/analytics/res/Images/image.bmp"}
    How can I make this path relative, in order to see the images even if the server name changes?
    Thanks so!
    Francesco

    Hi Tim,
    I am using BIP 10.1.3.3.2. I am able to access system variable CURRENT_SERVER URL.
    Steps:
    <?param@begin:CURRENT_SERVER_URL?>
    <xsl:value-of select="$ CURRENT_SERVER_URL"/>
    CURRENT_SERVER_URL is getting printed in BI Publisher. Value displayed is http://xx4697.xxx.co.in:9704/xmlpserver.
    Now we are importing xsl into RTF template. File aaa.xsl is stored at [BIP_Installation_Directory\oc4j_bi\j2ee\home\default-web-app]
    We have hardcoded the path for XSL in RTF. The path is <?import: http://xx4697.xxx.co.in:9704/aaa.xsl?>
    As we want to set dynamic path we changed hardcoded xsl path to <?import: {$CURRENT_SERVER_URL}/../aaa.xsl?> but it is not working. Sometimes BIP is taking local path of MyDocuments folder and sometimes Desktop path. If I put that XSL file in MyDocuments folder or Desktop, it is working fine. But ideally it should refer [BIP_Installation_Directory\oc4j_bi\j2ee\home\default-web-app] path...
    Thanks,
    Amit D

  • Help with math / calculations in RTF templates

    Greetings,
    I know that there are math capabilities in the templates... I've seen the code samples in the Core Components guide.
    What this doesn't tell you is WHERE these things would go in a template. And... that... is my question.
    We are just starting to use BIP in conjunction with JDE EnterpriseOne (8.12, tool set 8.97.12). For our first attempt we're creating our template over a new report.
    I have a template where I sum two different repeating values (through the normal BI Properties) and place these values in two separate cells in a table. I want to sum the two of these together for a "grand" total.
    I've seen the "examples" but they really aren't very helpful. The xsfo, etc. for doing addition is fine, but WHAT are the values to add and WHERE does the code go?
    If anyone has done something like this or has experience using the embedded code I would appreciate hearing from you.
    Thanks in advance

    I see what you are saying about the spaces... but it made no difference... still got the error.
    The XML file is too large and convoluted to be pasted here.
    With reqards to the following snippet:
    COLA = <?sum(current-group()/COLA)?>
    COLB = <?sum(current-group()/COLB)?>
    Summ== <?sum(current-group()/COLA) + sum(current-group()/COLB)?>
    Where does THIS code go?
    Here is the error detail:
    ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
    Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    Template: C:\Documents and Settings\jdenison\My Documents\BIP Templates\R5642001\R5642001_TEMPLsave.rtf
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\jdenison\My Documents\BIP Templates\R5642001\R5642001_RICE0001_D081029_T144059683.xml
    FOProcessor setLocale: en-us
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
         at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
         at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
         at RTF2PDF.runRTFto(RTF2PDF.java:629)
         at RTF2PDF.runXDO(RTF2PDF.java:439)
         at RTF2PDF.main(RTF2PDF.java:289)
    Caused by: oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'sum'
         at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
         at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
         at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
         ... 15 more

  • Grouping and Decimal characters in rtf templates.

    Hi guys and girls,
    I’m really struggling with a problem here regarding the decimal characters for the prices in my output.
    I'm using XML Publisher 5.6.3.
    My goal is to control the grouping and decimal character from my template.
    The numbers in the XML data file can either be 10.000,00 or 10,000.00. The format is handled by the users nls_numeric_characters profile option.
    The output of the template shall be based on the locale and not the data generated by Oracle Reports. For example: Reports to US customers shall show the numbers in the following format 10,000.00. Reports to our European customers shall show the numbers in this format 10.000,00.
    How can I achieve this in my templates? Can it be achieved at all?
    Thank you in advance.
    Kenneth Kristoffersen
    Edited by: Kenneth_ on May 19, 2009 1:30 AM

    Hi,
    Thank you for your reply.
    The problem is that the report is generating the output based on the users profile option nls_numeric_characters.
    I have tried to override the users profile option in the before report trigger without any luck. I can alter selects so the query gets the numbers in the right format but then I would have to go through all queryes and reports which seem a bit wrong? Especially for the standard Oracle reports.
    BR Kenneth

  • Resetting Header and Footer in RTF templates

    Hi,
    I developed an RTF template (template 1). This template contains start:body and end body for printing the header and footer in all pages. After printing this template then i have to call another template(template 2) from this. I called the template (template 2) using call statement. But the probelm is that the header and footer of template1 is printed in the output of template2 .
    I dont want to print this header and footer for template 2. Can anyone please suggest me in doing this. I placed start:body and end body in the second template with the assumption that 1st template's header and footer will be overwritten. But if i preview then am getting the error
    Font Dir: C:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
    Run XDO Start
    RTFProcessor setLocale: en-us
    FOProcessor setData: C:\Documents and Settings\kpoda\Desktop\Invoice Printing Efficiencies\Sample XML Data\Sample Output4.xml
    FOProcessor setLocale: en-us
    each
    Please sugget.
    Thanks

    Hi,
    Do you have two templates (template1 & template2) that you want to display in the same document where the pages for template1 has one set of header and footers; and template2 has another set of header and footer?
    If that is the case you can simply create a new section in your rtf template so you have section1 and section2.
    In the body of section1 you call template1 and template2 in the body of section2.
    You can then have different header and footers for the two templates in the same document.
    BR Kenneth

  • Can we use IF statement in PDF templates

    Hi,
    I developed a PDF template. I need to underline ang bold the records based on a specific condition. Can we use IF conditon in PDF templates. Please suggest.
    Thanks...

    Billy  Verreynne  wrote:
    The case syntax is a bit funny though as there's not a single condition evaluation (like a DECODE or case structs from some other languages).
    This is what I would expect a typical case struct to look like - evaluating a single condition:
    case <condition>
    when <value-1> then return <result-1>
    when <value-n> then return <result-n>
    else
    return <return-z>
    end
    ?:| You mean like this...?
    SQL> ed
    Wrote file afiedt.buf
      1  select empno, ename, deptno
      2        ,case deptno
      3           when 10 then 'This is Department 10'
      4           when 20 then 'And department 20'
      5           when 30 then 'And of course department 30'
      6         else
      7           'Blimey it is something else!'
      8         end as dept_desc
      9* from emp
    SQL> /
         EMPNO ENAME          DEPTNO DEPT_DESC
          7369 SMITH              20 And department 20
          7499 ALLEN              30 And of course department 30
          7521 WARD               30 And of course department 30
          7566 JONES              20 And department 20
          7654 MARTIN             30 And of course department 30
          7698 BLAKE              30 And of course department 30
          7782 CLARK              10 This is Department 10
          7788 SCOTT              20 And department 20
          7839 KING               10 This is Department 10
          7844 TURNER             30 And of course department 30
          7876 ADAMS              20 And department 20
          7900 JAMES              30 And of course department 30
          7902 FORD               20 And department 20
          7934 MILLER             10 This is Department 10
    14 rows selected.

  • Error: If statement in RTF template in BI Buplisher

    All,
    Can some help me to solve the below issue. Please find the code below one which is extracted from the water mark block in RTF template.
    <?if:(sum(//g_data[fiscal_period=/asset/p_fiscal_period]/q2_op_plan_ytd))>0?><?( sum(//g_data[fiscal_period=/asset/p_fiscal_period and q1_task_top="Opex"]/q1_cost_plan_ytd) ) div
    *(sum(//g_data[fiscal_period=/asset/p_fiscal_period]/q2_op_plan_ytd) ) ?><?end if?>*
    I wanted to apply if condition to the code after the " div " as if I get any value for q2_op_plan_ytd as zero the it should replace with 1.
    Please help me on this

    Solution found.

  • Complex if statement in rtf template?

    Hello,
    I want to build an if statement in rtf template, the idea is like:
    <?if:address!='' and phone!=''?>
    <?end if?>
    what's the correct way to do it if it is possible? Thanks in advance!
    Shichao

    stevencallan wrote:
    Conditional statements, in the user guide or the report developer guide, depending on the version you use.
    Page 7-62 in the 10.1.3.2 user guide:
    Use an if statement to define a simple condition; for example, if a data field is a specific value.
    1. Insert the following syntax to designate the beginning of the conditional area.
    <?if:condition?>
    2. Insert the following syntax at the end of the conditional area: <?end if?>.
    For example, to set up the Payables Invoice Register to display invoices only when the Supplier name is "Company A", insert the syntax <?if:VENDOR_NAME='COMPANYA'?> before the Supplier field on the template.
    Enter the <?end if?> tag after the invoices table.Thanks for the reply. But what about two conditions in one if statement? That was my question. :)
    Shichao

  • SharePoint Foundation 2013 - Wiki Page Template

    Hi there,
    is there a way to have templates for Wiki pages with SharePoint 2013 Foundation? We have a specific layout and want to have it on every new wiki page.
    Thank you!

    Hi 
    pls check this
    http://mosshowto.blogspot.in/2011/11/custom-template-wiki-foundation_01.html
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/ae453550-8503-4531-b4cf-50a4d157e36c/is-it-possible-to-create-wiki-page-templates-with-sharepoint-2010-foundation?forum=sharepointcustomizationprevious
    Please remember to click 'Mark as Answer' on the answer if it helps you

Maybe you are looking for

  • APP-RG-09518: An error occurred while creating a database link

    Hi All, While creating a database link in Oracle EBS from one instance to another instance for transferring FSG reports Go to Any GL Setup responsibility...Setup>System>Database links > Create new database link Prior to the above...below steps should

  • A question of 9ias webcache

    I have installed 9ias core,i can start http and publish the website .But i can't start webcache.the information ia underside: # ./webcachectl status Oracle Web Cache admin server is NOT running. Oracle Web Cache watchdog is NOT running. Oracle Web Ca

  • IDES ECC 6.0 Service re: installation

    Hi Expert on IDES server, I was trying to re: install my IDES server bcos the initial one crashed on the hard disk. fortunately, it was install from a VMware (external drive). After going through the installation video, I tried to re-instal, it asked

  • Shared Calendar Outlook reminders can not be deleted

    hello i am using an Apple Mac and Outlook 14.3.6 - i opened a shared calendar of a colleague and on my mac outlook and now i seem to get 3 reminders continually popping up, even after i dismissed them, they keep coming back. i have removed the shared

  • In SHARED APPL_TOP

    in shared appl_top where will be the IAS environment file whether it will present in all machines r in single machine only