Text Align problem

I clicked the text menu and then I clicked on align. I
highlighted the text and the bar but I tried to center the text on
the bar but it doesn't work correctly. Can anybody help me?
http://server6.theimagehosting.com/image.php?img=fireworks.cd6.gif[L=picture

bobau wrote:
> I clicked the text menu and then I clicked on align. I
highlighted the text and
> the bar but I tried to center the text on the bar but it
doesn't work
> correctly. Can anybody help me?
>
>
http://server6.theimagehosting.com/image.php?img=fireworks.cd6.gif
Is that a button you created in the button editor? You need
to center
align it in the button editor. If not, then select the button
shape
first, then the text, and finally choose Modify > Align
> center
Vertical, and Modify > Align > Horizontal. If you are
using the Align
panel, select the button shape and click on the Anchors
button. Press
shift ans select the text. Click in the align center and
vertical
buttons.
Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
http://www.projectseven.com
Fireworks Newsgroup:
news://forums.projectseven.com/fireworks/
CSS Newsgroup: news://forums.projectseven.com/css/
Design Aid Kits:
http://www.webdevbiz.com/pwf/index.cfm

Similar Messages

  • Table Cell Renderer Text Alignment Problem

    Hallo !
    I got a JTable with cells containing text and icons. I would like to have the icon on the top and the text on the bottom, but the renderer aligns always the text on the right of the icon.
    I made a custom renderer extending DefaultTableCellRenderer and there i wrote setVerticalTextPosition(BOTTOM);, but it does'nt work in any way (i tried in many ways. I also used html for the text, but it's the same).
    More exactly the code is
    public class MyRenderer extends DefaultTableCellRenderer{
    public java.awt.Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected,boolean hasFocus,int row,int column) {
            super.getTableCellRendererComponent(table,""/*value*/,isSelected,hasFocus,row,column);
    FieldRenderer renderedValue=(FieldRenderer)value;
    //setHorizontalAlignment(CENTER);
    //setVerticalAlignment(CENTER);
    setVerticalTextPosition(BOTTOM);
    setText(renderedValue.getRepresentation());
    setToolTipText(renderedValue.getRepresentation());
    setIcon(renderedValue.getIcon());
            return this;
    }where FieldRenderer is an object containing icon, text, etc.
    Can anyone help ?
    Thanks in advance, Massimo
    }

    Setting a renderer for first column:
    assetTable.getColumnModel().getColumn(1).setRenderer(tableRenderer);Your custom renderer must honor the selection color and border or otherwise the first column will not look selected. You should subclass DefaultTableCellRenderer:
    public class AssesTableRenderer extends DefaultTableCellRenderer  {
      public Component getTableCellRendererComponent(...) {
        // default renderer uses a label
        JLabel label = (JLabel)super.getTableCellRendererComponent(...);
        // decide icon to use
        Icon icon = ...;
        label.setIcon(icon);
       return label;
    }

  • TEXT ALIGN PROBLEM UNORDERED LIST SPRY PANEL

    When a sentence is too long for its container it breaks to the line below
    In a vertical unordered list with square bullets how do I get the word below
    to line up with its parent sentence above? just like in this sentence. Reference below.

    We would need to see your CSS & HTML code.
    My guess is that you removed default settings (margins & padding) from your unordered lists -- perhaps with a reset CSS.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Text alignment "Justify" is not aligned in Crystal Viewer.

    Hi,
    I am having a text field in report like paragraph format in Detail section and I have setting the text alignment as u201CJustifyu201D. If I launch the report through dhtml viewer the text is not aligned in justify format, it is getting aligned as left alignment, but it is working properly while exporting to PDF and Design Preview panel.
    This problem is occurs in Crystal Report XI Release 2 and Crystal Report 2008 also.
    This has been already posted and the link is Text Alignment - Justification Problem
    Please help me to overcome this issue.
    Thanks in Advance.

    With CR 2008, make sure you are on SP4:
    SP4
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    SP4 MSI
    https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
    SP4 MSM
    https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
    If that does not help, please provide a link to screen shots of the issue.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • JTable text alignment issues when using JPanel as custom TableCellRenderer

    Hi there,
    I'm having some difficulty with text alignment/border issues when using a custom TableCellRenderer. I'm using a JPanel with GroupLayout (although I've also tried others like FlowLayout), and I can't seem to get label text within the JPanel to align properly with the other cells in the table. The text inside my 'panel' cell is shifted downward. If I use the code from the DefaultTableCellRenderer to set the border when the cell receives focus, the problem gets worse as the text shifts when the new border is applied to the panel upon cell selection. Here's an SSCCE to demonstrate:
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.EventQueue;
    import javax.swing.GroupLayout;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTable;
    import javax.swing.border.Border;
    import javax.swing.table.TableCellRenderer;
    import javax.swing.table.TableColumn;
    import sun.swing.DefaultLookup;
    public class TableCellPanelTest extends JFrame {
      private class PanelRenderer extends JPanel implements TableCellRenderer {
        private JLabel label = new JLabel();
        public PanelRenderer() {
          GroupLayout layout = new GroupLayout(this);
          layout.setHorizontalGroup(layout.createParallelGroup().addComponent(label));
          layout.setVerticalGroup(layout.createParallelGroup().addComponent(label));
          setLayout(layout);
        public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
          if (isSelected) {
            setBackground(table.getSelectionBackground());
          } else {
            setBackground(table.getBackground());
          // Border section taken from DefaultTableCellRenderer
          if (hasFocus) {
            Border border = null;
            if (isSelected) {
              border = DefaultLookup.getBorder(this, ui, "Table.focusSelectedCellHighlightBorder");
            if (border == null) {
              border = DefaultLookup.getBorder(this, ui, "Table.focusCellHighlightBorder");
            setBorder(border);
            if (!isSelected && table.isCellEditable(row, column)) {
              Color col;
              col = DefaultLookup.getColor(this, ui, "Table.focusCellForeground");
              if (col != null) {
                super.setForeground(col);
              col = DefaultLookup.getColor(this, ui, "Table.focusCellBackground");
              if (col != null) {
                super.setBackground(col);
          } else {
            setBorder(null /*getNoFocusBorder()*/);
          // Set up our label
          label.setText(value.toString());
          label.setFont(table.getFont());
          return this;
      public TableCellPanelTest() {
        JTable table = new JTable(new Integer[][]{{1, 2, 3}, {4, 5, 6}}, new String[]{"A", "B", "C"});
        // set up a custom renderer on the first column
        TableColumn firstColumn = table.getColumnModel().getColumn(0);
        firstColumn.setCellRenderer(new PanelRenderer());
        getContentPane().add(table);
        pack();
      public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
          public void run() {
            new TableCellPanelTest().setVisible(true);
    }There are basically two problems:
    1) When first run, the text in the custom renderer column is shifted downward slightly.
    2) Once a cell in the column is selected, it shifts down even farther.
    I'd really appreciate any help in figuring out what's up!
    Thanks!

    1) LayoutManagers need to take the border into account so the label is placed at (1,1) while labels just start at (0,0) of the cell rect. Also the layout manager tend not to shrink component below their minimum size. Setting the labels minimum size to (0,0) seems to get the same effect in your example. Doing the same for maximum size helps if you set the row height for the JTable larger. Easier might be to use BorderLayout which ignores min/max for center (and min/max height for west/east, etc).
    2) DefaultTableCellRenderer uses a 1px border if the UI no focus border is null, you don't.
    3) Include a setDefaultCloseOperation is a SSCCE please. I think I've got a hunderd test programs running now :P.

  • Hyphenation & text-align:justify in PDF's with CFDOCUMENT

    Hello everybody!
    We are using CF8.1 and are having problems of generating well designed PDF outputs with CFDOCUMENT. We would like to print out reports, which are hyphenated and have the text aligned. Example:
    This works fine:
    <html lang="en">
    <STYLE>p { width:260px;background-color:blue;-moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto;  -hyphens: auto;text-align:justify}</STYLE>
    <P>Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer</P>
    </html>
    This won't:
    <CFDOCUMENT FORMAT="PDF">
    <html lang="en">
          <STYLE>p { width:260px;background-color:blue;-moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto;  -hyphens: auto;text-align:justify}</STYLE>
          <P>Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer</P>
    </html>
    </CFDOCUMENT>
    Do you have any solutions on this topics? Are do I have to wait until CF11.
    Thanks in advance
    Matthias

    4tun8mom wrote:
    Now, the problem is that, while the client likes this, they don't like that the headers and footers are grayed out and the colors are not as vibrant in Word as the program part I created and saved as a PDF.
    They're being a bit impractical in their complaints, in fact they remind me of my Dad!  The final product is still fine.
    4tun8mom wrote:
    They also don't like that if we keep this as a Word document, all the text is editable.
    That's fair enough, the solution would be to make the text in the header and footer an image instead.
    4tun8mom wrote:
    So my question is, can I create a PDF that has the same features with the expandable text control boxes.  If I can, would you recommend InDesign to do this?
    No you can't.  I'm pretty sure you can't create a PDF with expandable boxes and I'm very sure that you can't create a PDF that will add pages with headers and footrs.  However you can create a PDF with basic fillable text boxes, they're called forms and you need Acrobat as well to do it, google it and you'll find plenty of info.

  • JDeveloper 10.1.3.4: text-align for table column has no effect

    Hi,
    I am using JDeveloper 10.1.3.4. In a tabe I have a column that displays numbers, which are left-aligned by default:
    Applied
    $50.00
    $2,160.00
    $50.00
    $2,260.00I want to have them aligned to the right to look neater:
    Applied
             $50.00
          $2,160.00
             $50.00
          $2,260.00Or better still, have the cell with the longest string aligned to the center, and all the other cells align to it by the decimal point:
        Applied
          $50.00
       $2,160.00
          $50.00
       $2,260.00I looked in the property inspector and the only thing that looks closest to the purpose is text-align. I set this attribute to right (text-align:right) for the column, and for the outputText, but neither has effect. Everything is still flush to the left. How to get it right?
    Thanks!
    Newman

    Hi, Branislav,
    Nice meeting you again.
    Last time the question was about formatting the total amount returned from the method, from String to Number, Re: JDeveloper does not handle expert SQL, cannot add query clause in view link, which can also format the number as currency.
    This time, your answer again solved my problem. I was looking in the inline styling section, and did not notice this property in the General section. Thank you so much for your help!
    Newman

  • Sync Text alignment in HTMLEditor and a PDF generated using FOP

    Hi,
    How to sync text alignment in HTMLEditor and a PDF generated using FOP ?
    I tried setting the dimensions of HTMLEditor and PDF in pixels by calculating the size in Pixels for A4 paper size with a particular dpi value.
    Have done the font settings as well. The problem is I see uneven line cuts in the PDF as compared to HTMLEditor.
    Thanks.

    It's not a realistic expectation. You are expecting the PDF produced by whoever provided your FOP implementation to observe exactly the same typographical rules as HTMLEditor. Basically it won't, and there is no way to enforce it. Line breaking/hyphenation/word spacing algorithms can be of great complexity. You are expecting two systems that aren't specified to agree, to agree.

  • Funny align problem....

    Link to online page : http://www.episodesoft.com/demo/index_fr.html
    Hello.
    I have a funny probleme dealing with alignment when you must have a webpage that can resize itself depending of the screen resolution. i know i am not a pro, but this is kindra funny...
    The basic setting is 1024x768, up to 1920x1080. my probleme is that i want the content (text) to always fit with the logo "logiciel episode" and currently it is working only with the 1024x768. The arm of the lady is cut on purpose in this format.
    I've try to put a margin-left in the CSS here, but when you do that, it fix the log/content fitting, but the text itself go over the lady ( yes the lady and the content are separate file for futur edition purpose). Now because the arm of the lady appear only when you are in a higher resolution that 1024x768, the table itself is larger than what is require by the 1024x768 size, thus messing thing.
    I cannot modifie the header either because the header as you see is not a single color that you can put in backgroup in the CSS. i had to make a file of 2000 pixelx95 for that.
    Does anyone know a way to fix or force the content and the lady something about 30-40 px from the left border of the cell in the table ?... when i try to type that directly in the code, nothing happen at all.
    Also please take note that the actual content will be in html, and not a Jpg ( however the background of the table will be a png ). this is still a demo.
    i am a little puzzled here.
    Since you cannot open the file, i copy here the whole code ( there is some part that are desactivated, dont mind it )
    Any help will be welcome.
    Thanks
    <!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>Logiciel Épisode</title>
    <style type="text/css">
    <!--
    #bottom {
    background-color: #FFFFFF;
    background-repeat:no-repeat;
    background-position: bottom;
    background-image: url(images/barre_bottom.png);
    height: 5px;
    #headinner  {
    background-position: center top;
    margin-top: 0px;
    margin-bottom: 0px;
    background-color: #F5F6F7;
    background-repeat: no-repeat;
    height: 95px;
    background-image: url(images/HeaderFR.png);
    body {
    background-color: #ffffff;
    margin-top: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-left: auto;
    background-image: url(images/fond.png);
    text-align: center;
    background-position: center;
    #Copyright {
    text-align: center;
    margin-bottom: 1px;
    margin-top: 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
    #layer2 #Layer2 tr td p {
    text-align: center;
    font-size: 36px;
    <!-- margin-left: 30px;
    -->}
    -->
    </style>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body>
    <div id="headinner">
    </div>
    <!--<div id="layer1" style="position:absolute; left:50%; margin-left:-475px; top:70px; width:950px; height:580px; z-index:2">
    <table width="950" border="0" align="center" >
      <tr>
        <td align="center" valign="middle">
        <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="950" height="580">
          <param name="movie" value="Video/Menu.swf" />
          <param name="wmode" value="transparent">
          <param name="quality" value="high" />
          <param name="wmode" value="transparent" />
          <param name="swfversion" value="6.0.65.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <param name="embed" value="wmode=&quot;transparent&quot;" />
          <param name="selectable" value="false" />
          <param name="border" value="0" />
          <param name="embed" value="border=&quot;0&quot;" />
         <object type="application/x-shockwave-flash" data="Video/Menu.swf" width="950" height="580">
            <param name="quality" value="high" />
            <param name="wmode" value="transparent" />
            <param name="swfversion" value="6.0.65.0" />
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <param name="embed" value="wmode=&quot;transparent&quot;" />
            <param name="selectable" value="false" />
            <param name="border" value="0" />
            <param name="embed" value="border=&quot;0&quot;" />
            <div>
              <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
              <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
          </object>
          </object>
        </td>
      </tr>
    </table>
    </div> -->
    <div id="layer2">
    <table border="0" align="center" id="Layer2" name="Layer2">
      <tr>
        <td background="images/accueil_fond.png" width="1035" height="485" aling="right" ><img src="images/accueil2_3.png" width="950" height="485" align="left" valign="middle"/></a></td>
      </tr>
    </table>
    </div>
    <div id="bottom">
    </div>
    <p id="Copyright">© 2010 - Logiciel Episode Inc.</p>
    <table width="10" border="0" align="center">
      <tr>
        <td align="center" valign="middle"><a href="index_us.html" target="_self">English</a></td>
        <td align="center" valign="middle"><a href="index_fr.html" target="_self">Francais</a></td>
    <!--
        <td align="center" valign="middle"><p><a href="index_us.html" target="_self"><img src="images/Drapeau_US.png" width="25" height="15" border="0" align="absmiddle" /></a></p></td>
        <td align="center" valign="middle"><a href="index_fr.html" target="_self"><img src="images/Drapeau_fr.png" width="25" height="15" border="0" align="absmiddle" /></a></td>
    -->  </tr>
    </table>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>

    Building a "liquid" page layout for sizes rranging from 1024 to 1920 is going to give you problems if you expect your container's text content to remain fixed as the page (and the container) expands to fit the screen, in order to match a background picture.
    It's a little like building a house with movable walls but expecting the flooring and furniture and plumbing and wiring and windows to change sizes and location exaclty right every time you decide to slide a wall in or out.
    It can theoretically be done, but it's waaaaaaaaaayyyyyyyyyy more work than anyone would reasonably want to do.
    Better off to build a fixed container with a background image that fits.
    If you really want a fluid container, stick to adding text directly to a header image and leave that in a fixed position at the top of the page so no matter how big a visitor's screen is it will always look right, even if the page expands to 2048 X 1536 or larger.

  • Alignment problems in IE

    Hi,
    I have an issue with text alignment in only some cells of a
    table in Dreamwever CS4.
    I made the table with the first two columns centred, third
    column left justified and remaining 6 columns centred.
    It all appeared fine, but at some point when I saved the file
    I realised that a few of the cells in 3 of the columns had changed
    text alignment. Weird thing is they have not changed to left or
    right etc, but are about 4 characters to left of centre.
    I tried selecting the columns and using the css style to make
    them centred again, but it does not work and these cells remain out
    of alignment.
    I looked at it it Firefox and Google Chrome and it looked
    fine anyway...but in Internet Explorer...the problem I see in the
    dreamweaver design view is also happening in the browser.
    Also..the radio buttons in the first two columns are centred
    and aligned vertically in the design view ...look fine in other
    browsers, but in IE the the radio butttons are "offset" by one
    vertical line space.
    I am not great with code, but have attached it to the
    message.
    So...first can anyone tell me why is this happening in the
    design view and how I can fix it...and could I be lucky enough that
    it would then work in IE or is that too much to hope?
    Thanks for checking out the post.
    Lani

    Hi,
    I have an issue with text alignment in only some cells of a
    table in Dreamwever CS4.
    I made the table with the first two columns centred, third
    column left justified and remaining 6 columns centred.
    It all appeared fine, but at some point when I saved the file
    I realised that a few of the cells in 3 of the columns had changed
    text alignment. Weird thing is they have not changed to left or
    right etc, but are about 4 characters to left of centre.
    I tried selecting the columns and using the css style to make
    them centred again, but it does not work and these cells remain out
    of alignment.
    I looked at it it Firefox and Google Chrome and it looked
    fine anyway...but in Internet Explorer...the problem I see in the
    dreamweaver design view is also happening in the browser.
    Also..the radio buttons in the first two columns are centred
    and aligned vertically in the design view ...look fine in other
    browsers, but in IE the the radio butttons are "offset" by one
    vertical line space.
    I am not great with code, but have attached it to the
    message.
    So...first can anyone tell me why is this happening in the
    design view and how I can fix it...and could I be lucky enough that
    it would then work in IE or is that too much to hope?
    Thanks for checking out the post.
    Lani

  • TableView: column header text alignment?

    How can I change the text alignment of a TableView column caption/header? I'd like some of my column headers to be right aligned for example?
    It works for regular table cells when I change f.i. the css of the custom DataFX MoneyTableCell cell:
    .money-cell {
       -fx-alignment: TOP_RIGHT;
    }but it won't work for the ".table-view .column-header" style of the standard TableView:
    .table-view .column-header,
    .table-view .filler,
    .table-view .column-drag-header {
        -fx-alignment: TOP_RIGHT;
    }

    Just after raising this I realised the problem is that the text is a label on top of the header. You can right align by using the following selector:
    .table-view .column-header .label {
        -fx-alignment: TOP_RIGHT;
    }

  • Text Align ignores whitespaces

    Hi.
    I have a problem with text align in text field.
    Let's say that I have a text field with htmlText:
    "Text example          "
    - when I set align for this text field like this:
    var _format:TextFormat = new TextFormat();
    _format.align= TextFormatAlign.CENTER;
    text_field.setTextFormat(_format);
    - it ignores whitespaces at the end of the line.
    Same thing for TextFormatAlign.RIGHT.
    Can I change this behavior using new text layout framework?

    I don't think you can. TLF ignores trailing spaces when aligning text as well. And the decisions for where a glyph appears on a line are in the Player - not our actionscript code - so there isn't a way to override this in TLF.

  • Horizontal Spry Submenu Alignment Problems

    I am experiencing a massive emotional low with not being able to figure this problem out.
    I have incorporated a Spry menu in the site I'm building, but I'm having trouble getting the
    drop down submenu to align properly in Firefox/ Chrome AND IE8
    What seems to be the heart of the problem is the CSS for the Spry class "ul.MenuBarHorizontal ul.MenuBarSubmenuVisible"
    By default, it's set to this:
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    If I leave it like this, the submenus drop down where I want them to (upon rollover) - with the left edge
    of the submenu aligned with the parent button (ul li item). However this only works properly in Chrome / Firefox.
    If I use IE8 to look at the site. The submenus drop down such that the left edge of submenu aligns
    with the the center of the partent button (ul li item) upon rollover.
    I can get IE to overcome this alignment issue by adding "position:relative" to the CSS for "ul.MenuBarHorizontal ul.MenuBarSubmenuVisible"
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    position:relative
    After making this addition, IE8 works fine, and the submenus align to the left. But now, if I browse in Chrome
    or Firefox, the 1px border of the submenus do not appear on the left, right and bottom edges. It's only there
    for the top edge???!!!??
    It seems that the property listed below gets compromised and does not work if I add the "position:relative" attribute
    to "ul.MenuBarHorizontal ul.MenuBarSubmenuVisible"
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #CCC;
    If anyone can offer and explanation to this I would be hugely appreciative.
    Thanks so much,
    Hosanna_Bizarre

    Please find the html and css attached.
    Yes, I have used text-align: center on the main menu.
    Like I say, adding position:relative to the css for "ul.MenuBarHorizontal ul.MenuBarSubmenuVisible"
    fixes the problem for IE and it displays left justified submenu items underneath a center-aligned
    main menu button.
    Problem is the submenu borders do not display properly any more for Chrome / Firefox.
    Thanks
    H

  • Table (css) text align in ff

    does anybody know of an issue where setting a table class
    with text-align attributes won't center the text of the table in
    firefox?
    I can force it to center by adjusting the align attribute in
    the <table> tag, but i have a several tables that i would
    like to keep control of in my stylesheet... i found a similar
    situation on a forum through google, but ended just suggesting to
    wrap it in a <div align="center">... Of course i can just set
    the table attributes, but i figured i'd check with y'all
    first...

    > oh! i see, that all makes sense now... hence the "root"
    in root relative
    > :)
    To quote Homer, "d'oh".
    > while we're on the subject, is there a preferred file
    extension for ssi?
    The parent file must be named with an shtm(l) extension IF
    you are using
    HTML/ASP includes, and IF your host has not enabled
    server-parsing for all
    files. If you are using PHP includes, then the parent file is
    names with a
    *.php extension, and so on (for CF/JSP/.Net).
    The file being included can have any filename extension you
    prefer - I like
    *.monkeybutt myself, but that's just me.
    > because when i
    > saved them as .html, dw added all the doctype and head
    markup...
    > or is the problem in a setting in dw?
    I don't think this is what you did. DW doesn't add that when
    you save, it
    adds that when you create the file. I usually create a plain
    text file,
    copy and paste the code to be included, and then (depending
    on the code
    type) save it with an appropriate extension (notwithstanding
    my penchant for
    monkeybutt), so that the code is properly colored by DW.
    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
    ==================
    "m0piqsutjjqv4du" <[email protected]> wrote
    in message
    news:ejn1qm$6dh$[email protected]..
    > oh! i see, that all makes sense now... hence the "root"
    in root relative
    > :)
    >
    > while we're on the subject, is there a preferred file
    extension for ssi?
    > i've been using .txt (which DW is obviously not managing
    links) because
    > when i
    > saved them as .html, dw added all the doctype and head
    markup...
    > or is the problem in a setting in dw?
    >

  • Text layout problem

    I apologize for the plethora of stupid questions I am about to ask - I am brand new to dreamweaver and atempting to design a very simple website layout for myself. My most glaring problem is this: I wish for text to be in the centre of the webpage and I wish it to stay there. I have drawn an apDiv in the centre of the page and added my text. As you most likely have guessed, as soon as I rezise my browser the background floats under the text.
    How can I fix the text so it moves with the browser and stays in the centre?
    thanks everyone. here is my code thus far.
    ~L
    <!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>home</title>
    <style type="text/css">
    <!--
    body {
    background-repeat: no-repeat;
    background-image: url(webpageB.jpg);
    background-position: center;
    background-attachment: fixed;
    #text {
    left:369px;
    top:283px;
    width:260px;
    height:132px;
    z-index:1;
    margin-top: 270px;
    margin-left: 360px;
    clip: rect(auto,auto,auto,auto);
    -->
    </style></head>
    <body bgcolor="#666666">
    <div id="text">
      <div align="center">
        <p>lukas peters photography</p>
    </div>
    </div>
    <p>                                                                   </p>
    <p>                      </p>
    </body>
    </html>

    1) To horizontally center your web site, use default CSS positioning (which is no positioning at all). APDivs cannot be centered.
    2) Define a container width in pixels, ems or percentages.
    3) Add margin-left and margin-right of auto (browser default).
    CSS:
    body {
    width: 900px;
    background: #666 url(webpageB.jpg) no-repeat center fixed;
    margin: 0 auto; /**centers on screen**/
    text-align: center; /**centers older browsers**/
    #text {
    background: #FFF;
    color: #000;
    width: 300px;
    margin: 0 auto;
    HTML:
    <body>
    <div id="text">
    <h1>Heading 1</h1>
    <h2>Heading 2</h2>
    <p>Your text goes here</p>
    </div>   <!--end of #text-->
    </body>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

Maybe you are looking for

  • -108 error while exporting a movie

    Hello, when i export a project from iMovie (quality is Full HD 1080p) i got a error "error -108 iMemFullErr or memFullErr: Not enough room in heap zone" got 90 gb free on my harddisk. does anyone know whats the problem with that? greedings

  • Issue with patch 8.1.3 deployment

    He have Acrobat 8 standard deployed from an administrative image on the server. It was at version 8.1.2. I patched the image with the 8.1.3 update (AcrobatUpd813_all_incr.msp). Everything went smoothly. I deployed the updated image to our systems, an

  • Pls help- in eAM- PM

    hi all, How to delete a SET name in EAM- Preventive Maintenence. To avoid duplications the SET names needs to be deleted. Pls help Thanks Dinesh

  • Question about DataService and Assembler

    I know that in order to use a DataService you need an Assembler and an ActionScript class which is a mirror of the Java objects the Assembler will be working with. My question is, can the same Assembler work with two or more different Java objects???

  • Gmail on Lumia 710

    How do I read my Gmail Emails without synchronizing the Gmail contacts to my phone? I added my Gmail account to my phone by settings>email+accounts>add an account. But it synchronises the Gmail contacts to my phones people/contacts list, which I don'