IE Disregards CENTER Tag

Hello friends,
I have an interesting problem.
I am using DW CS3. I have created a website which seems to be fine. However one page when viewed with IE loses its (centering attributes) - CENTER and appears as a LEFT JUSTIFIED. This is (oddly enough), the only page in five that I did not slice, (Illustrator). Reason; -I had to write some CSS to accommodate an online form.
The other thing I am trying to remedy is the last two navigation buttons; FILE SPECS & F.A.Q. and REQUEST A QUOTE, are losing their CENTER attributes as well. For some reason they are JUSTIFY LEFT. I have been all through the coding and am still stuck. All seems to be fine when viewed with Fire Fox, but for some reason these two issues are occurring with IE.
If anyone can lend a hand or point me toward an area to investigate, I would be very grateful hearing from you.
I have inserted the code below.
Many thanks in advance for your time, effort and any assistance you can offer.
David
CODE_______________________
<html>
<head>
<title>RequestQuote</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.container {
    height: 720px;
    width: 1080px;
    background-image: url(requote.jpg);
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
.email {
    font-family: "Times New Roman";
    font-size: 21px;
    font-style: italic;
    color: #A39161;
    height: 30px;
    width: 308px;
    font-weight: lighter;
    top: 105px;
    position: relative;
    margin-left: 735px;
    text-align: right;
    text-decoration: none;
.elink {
    font-family: "Times New Roman";
    font-size: 20px;
    font-weight: lighter;
    color: #A39161;
    text-decoration: none;
.nav {
    height: 230px;
    width: 195px;
    margin-left: 25px;
    top: 150px;
    position: relative;
.form {
    height: 460px;
    width: 800px;
    margin-right: auto;
    margin-left: 260px;
    font-family: Arial;
    font-size: 14px;
    color: #6D6D6F;
    font-weight: bold;
    position: relative;
.spacer {
    background-color: #00CC33;
    height: 50px;
    width: 100px;
    position: relative;
.home {
    height: 46px;
    width: 173px;
    margin-right: auto;
    margin-left: auto;
.prod {
    height: 46px;
    width: 173px;
    margin-right: auto;
    margin-left: auto;
.grapdes {
    height: 46px;
    width: 173px;
    margin-right: auto;
    margin-left: auto;
.filespecs {
    height: 46px;
    width: 173px;
    margin-right: auto;
    margin-left: auto;
.requote {
    height: 46px;
    width: 173px;
    margin-right: auto;
    margin-left: auto;
.style1 {
    color: #6D6D6F;
    font-family: Arial;
    font-size: 14px;
    font-weight: bold;
-->
</style>
</head>
<body bgcolor="#B7A984" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div class="container">
  <div class="email"><a href="mailto:[email protected]" class="elink"> [email protected]</a></div>
  <div class="nav">
    <div align="center">
      <div class="home"><a href="http://www.expressprintingservice.ca/"><img src="http://www.expressprintingservice.ca/images/homebut.gif" alt="home" width="173" height="46" border="0"></a></div>
      <div class="prod"><a href="http://www.expressprintingservice.ca/prodserv.html"><img src="http://www.expressprintingservice.ca/images/prodserbut.gif" alt="products / services" width="173" height="46" border="0"></a></div>
      <div class="grapdes"><a href="http://www.expressprintingservice.ca/grapdes.html"><img src="http://www.expressprintingservice.ca/images/grapdesbut.gif" alt="graphic design" width="173" height="46" border="0"></a></div>
    </div>
      <div class="filespecs">
        <div align="center"><a href="http://www.expressprintingservice.ca/filespecs.html"><img src="http://www.expressprintingservice.ca/images/filespecbut.gif" alt="file specs / faq" width="173" height="46" border="0"></a></div>
      </div>
      <div class="requote">
        <div align="center"><a href="http://www.expressprintingservice.ca/requote.html"><img src="http://www.expressprintingservice.ca/images/requotebut.gif" alt="request a quote" width="173" height="46" border="0"></a></div>
      </div>
  </div>
  <div class="form"><form name="form1" method="post" action="../../requestquote.php">
      <label for="contactname">Contact Name:</label>
      <input name="contactname" type="text" id="contactname" size="50">
      <label for="phone">Phone:</label>
      <input name="phone" type="text" id="phone" size="30">
      <br>
      <br>
      <label for="companyname">Company Name:</label>
      <input name="companyname" type="text" id="companyname" size="48">
      <label for="fax">Fax:</label>
         <input name="fax" type="text" id="fax" size="30">
         <br>
         <br>
      <label for="email"> Email: </label>
      <input name="email" type="text" id="email" size="59">
         <br>
         <br>
         Please contact me via:
         <input type="radio" name="RadioGroup1" value="Email" id="RadioGroup1">
        Email
        <input type="radio" name="RadioGroup1" value="Phone" id="RadioGroup1">
        Phone
        <input type="radio" name="RadioGroup1" value="Fax" id="RadioGroup1">
Fax<br>
<br>
<label></label>
<label for="contact"></label>
<label></label>
<span class="style1">Product:</span>
<select name="prod2" id="prod2">
  <option selected>Please Choose</option>
  <option>Brochures</option>
  <option>Business Cards</option>
  <option>Cheques</option>
  <option>Envelopes</option>
  <option>Forms</option>
  <option>Flyers</option>
  <option>Labels</option>
  <option>Letterhead</option>
  <option>Memo / Note Pads</option>
  <option>Newsletters</option>
  <option>Post Cards 4 X 6</option>
  <option>Post Cards 5 X 7</option>
  <option>Presentation Folders</option>
  <option>Rack Cards</option>
  <option>Rubber Stamps</option>
  <option>Self-Inking Stamps</option>
  <option>Tickets</option>
  <option>Wedding Invitations</option>
</select>
    <label for="label2" class="style1">Services: </label>
<select name="serv2" id="label2">
   <option selected>Please Choose</option>
   <option>Full Colour Copying</option>
   <option>Black and White Copying</option>
   <option>Receiving Faxes</option>
   <option>Sending Faxes</option>
   <option>Corner Rounding (3/8&quot;)</option>
   <option>Cerlox Binding</option>
   <option>Wiro Binding</option>
</select>
     <label for="label3" class="style1">Other: </label>
  <input name="oth2" type="text" id="label3" value="" size="34">
  <br>
      <br>
      <label for="quantity">Quantity:</label>
      <input name="quantity" type="text" id="quantity" size="56">
      <br>
      <br>
      <label for="sides">Sides:</label>
      <select name="sides" id="sides">
        <option>Please Choose</option>
        <option>Single Sided</option>
        <option>Double Sided</option>
      </select>
      <label for="finishedsize">Finished Size:</label>
      <input name="finishedsize" type="text" id="finishedsize" size="20">
      <label for="inkcol">Ink Colour:</label>
        <select name="inkcol" id="inkcol">
        <option>Please Choose</option>
        <option>Black</option>
        <option>Reflex Blue</option>
        <option>Process Blue</option>
        <option>Ivy Mint Green</option>
        <option>Forest Green</option>
        <option>Red</option>
        <option>Brown</option>
        <option>Burgundy</option>
        <option>PMS</option>
        <option>Full Colour</option>
      </select>
      <br>
      <br>
      <label for="bind">Bindery Needed:</label>
      <input type="text" name="bind" id="bind">
        ex. padded in 50's, folded, scored / perfed, etc.<br>
      <br>
      <label></label>
      <label> Artwork Required:
      <input type="radio" name="RadioGroup2" value="Yes" id="Artwork Required">
      Yes</label>
      <label>
<input type="radio" name="RadioGroup2" value="No" id="Artwork Required2">     
No</label>
      <label for="artwork"><span class="style1">(If artwork is supplied, please indicate program used)</span></label>
      <input name="artwork" type="text" id="artwork" size="22">
      <br>
      <br>
      Additional Information:<br>
      <label for="additinfo"></label>
      <textarea name="additinfo2" id="label" cols="75" rows="2"></textarea>
      <label for="submit"></label>
      <br>
      <input type="submit" name="submit" id="submit" value="Submit">
  </form>
  </div>
</div>
  </div>
</body>
</html>

Hello Murray,
How can I thank you?
My gosh worked like a charm. After studying the code for hours yesterday how coud I have missed that?
You know, I am the sort of person who likes to understand why these little things happen.
I wonder why the devil a DOCTYPE was not automatically generated?
In any case that is a question I will have to research.
Thank you again Murray.
VERY much appreciated indeed!

Similar Messages

  • center /center tag

    Hello All,
    I would like to modify HTML code to show report in middle. I am looking for where I can put <center></center> tag in the APEX.
    Thanks in advance,
    Sam

    Hi Sam,
    You can modify your report template as you like. Remember if you change the template it will reflect in all other pages as it uses the template globally. Go to the edit page, in the right section of the page under the template click on the report template that you want to edit -
    Add
    <center>tag before the following table tag in Before each row section.
    >
    <table cellpadding="0" border="0" cellspacing="0" summary="">
    #TOP_PAGINATION#
    <tr>
    <td><table cellpadding="0" border="0" cellspacing="0" summary="" class="t6standardalternatingrowcolors">
    >
    add
    </center>after Rows section
    Hope this helps,
    Regards,
    M Tajuddin
    web: http://tajuddin.whitepagesbd.com

  • Depreciated "center" tag - alternatives?

    Hi all
    I'm trying to centre three images in a div [thats all three
    images are in
    one div] and it works beautifully using div align=center BUT
    it doesn't
    validate because the center tag is depreciated.
    Do you know how I can centre these images using "legal"
    markup?
    The page in question is www.patriotsarms.co.uk/headerMain.php
    and the images
    are the three icons on the top right.
    The site is a work in progress so be gentle with me
    Thanks
    Judi

    Thanks! Perfect. It works. I didn't realise you could use the
    text-align
    property to align images.....
    Thanks again
    Judi
    "Nancy *ACE*" <[email protected]> wrote in message
    news:e2ogm0$d3f$[email protected]..
    > set the CSS on the div to text-align:center
    >
    >
    > --
    > Nancy Gill
    > Adobe Community Expert
    > BLOG:
    http://www.dmxwishes.com/blog.asp
    > Author: Dreamweaver 8 e-book for the DMX Zone
    > Co-Author: Dreamweaver MX: Instant Troubleshooter
    (August, 2003)
    > Technical Editor: DMX 2004: The Complete Reference, DMX
    2004: A
    > Beginner's
    > Guide, Mastering Macromedia Contribute
    > Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced
    PHP Web
    > Development
    >
    >
    > "Judith Kruger" <[email protected]> wrote in
    message
    > news:e2ofui$c2q$[email protected]..
    >> Hi all
    >>
    >> I'm trying to centre three images in a div [thats
    all three images are in
    >> one div] and it works beautifully using div
    align=center BUT it doesn't
    >> validate because the center tag is depreciated.
    >>
    >> Do you know how I can centre these images using
    "legal" markup?
    >>
    >> The page in question is
    www.patriotsarms.co.uk/headerMain.php and the
    >> images are the three icons on the top right.
    >>
    >> The site is a work in progress so be gentle with me
    >>
    >> Thanks
    >> Judi
    >>
    >
    >

  • How to center flash movie in browser window

    Can anyone explain how to horizontally center my Flash movie in the web browser window after publishing?
    A bit of background:
    I was able to achieve this using <center></center> tags a few years ago. But I have since upgraded to CS5 and I understand that this old method is now obsolete.
    I have found a few threads/forums that address this, but I know nothing about HTML and these threads don't help me because they assume you have more knowledge than I possess. When opening up the index.html file in Dreamweaver I can't find anything that looks vaguely familiar to what is being discussed. I have found some code samples using <div></div> tags but have no idea where to place it.
    So I will need it explained to me in a step by step fashion, including which file I need to fix and what program I should use. Code samples will be very welcome if you can tell me exactly where it goes.
    Thanks in advance...

    Just realized that there is no scrolling functionality with the .swf generated from the new CS5. Can anyone help out by providing revised code for centering and scrolling?
    I found something elsewhere in the forums that worked for both centering and scrolling that worked fine yesterday, but upon visiting my site today for testing, it did not allow the scrolling, and centering did not work in Firefox. Tested both Safari and Firefox on 2 Macs running Snow Leopard.
    Again, much appreciated - nice to visit forums where people are interested in helping instead of screaming at each other. Will visit the Illustrator or Indesign forum to see if I can help out someone there...

  • How to center a button in a sidebar region

    Unfortunately, position options for buttons only include left and right. If I want to center buttons in a sidebar region, how might that be done?
    It's easy in firebug to modify <td align="left"> to <td align="center"> which fixes everything, but I'm not sure how this might be overridden in apex.
    I've attempted putting center tags in the header/footer of the sidebar region and some stylesheet options (I'm a stylesheet beginner so who knows...) but I've not had any luck.
    Thoughts?
    Thanks!
    Paul

    Hi,
    It would depend on the theme that you are using and what else may be contained within the sidebar region.
    For example, in Theme 12 with only buttons in the region, you could add the following into the page's HTML Header setting:
    &lt;style type="text/css"&gt;
    .t12SideBarNav td td {text-align:center}
    &lt;/style&gt;.t12SideBarNav is the class name used for Theme 12's sidebar region and td td refers to a nested TD (table cell) tag within a TD tag within the region (the region, at least for Theme 12, is a table within a table). So, this aligns the contents of the inner TD tag which contains the buttons.
    Andy

  • p tags with attributes not removed from JTextPane

    We are using HTMLEditorKit with JtextPane to create a HTML Document Editor, for our project. [JDK 1.3.1.]
    When we have a simple <p> tag for paragraph in HTML and we start deleting things from end of the document, it works fine. But when we have a <P> tag with attributes like <p align='CENTER'> the delete key deletes the characters but the cursor remains in the line below and doesnot move up as the characters of above para get deleted. The HTML also retains the <p align='CENTER'> tag, which should have been removed. It seems its not able to identify <p> tags with attributes as Html para tags, and so not deleting it.
    How do we solve this without migrating to jdk1.4 ? Please help.

    Usually attributes such as 'align=center' are deleted along with a tag, regardless of whether it is a p tag or another one. But you would have to carefully test what exactly gets deleted because attributes are not only stored with paragraphs. They can exist for single characters and as well come from a style sheet.
    The best is to generate a dump of your document before and after deletion.
    You can use something like the below code (it is not optimized at all and thus could be implemented better but it works) to produce a dump
      public void listElements(Element elem, int indent) {
        int i;
        String is = getIndent(indent);
        String elemName = elem.getName();
        Document elemDoc = elem.getDocument();
        String cont = "";
        String theText = "";
        System.out.println(is + "--start-----");
        System.out.println(is + "Element Name:" + elemName);
        if(elemName.equals(new String("content"))) {
          try {
            theText = elemDoc.getText(
                    elem.getStartOffset(),
                    elem.getEndOffset() - elem.getStartOffset());
            System.out.println(is + "Content: " + theText);
            if(theText.indexOf("\r") > -1) {
              System.out.println(is + " plus \\r");
            if(theText.indexOf("\n") > -1) {
              System.out.println(is + " plus \\n");
          catch (Exception e) {
        listAttributes(elem, indent);
        if(!elem.isLeaf()) {
          for(i=0;i<elem.getElementCount();i++) {
            listElements(elem.getElement(i),indent+2);
        System.out.println(is + "---end----");
      public void listAttributes(Element elem, int indent) {
        Object key;
        String attr;
        String attrName;
        int pos;
        String is = getIndent(indent);
        AttributeSet as = elem.getAttributes();
        Enumeration an = as.getAttributeNames();
        try {
          while(an.hasMoreElements()) {
            key = an.nextElement();
            attrName = key.toString();
            attr = as.getAttribute(key).toString();
            System.out.println(is + "Attribute Name: " +
                      attrName + " Attribute Content: " + attr);
            if(attr.indexOf("\r") > -1) {
              System.out.println(is + " plus \\r");
            if(attr.indexOf("\n") > -1) {
              System.out.println(is + " plus \\n");
        catch (Exception e) {
          e.printStackTrace();
      }Hope that helps
    Ulrich

  • Htaml tags used in Flash 5

    In Flash 5, How can we center the text in dynamic text box with html property selected? I used center tag and also align attribute in font tag, but I couldn't get text in center.

    Try using the paragraph tag to align it.  <p align="center">

  • Title, meta tags for seo, where to put in code..?

    Hi guys
    Im trying to optimise my first ever site and Im doing it in dreamweaver. Ive figured out the title and meta tags are html and was just wondering whereabouts in my html code should I put them...?
    Are they before the body tag..? Are they before my first div tag in the code..?
    Are they in a specific div tag, e.g header div=title tag,  meta tag = main content div....?
    Any help would be great
    Cheers :-)

    I wasnt recommending he use meta-keywords, I was just answering his question. However, my employer has a huge static site with thousands of products and he is always listed in the top 5, if not number one in google searches. His site is all text with one image on each product page with an alt tag. He doesnt have ANY back links whatsoever, but uses page text content, meta-keywords, and meta-descriptions extensively. He doesnt even use heading tags. His site layout is with tables, and he uses deprecated html such as <font> and <center> tags on every page. Of course we have discussed the problems his site is going to encounter eventually with regards to his layout and use of the deprecated tags.
    I'm not saying search engines use meta-keywords, but I have to say what ever he's done has worked very well.
    My point is, I read and read about what search engines use and dont use to rank and index pages, yet I see contradictions everyday to both sides.

  • Doubts about: tag nesting error in Struts project

    Hello, people...
    I'd like to know why this error is happenning... Does someone can help me, please? The code is below:
    *** JSP Page ***
    <%@ taglib uri="struts-html" prefix="html"%>
    <%@ taglib uri="struts-bean" prefix="bean"%>
    <%@ taglib uri="struts-logic" prefix="logic" %>
    <%@ taglib uri="project-tag" prefix="tag"%>
    <html:html>
    <head>
         <title><bean:message key="label.project"/></title>
    </head>
    <body onLoad="window_load();">
    <table border="0" width="100%">
    <tr>
    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
         <tr>
         <td align="right"><!-- Bot?o Voltar --></td>
         </tr>
         <tr class="FonteTituloTela">
         <td><bean:message key="titulo.pesquisarEmpreendimento"/></td>
         </tr>
         </table>
    </td>
    </tr>
    <tr>
    <td>
         <html:form action="/pesquisarEmpreendimentoPopup.do" method="get" onsubmit="return validatePesquisarEmpreendimentoPopupForm(this);">
         <html:hidden property="action" />
         <table width="550">
         <tr>
         <td colspan="3"><bean:message key="titulo.dadosDaPesquisa"/></td>
         </tr>
         <tr>
         <td><bean:message key="label.codigo"/></td>
         <td colspan="2">
         <html:text property="nu_codigo" size="7"/>     
    </tr>
         <tr>
         <td><bean:message key="label.nome"/></td>
         <td colspan="2">
         <html:select property="criterio">
         <html:option value="1"><bean:message key="label.cboIniciando"/></html:option>
         <html:option value="2"><bean:message key="label.cboContendo"/></html:option>
         </html:select>     
         <html:text property="no_municipio" size="40"/>     
         </tr>
    <tr>
         <td>
              <tag:rollover imagemUp="<%=SiwarContext.getContextPath().concat(\"imagem/btn_confirmar_on.gif\")%>" imagemDown="<%=SiwarContext.getContextPath().concat(\"imagem/btn_confirmar_off.gif\")%>" onClick="javascript:document.pesquisarEmpreendimentoPopupForm.submit();"/>
         </td>
         </tr>
    </table>
         </td>
    </tr>
    <tr>
         <td align="center">
              <tag:subir width="500">
         </td>
    </tr>
    </table>
    </html:form>
    </body>
    </html:html>
    *** ActionForm ***
    package jm.action;
    import java.io.IOException;
    import org.apache.struts.action.*;
    import jm.form.PesquisarEmpreendimentoPopupForm;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class PesquisarEmpreendimentoPopupAction extends Action {
    public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
    PesquisarEmpreendimentoPopupForm pesquisarEmpreendimentoPopupForm = (PesquisarEmpreendimentoPopupForm) form;
    // Acessar l?gica de neg?cio
    return mapping.findForward("pesquisarEmpreendimentoPopupFwd");
    *** Form class***
    package br.gov.caixa.siwar.tratarproponentes.form;
    import org.apache.struts.action.*;
    import org.apache.struts.validator.*;
    public class PesquisarEmpreendimentoPopupForm extends ValidatorForm {
         private String nu_codigo;
         private String no_municipio;
         public String getNo_municipio() {
              return no_municipio;
         public String getNu_codigo() {
              return nu_codigo;
         public void setNo_municipio(String no_municipio) {
              this.no_municipio = no_municipio;
         public void setNu_codigo(String nu_codigo) {
              this.nu_codigo = nu_codigo;
    *** Struts-config ***
    <form-beans>
    <form-bean name="pesquisarEmpreendimentoPopupForm" type="jm.form.PesquisarEmpreendimentoPopupForm" />
    </form-beans>
    <action-mappings>
    <action name="pesquisarEmpreendimentoPopupForm" type="jm.action.PesquisarEmpreendimentoPopupAction" path="/pesquisarEmpreendimentoPopup" scope="request" validate="false">
    <forward name="pesquisarEmpreendimentoPopupFwd" path="/jsp/tratarproponentes/PesquisarEmpreendimentoPopup.jsp" />
    </action>
    </action-mappings>
    *** validation ***
    <formset>
    <form name="pesquisarEmpreendimentoPopupForm">
    <field property="nu_codigo" depends="required,maxlength">
         <arg0 key="pesquisarEmpreendimentoPopupForm.nu_codigo"/>
         <var>
         <var-name>maxlength</var-name>
    <var-value>3</var-value>
         </var>
         </field>
         <field property="no_municipio" depends="required,maxlength">
         <arg0 key="pesquisarEmpreendimentoPopupForm.no_municipio"/>
         <var>
         <var-name>maxlength</var-name>
              <var-value>40</var-value>
         </var>
         </field>
    </form>
    </formset>
    Thanks,
    Vanisi Leal

    It's not about whether we can read the code and figure it out. It's about the fact that most of us have better things to do then to take your long bit of code and config files, (which you don't have the decency to put in code tags), read it or set things up to run it just to see what the problem is.
    You say there is a problem, so you must have run it and gotten some error or some unexpected other output, yet you can't be bothered to post that as well? You're title is not an error message that points to anything. If you posted the actual problem then you would get better responses.
    You can stuff your sorry's in a sack!

  • [Solved] Openbox Window Placement not in Center

    In obconf, under Windows, I have:
    √ Focus new windows when they appear
    √ Center new windows when they are placed
    Prefer to place new windows on: The monitor with the mouse
    Primary monitor: Monitor With Mouse Pointer
    But in the corresponding rc.xml, I have
    <placement>
    <policy>Smart</policy>
    <!-- 'Smart' or 'UnderMouse' -->
    <center>yes</center>
    <!-- whether to place windows in the center of the free area found or
    the top left corner -->
    <monitor>Mouse</monitor>
    <!-- with Smart placement on a multi-monitor system, try to place new windows
    on: 'Any' - any monitor, 'Mouse' - where the mouse is, 'Active' - where
    the active window is, 'Primary' - only on the primary monitor -->
    <primaryMonitor>Mouse</primaryMonitor>
    <!-- The monitor where Openbox should place popup dialogs such as the
    focus cycling popup, or the desktop switch popup. It can be an index
    from 1, specifying a particular monitor. Or it can be one of the
    following: 'Mouse' - where the mouse is, or
    'Active' - where the active window is -->
    </placement>
    And the behaviour is this:
    Windows try to get as close to the top left corner as possible without overlapping any other windows. This does sound like what "Smart" policy would refer to, but it is not listening to the <center>yes</center> tag.
    Last edited by jameh0 (2014-03-22 17:59:40)

    drcouzelis wrote:
    drcouzelis wrote:it's not hard to patch, so no problem.
    I just finished patching Openbox to restore the former random window placement behavior. You can find it here: openbox-git-random-placement
    It works but I didn't fully test all scenarios (multi-monitors, different window states, and so on...) so if you find any bugs in my patch or random window placement code please let me know!
    Im having trouble discerning what exactly you mean. I could build your version to find out, but the current openbox-git seems to work exactly this way?
    I have smart placement and center set. When I open a new window on a blank workspace, its placed centered. If I open another, it will be placed in empty space. It will keep placing in empty space until the desktop is completely hidden, and then it will start randomly placing the window.
    I have considered talking to the Openbox devs about possibly implementing the placement algorithm of Fluxbox- Flux will evenly distribute the windows even after the entire screen is filled/covered.
    **EDIT** Do you mean your version starts to random place the moment it cant fit the window in empty space without even partially obscuring an existing window?
    Last edited by GSF1200S (2014-03-27 04:18:56)

  • Can you look at my code?

    Ok, Murray was kind enough to help me but then I managed to
    mangle everything so I'm starting from scratch.
    I work in graphics but not in web design, so html and css are
    fairly new to me. I put together a simple set of images and I
    successfully got them centered, but I want them LEFT aligned within
    the center - so that anytime a user expands their web browser, all
    the images remain left aligned relative to each other but as a
    whole centered in the window (see Yahoo home page for an example of
    everything remaining in the center).
    Right now it's centered but not left aligned within the
    center. When I try to manually (or via Dreamweaver) left align
    within the center, everything winds up flush ALL the way left
    instead of centered, OR, more frustratingly, upon expanding the
    window the lower images pop up to the line above them and to the
    right (this isn't happening right now but would if I were take off
    the centering that's on there now).
    Can anyone help? take a look at my code, maybe?...
    http://presentations.patrickmeyers.com/

    Hmmm.
    For some reason this didn't go over to the web forum when I
    first posted it.
    I'll try again.
    Hello,
    The <center> tag is aligning all within it to center,
    including the images.
    It actually isn't centering the div at all, as the div's
    default width is
    100% of the browser window's width if no width is assigned.
    The center element is deprecated, and sholdn't be used.
    A good way to center the content area is to use CSS to center
    the div that
    your content is in.
    First, in code view, delete the <center> and
    </center> tags.
    Next, add the following CC just before the </head> tag:
    <style type="text/css">
    <!--
    #wrapper {
    width: 792px;
    margin: 0px auto;
    -->
    </style>
    Next, change this:
    <body>
    <div>
    To this:
    <body>
    <div ID="wrapper">
    What does this do?
    We use CSS to center the div that contains your images.
    The CSS you added before </head> says that for any
    element with an ID of
    wrapper, in this case the div, make that element 792px wide
    and center it.
    The "center it" part comes from:
    margin: 0px auto;
    This means give the wrapper div a top and bottom margin of
    0px, and a left
    and right margin of "auto".
    Auto tells the browser to take the width of the browser
    window, and subtract
    the width of the wrapper div (the reason the div was given a
    width).
    Then, take what's left and divide it in two, giving each
    value to the left
    and right margin.
    For example:
    Your browser window is 1000px wide.
    1000px (window) minus 792px (wrapper div) = 208px left over.
    The 208px is
    divided by 2, so the left and right margin of the wrapper div
    are each
    assigned a value of 104px.
    The div is now centered.
    The images will automatically align to the left within the
    wrapper div as
    align left is the default if no alignment is set.
    Next, it's a good idea to use CSS to zero out the body margin
    so different
    browsers don't use their default values.
    In other words, you don't want your content to start at
    different distances
    from the top of the page in different browsers.
    Just add this right before #wrapper:
    body {
    margin: 0px;
    padding 0px;
    Lastly, you don't need the <br> tags.
    The page should now look like this:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    <!--
    body {
    margin: 0px;
    padding: 0px;
    #wrapper {
    width: 792px;
    margin: 0px auto;
    -->
    </style>
    </head>
    <body>
    <div ID="wrapper">
    <img src="banner.jpg" alt="image1" width="792"
    height="336" />
    <img src="click-button-purple.jpg" alt="image2"
    width="180" height="46" />
    <img src="lowerbanner.jpg" alt="image3" width="792"
    height="41" />
    </div>
    </body>
    </html>
    Take care,
    Tim
    "patrickpmm" <[email protected]> wrote in
    message
    news:[email protected]...
    > Ok, Murray was kind enough to help me but then I managed
    to mangle
    > everything
    > so I'm starting from scratch.
    >
    > I work in graphics but not in web design, so html and
    css are fairly new
    > to
    > me. I put together a simple set of images and I
    successfully got them
    > centered,
    > but I want them LEFT aligned within the center - so that
    anytime a user
    > expands
    > their web browser, all the images remain left aligned
    relative to each
    > other
    > but as a whole centered in the window (see Yahoo home
    page for an example
    > of
    > everything remaining in the center).
    >
    > Right now it's centered but not left aligned within the
    center. When I try
    > to
    > manually (or via Dreamweaver) left align within the
    center, everything
    > winds up
    > flush ALL the way left instead of centered, OR, more
    frustratingly, upon
    > expanding the window the lower images pop up to the line
    above them and to
    > the
    > right (this isn't happening right now but would if I
    were take off the
    > centering that's on there now).
    >
    > Can anyone help? take a look at my code, maybe?...
    >
    >
    http://presentations.patrickmeyers.com/
    >

  • How to Print Fields that are Centered on the Label

    Labview 6.1 - Which VI do I call or Attribute do I set to make a String Field "Centered" on its Row on a Zebra Label? I need to specify the String Data, the Font Size and Centered about Position. One Centered field per Row (3 Rows). I am using the NewReport.vi, SetReportOrientation.vi, SetReportFont.vi AppendReportText,vi, PrintReport.vi and DisposeReport.vi

    LabVIEW does support the windows printer driver, I was thrown off by the fact that you said "zebra label." We have a report generation toolkit that will allow you to create more advanced reports and can programatically control microsoft word and excel to create as complex of a document as you desire.
    Our basic report generation toolkit that ships with LabVIEW supports simple reports and layouts. It also allows for HTML reports. You can then append any HTML formatting to the report that you desire (such as the center tag).
    You could also continue to use the standard report by appending spaces to the string you are printing. For example, if you know that your printer is 80 characters wide (using a fixed width font), you can take the size of the string "len" and append (80-len)/2 number of spaces to the string. If you need help doing this, let me know.
    We actually implimented a barcode label printing VI that printed an entire front panel. We created a VI that had an array of controls and we formatted the controls to our desire (one was a centered string). We then used the "print panel vi" in the block diagram. That we we simply wired the inputs to the VI and it printed the front panel to the printer onto the labels (we use this on our large shipments that have more than one item).
    The ActiveX examples that ship with LabVIEW and on our website are very good starting points for creating word reports, but if you are going to use LabVIEW to manipulate Microsoft Word and Excel, I really suggest getting our Report Generation Toolkit for Microsoft Office. The RGT (Report Generation Toolkit) contains a complete set of easy to use VIs to programmatically create and edit Word and Excel documents. The Microsoft Office ActiveX interface is huge, and it is often times hard to find good complete documentation on how to perform certain tasks. The RGT VIs hide all of the ActiveX complexity and really simplify the tasks, but as a developer I really appreciate the fact that the VIs contain all of the ActiveX code on the block diagram so that I can look at them as examples and modify them to my desire. You can find out more about the RGT from ni.com, click on Products, LabVIEW, LabVIEW Addons, LabVIEW Toolsets, LabVIEW Report Generation Toolkit.
    I hope some this gives you an idea you can run with.

  • CRMD_EMAIL - Creation of a mail form - error during import ....

    Dear together,
    we have upgraded our CRM system from 4.0 to 5.0. Now we would like to send newsletters via CRM again. In the release 5.0 the SAP provide a new editor in order to create the template. It is also possible to use an import functionality in order to integrate an existing HTML-file. When I am trying to import an existing file using the import functionality, the CRM integrates the content of the template, but not in same format as the original template. (In our html-file we use “center – tags”, I think, that should be not a problem for the import??)
    In this context I have created an OSS message in order to get a solution for this problem. I have got an answer as follows: “The CRM system doesn't provide such kind of tags”.
    Who can help me in order to solve that problem? Who has experience with the import of existing templates?
    Your help will be appreciated!
    kind regards
    Mathias

    Dear together,
    the problem is solved now. It was a misunderstanding from my side. The "center tag" should not used between two "tr tags".
    kind regards
    Mathias

  • IE 8 cropping one pixel of left side of Flash

    I have a mysterious problem with Flash in Internet Explorer 8.
    We have previously been using the code listed below to center Flash campaign sites on the page. The page did not have any doctype declared (not pretty, I know), but it worked fine across all browsers...
    Then came IE 8. Suddenly 1px of the left side of the Flash/SWF is cropped of. I found that adding a doctype to the page fixed the problem, but that caused the content to no longer center vertically (in some browsers).
    If I replace the Flash with a simple JPG image, it displays correctly - so this is related to the #¤%@ SWF / IE8 combo.
    What are you guys using for centering your sites?
    Some observations
    Without doctype declared:
    Works in Firefox, and IE 7
    IE 8 and IE 8 in compatibility mode crops 1 pixel from left side
    With HTML 4.1 Transitional doctype:
    Is not vertically centered in IE 8 compatibility mode, IE 7 or Firefox
    IE 8 in compatibility crops 1 pixel from left side
    With XHTML 1.0 Transitional doctype:
    Works in IE 8
    Is not vertically centered in IE 8 compatibility mode, IE 7 or Firefox
    The code causing the problem
    (doctypes are left in commented out - just to show which ones I've tested with)
    <!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">-->
    <!--<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">-->
    <!--<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -->
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Volkswagen</title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
    <script type="text/javascript">
    swfobject.registerObject("FastStartFlash", "9.0.0", "FastStartmainSite.swf");
    </script>
    <style type="text/css">
    ================================================
      Yahoo GUI Reset CSS
      http://developer.yahoo.com/yui/reset/
    ================================================
    body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquot e,th,td {
      margin:0;
      padding:0;
    table {
      border-collapse:collapse;
      border-spacing:0;
    fieldset,img {
      border:0;
    address,caption,cite,code,dfn,em,strong,th,var {
      font-style:normal;
      font-weight:normal;
    ol,ul {
      list-style:none;
    caption,th {
      text-align:left;
    h1,h2,h3,h4,h5,h6 {
      font-size:100%;
      font-weight:normal;
    q:before,q:after {
      content:'';
    abbr,acronym { border:0;
    </style>
    </head>
    <body bgcolor="#ffffff" style="margin: 0px; padding: 0px;" onload="initFlashComDebug();">
      <table style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;">
      <tr>
       <td valign="middle" align="center">
        <div style="padding-top: 0px;">
         <object id="FastStartFlash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="952" height="654" align="middle">
          <param name="movie" value="FastStartmainSite.swf" />
            <!--[if !IE]>-->
          <object type="application/x-shockwave-flash" data="FastStartmainSite.swf" width="952" height="654">
          <!--<![endif]-->
          <div>
           <strong>Der er behov for en opdatering af din flash afspiller</strong><br />
           <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&promoi d=BUIGA">Klik her for nyeste version.</a>
          </div>
          <!--[if !IE]>-->
          </object>
          <!--<![endif]-->
         </object>
        </div>
       </td>
      </tr>
      </table>
    </body>
    </html>

    Well, I found MY problem. It was a center tag. I had <center></center> around my Flash movie. So I put it in a table and now it's works. I looked over your code, but I don't see a center tag so maybe this won't help you. You did help me to fix mine so if I can help in any way let me know.
    Update: I noticed that you centered your data cell, maybe you could try centering the whole table.

  • IWeb site blank in IE, but perfect in Chrome, Firefox, Safari

    Hello all,
    I'm sorry, I know this question comes up again and again, but what I have read and attempted doesn't seem to help my website. I just started using iWeb last week and I really enjoy it. I was using Dreamweaver before which is a great program for CSS and HTML editing, but really doesn't compare to the simplicity and speed of designing with a WYSIWYG like iWeb.
    So are there a few big culprits as to why iWeb sites don't display in IE 6,7, or 8? I realize this is pretty much an Internet Explorer problem, but can I fix at least some of the content without doing a ton of hacking to my site?
    I am already fixing one issue using Dreamweaver:
    iWeb: +<?xml version="1.0" encoding="UTF-8"?>+
    instead of: +<xml version="1.0" encoding="UTF-8">+
    ...so I'm not afraid to publish with iWeb, then edit a few things in the HTML/CSS. Can anything be done? It's a fairly simple website: mantheipc.webege.com (ignore text content, needs a lot of revision).
    *Other info:*
    Free hosting via 000webhost.com
    iWeb '08 2.0.4
    OS X 10.5.7
    Dreamweaver CS5
    Uploading via FileZilla
    Tested to work under Firefox, Chrome, and Safari (Mac+PC)
    Tested and failed to load in IE 6,7,8 at http://ipinfo.info/netrenderer/
    Tested and failed to load in IE 6 on XP Laptop
    Thanks a lot for your time,
    Dylan

    Removing the first line of every HTML document permits the site to load in IE.
    <xml version="1.0" encoding="UTF-8">
    To figure out why IE wouldn't display my site, I created a new blank page and added an image, a hyperlink, a text box, and a fancy CSS text box. I also set a background gradient and page color. The page wouldn't display in IE, so I started deleting HTML by hand with a text editor starting with the most likely culprits (in-line CSS, javascript, etc). I was down to an image, hyperlink, bgcolor, and center tags and the site still wouldn't load. Realizing these are the most basic html tags there are, the only thing left that could cause a problem was that first line.
    While I realize this is not at all an ideal solution, it worked. Not only does the site load, but it looks about as good as it does in Firefox and Chrome. No transparency issues or anything! The first line isn't vital to site display, but it does cause the browser to 'guess' what type of encoding the page is in. All of my testing indicated this isn't an issue on my PC or Mac, but I need to try friends and family's PC's too.
    Tested good on:
    IE8, Firefox, and Chrome in Windows 7
    Firefox, Chrome, and Safari in MacOS Leopard
    Thanks again to everyone who read and contributed!
    Dylan

Maybe you are looking for