Centering a table
Hi,
I have an table in my document. A 5x5 table of some text and numbers. I want to center it (center horizontally) in my text, (with no text to the left and right of the table).
Someone might suggest the Wrap, but that way I have to drag the table, and guess where the true center is. Plus, doing wrap really messes up the line spacing, because to get the spacing correct between the line appearing after the table I have to change the value of "space before paragraph" to some ridiculously large number. Also, when I change the table a little bit, the whole thing gets mixed up, and I have to drag the table again to the right place. So this is not a good solution!
Isn't there just a way of selecting the table, and simply Centering it with respect to the page?
D
Whether you buy iWork now or wait until January depends how patient you are, and how much you want a spreadsheet with it (which is hoped for: but rumours are rumours!). There will be no "upgrade path." Apple provide minor revisions free via Software Update, but anything involving new features you have to buy again. Consider it subscription ware. It's still a bargain at the price: but maybe not, if you're only going to get 6mths for a year's worth. Upgrading every 2nd year is an often recommended option.
On the other side of all that, Keynote is a knockout app. And Pages, once you get the hang of its "inspectors" & etc. is far more competent at handling fine typographic design than Appleworks or Word were ever likely to be. Just now its more mundane Word Processing facilities are short of some "bells and whisltles" but once Version Tracking is included - as, again, is rumoured for iWork 07, nobody's going to care. Once you discover what it can do, and that it has layering and transparency capabilities that make it an entry-level Page design program - without the horrendous learning curve of Quark etc., it's frankly an absolute gem. Its measure lies rather in the quality of what you can produce with it, than in any wish-list of features.
Even with a spreadsheet, it will still be lacking a data-base and drawing app., but given its capacity to handle imported graphics, it still bears promise of becoming a major productivity tool - if more oriented to the individual than corporate use. Personally I think this a good thing, and a fully fledged office suite a white elephant to me. Steve Jobs has called it the replacement for Appleworks - which as yet it is not. But wait and see.
For writing and publishing with graphics capabilities, and sufficient token of those other bits and pieces the private user may occasionally want, it's already the only show in town. How soon you become acquainted with it, and share its growing pains is up to you. But give it a little time and patience, whichever way you go. What seems counter-intuitive or fiddly at first begins to flow quite soon - and even quicker once you forget all about whatever else you've used and take it on its own terms.
But get some decent fonts and source or make fine graphics; and then get to know how Pages can fine-tune them, and I can promise that within a month or so you'll be turning out material that leaves Appleworks or Word in the shade. I used to bet that I can spot a Word document from the other end of a bus. Doesn't matter what you do, they all come out the same.
iWork on the other hand is a creative tool. It's as good as you can be with it.
Cheers.
Similar Messages
-
Centering a table in Word LabWindows
Hello all!
I create a table in Word using Microsoft Word 9.0 Object Library (word2000.fp) and I have a problem with centering a table in document. I have created correctly table but I can't centered a table in my document page. I have tired all possible of ways to center a table but no results. I don't know what I'm doing wrong. Please help on the issue. Below I add a piece of my code written in Labwindows/CVI:
Word_GetProperty (docHandle, NULL, Word_DocumentApplication,
CAVT_OBJHANDLE, &appHandleL);
Word_GetProperty (appHandleL, NULL, Word_ApplicationSelection,
CAVT_OBJHANDLE, &currSelHandleL);
// adding paragraph
Word_SelectionTypeParagraph (currSelHandleL, NULL);
Word_GetProperty (currSelHandleL, NULL, Word_SelectionRange,
CAVT_OBJHANDLE, &rangeHandleL);
// creating a table
Word_GetProperty (docHandle, NULL, Word_DocumentTables, CAVT_OBJHANDLE, &tablesHandleL);
Word_TablesAdd (tablesHandleL, NULL, rangeHandleL, 5, 6,CA_VariantInt(1) ,
CA_VariantInt(0), &tableHandleL );
//Word_TableSelect (tableHandleL, NULL);
// centering a table
Word_GetProperty (currSelHandleL, NULL, Word_SelectionTables, CAVT_OBJHANDLE, &tablesHandleL);
//Word_SetProperty (tablesHandleL, NULL, Word_RowsWrapAroundText, CAVT_BOOL, FALSE);
Word_SetProperty (tablesHandleL, NULL, Word_RowsAlignment, CAVT_LONG,
WordConst_wdAlignRowCenter);
What am I doing wrong? How should be correctly it?
I greet Theodore
Solved!
Go to Solution.Hi Tamás Simon,
My version of CVI and OS what I'm using it's: CVI 8.5 and Windows XP Professional SP3, but ones are alright. I have found solution to my problem. The issue was lying in incorrect use of objects in the called function Word_SetProperty ( ). I used the syntax:
Word_SetProperty (tablesHandleL, NULL, Word_RowsAlignment, CAVT_LONG, WordConst_wdAlignRowCenter);
and it should be as:
Word_SetProperty (WordObjRows, NULL, Word_RowsAlignment, CAVT_LONG, WordConst_wdAlignRowCenter);
The entrie code source to create a table with centering should look like this:
int CVICALLBACK Add_Table (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
WordObj_Columns WordObjColumns;
WordObj_Rows WordObjRows;
WordObj_ParagraphFmt WordObjParagraphsFmt;
WordObj_Paragraphs WordObjParagraphs;
WordObj_Range rangeHandleL;
WordObj_Table tableHandleL;
WordObj_Tables tablesHandleL;
WordObj_Selection currSelHandleL;
WordObj_Application appHandleL;
switch (event)
case EVENT_COMMIT:
Word_GetProperty (docHandle, NULL, Word_DocumentApplication,
CAVT_OBJHANDLE, &appHandleL);
Word_GetProperty (appHandleL, NULL, Word_ApplicationSelection,
CAVT_OBJHANDLE, &currSelHandleL);
// adding paragraph with centering property
Word_GetProperty (docHandle, NULL, Word_DocumentParagraphs,
CAVT_OBJHANDLE, &WordObjParagraphs);
Word_GetProperty (WordObjParagraphs, NULL, Word_SelectionParagraphFormat,
CAVT_OBJHANDLE, &WordObjParagraphsFmt);
Word_SetProperty (WordObjParagraphsFmt, NULL, Word_SelectionParagraphFormat,
CAVT_OBJHANDLE, &WordObjParagraphsFmt);
Word_SetProperty (WordObjParagraphsFmt, NULL, Word_ParagraphFmtAlignment,
CAVT_LONG, WordConst_wdAlignParagraphCenter);
Word_SelectionTypeParagraph (currSelHandleL, NULL);
Word_GetProperty (currSelHandleL, NULL, Word_SelectionRange,
CAVT_OBJHANDLE, &rangeHandleL);
// creating a table
Word_GetProperty (docHandle, NULL, Word_DocumentTables, CAVT_OBJHANDLE, &tablesHandleL);
Word_TablesAdd (tablesHandleL, NULL, rangeHandleL, 5, 6,
CA_VariantInt(1), CA_VariantInt(0), &tableHandleL);
// setting rows and columns size the table
Word_GetProperty (tableHandleL, NULL, Word_TableRows, CAVT_OBJHANDLE,
&WordObjRows);
Word_GetProperty (tableHandleL, NULL, Word_TableColumns,
CAVT_OBJHANDLE, &WordObjColumns);
Word_SetProperty (WordObjRows, NULL, Word_RowsHeight, CAVT_FLOAT, 20.5);
Word_SetProperty (WordObjColumns, NULL, Word_ColumnsPreferredWidth,
CAVT_FLOAT, 40.5);
// centering the table
Word_SetProperty (WordObjRows, NULL, Word_RowsAlignment, CAVT_LONG,
WordConst_wdAlignRowCenter);
break;
return 0;
I added also some table properties, such as size rows and columns, paragraph with centering. I hope that it will be useful to someone.
I would like to thank you for your help and wish you all the best
Theodore85 -
Centering a Table in Pages '09
My document has a small table in the middle of text. The table (the whole thing, not just the cell text) is against the left margin but I want it centered. The Inspector > Metrics has the X and Y grayed out. How can I center the table? Thanks from a Pages newbie.
Hi Dr. Dave
Welcome to the forum.
Objects can be two sorts.
Floating which means they can be freely moved anywhere, but can be disassociated from their text.
In-line which means it is part of the text flow and acts like a rather big letter in the text.
Your table is, I believe, In-line so can be treated like any other text.
If it is on its own line you can choose to centre the text (see Toolbar icons) and the table will be centred.
If it has other text on the same line it can be positioned with tabs and the ruler.
Or you can go:
+Inspector > Wrap > Floating+
Just make sure you have adjusted the word wrap around your object.
Peter -
Centering a table based website.
Hi,
I created a table based website. I want to center everything rather than it being left justified.
I am kinda new to dreamweaver. Here is a rough copy of the site.
http://test.taffyproductions.com/
thanks,
GaryYou need three things to center a page.
1) a valid document type
2) a width in pixels, % or ems
3) margin-left and margin-right set to auto.
Try this. Copy and paste this code into a new HTML document.
<!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=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
body {width: 100%; background:silver}
#wrapper {
width: 900px; /**adjust width as needed**/
margin:0 auto; /**centers on screen**/
text-align: center; /**centers in older browsers**/
background: #FFF;
</style>
</head>
<body>
<div id="wrapper">
<p>Your content goes here</p>
<table width="100%" border="1" cellspacing="3" cellpadding="5">
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
<p>end of #wrapper</p>
</div>
</body>
</html>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Centering a table and why did bullets reappear??
Hi,
I am trying to center a table within my main content. I don't want the text to be centered, I want the table to be centered. Here is the page. http://test.taffyproductions.com/dining.htm
Also, Is there anyway to universally turn off bullets though-out a site? I have put the "text-decoration: none;" on nearly every rule, yet they just keep reappearing!!
Thanks,
GaryYou can center a table the same way you center a div for example. Better doing it via css instead of inline :-)
Give it a width and then margin 0 auto
eg:
#maintable {
width: 500px;
margin: 0 auto;
As for bullets:
ul {
list-style: none;
rest of your styles;
PS: You may want to add a line-height on the <li> on that page, in FFox, the list items are
nearly sitting on top of each other. -
Centered Components (table, picture or java applet)
I'm a beginner using Dreamweaver cs3. I've centered a
background image vertically and horizontally within the page, but
can't seem to get anything else to align with it.
Question: Is there a way to align a table, image, or java
applet vertically as well as horizontally?
Or maybe you've got a better solution for me. Take a look at
this link:
http://www.charbelaflowers.com/index11.html
I'm trying to center the guitar (which uses durius waterpic
applet) exactly in the middle of the wooden background so that even
when the window is resized, it still remains in the middle.
Any help is appreciated!> but can't seem to get anything else to align with it.
Trying to align page content with background images is a
losing proposition.
> Question: Is there a way to align a table, image, or
java applet
> vertically
> as well as horizontally?
In general, most likely not, but it would depend entirely on
your page
layout and its infrastructure.
>which uses durius waterpic applet
I wouldn't touch those with a 10-foot pole. Many people do
not have the
Java engine installed, and would therefore just see an ugly
gray box, or in
my case, a white box with a puzzle icon in it and a link to
download the
applet engine. Plus your page takes a big hit on the weight
of the applet,
not to mention the 232K background image (at least 4 times
heavier than what
should be your total page weight). It's not worth the effort
in my opinion.
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
==================
"tgnylu" <[email protected]> wrote in
message
news:fj0qhd$pfd$[email protected]..
> I'm a beginner using Dreamweaver cs3. I've centered a
background image
> vertically and horizontally within the page, but can't
seem to get
> anything
> else to align with it.
>
>
> Or maybe you've got a better solution for me. Take a
look at this link:
>
http://www.charbelaflowers.com/index11.html
>
> I'm trying to center the guitar (which uses durius
waterpic applet)
> exactly in
> the middle of the wooden background so that even when
the window is
> resized, it
> still remains in the middle.
>
> Any help is appreciated!
> -
Centering a table in updated pages and highlighting
Hello
I recently updated pages and cannot figure out how to center a table? Any suggestions? Using the circle in the upper left hand corner does not seem to work as suggested. Also wondering how to highlight. I see highlight under insert but that is only to highlight while working on the text and does not print out.
Thank youTo get it to move with the text and follow what Peter has described, I believe that Object Placement needs to be set to Move with Text, which sets Text Wrap to Inline with Text.
By clicking to the right of the table, you're selecting the line the table is on. You can then set the text alignment to center and the table will move with the text. -
Dumb question- Once I have completed a table in Pages, how do I center it without having to use the margin buttons in the ruler?
GBH,
Not dumb at all. The solution isn't particularly intuitive. Highlight the table, then click on the Wrap inspector. Click the Floating button. You should now be able to center the table by dragging it.
-Dennis -
Centering a table in a document
I have a fairly simple Pages '09 document, which I am writing. It is all text with one table. I want to center the table horizontally on a page, but for the life of me, I can't figure out how to do it. If anyone knows how to center a table, please let me know.
Arrange > Align > Center
Arrange > Align > Middle
As they are built in menu items, you may give them shortcuts if you need to use them often.
You may also use this script which will trigger the two menu items in a single call.
--[SCRIPT centerfloating_object_inpage]
Enregistrer le script en tant que Script : centerfloating_object_inpage.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
Sélectionner l'objet flottant à centrer
aller au menu Scripts , choisir Pages puis choisir centerfloating_object_inpage
--=====
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
Sous 10.6.x,
aller dans le panneau "Général" du dialogue Préférences de l'Éditeur Applescript
puis cocher la case "Afficher le menu des scripts dans la barre des menus".
--=====
Save the script as a Script: centerfloating_object_inpage.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
Maybe you would have to create the folder Pages and even the folder Applications by yourself.
Select the floating object to center
go to the Scripts Menu, choose Pages, then choose "centerfloating_object_inpage"
--=====
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
Under 10.6.x,
go to the General panel of AppleScript Editor’s Preferences dialog box
and check the “Show Script menu in menu bar” option.
--=====
Yvan KOENIG (VALLAURIS, France)
2010/10/19
--=====
property theApp : "Pages"
--=====
on run
my activateGUIscripting()
my selectSubMenu("Pages", 7, 10, 2) (* Center horizontally *)
my selectSubMenu("Pages", 7, 10, 6) (* Center vertically *)
end run
--=====
on activateGUIscripting()
(* to be sure than GUI scripting will be active *)
tell application "System Events"
if not (UI elements enabled) then set (UI elements enabled) to true
end tell
end activateGUIscripting
--=====
my selectSubMenu("Pages",6, 4, 26)
==== Uses GUIscripting ====
on selectSubMenu(theApp, mt, mi, ms)
tell application theApp
activate
tell application "System Events" to tell process theApp to tell menu bar 1 to ¬
tell menu bar item mt to tell menu 1 to tell menu item mi to tell menu 1 to click menu item ms
end tell -- application theApp
end selectSubMenu
--=====
--[/SCRIPT]
Yvan KOENIG (VALLAURIS, France) mardi 19 octobre 2010 11:16:48
Message was edited by: KOENIG Yvan -
Centering a Flash Gallery made in PS CS3
Hi,
I'm in DW CS3 and I did an automated web gallery (Flash
version) from PS CS3 and put it into DW CS3. You can see the
gallery here:
Flash
Gallery
As you can see, the flash gallery is not quite centered
relative to the table. And believe me, it took me a long time to
get it this close. I'm no coder, much less a CSS expert; I tried
working within the <div> type format, and putting <div
align="center"> into the code. No luck there. And I tried
editing the CSS style from DW's CSS interface (the pencil icon
thing). I found no way of centering it there.
The final method you see here came closer; I selected the
<div> in the design mode and cut and pasted it into a table
and centered it there.
So what have I done wrong so that it is still not centered?
Tables should be a no-brainer.
I appreciate any help on this. Many Thanks,
Frank B.Wade's got it right.
You need to use the Edit menu... not the Image menu.
One will do the selection, the other does the whole picture. -
hi gurus,
i need to find a relation between profit center and G/L account to do same reporting on charges by profit centers.
in table GLPCA i have the fields i need, but i have a question: are all the charges traced in this table (GLPCA) ? in other words are all the vendors invoices present in this table.
Thank you.Only for those entries in which profit center is assigned.
Eg :Say expenses or revenue for which profit center is assigned directly. only the expenses line item(i.e Dr) or revenue line item (i.e CR) alone will be there in GLPCA.
But in BSEG you can find both the entries(Dr & Cr) for the same doc, which you cant find in GLPCA.
Hope you understood.
else revert
Reg
Sujai -
I made a layout in FW. Initially, I placed the Fireworks
table directly into the page, with default table alignment. This
worked in Explorer, as well as Opera, Firefox and Safari.
Then, I centered the table using table alignment. The page
appeared normal IE.
Afterward, I tried using the kaosweaver dynamic images
extension for random image swapping. The page shows up white in IE.
When I remake the page with the extension, but I leave it
left aqlgined, it shows up in IE. What is going on?
By the way, using the body tag to center the page also makes
it disappear.> When I open the page in DW, the table with the text
> does not show up.
look in code view in dw.
see all the yellow highlighted tags?
start here around line 113
<tr>
<th align="center">Time</td>
<th align="center">Game</td>
<th align="center">Host</td>
<th align="center">Locale</td></tr>
change to:
<tr>
<th align="center">Time</th>
<th align="center">Game</th>
<th align="center">Host</th>
<th align="center">Locale</th></tr>
around line 135, same issue. wrong closing tag.
keep going- after fixing the wrong closing tags, click back
in design view,
then look back in code view to find the next set of
improperly closed tags.
Alan
Adobe Community Expert, dreamweaver
http://www.adobe.com/communities/experts/ -
Hi All
I am having a problem with centering this table. It looks good in dreamweaver design view along with the second table below it which you can see the start of. When I goto show in browser it shows the first table to the left and the second table in the center. As you can see the first table is for flash the second table is html.
any ideas?
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="766" height="350" id="3868-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="3868-1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="3868-1.swf" quality="high" bgcolor="#ffffff" width="766" height="350" name="3868-1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
</noscript>
</td>
</tr>
</table>
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">I wish I could but it does not work yet so I have not uploaded it. Here is the page, it has mostly to do with flash stuff and at this point in the day it is a pain.
<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>3868-1</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" type="text/javascript">
<!--
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2008 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
function ControlVersion()
var version;
var axo;
var e;
// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
try {
// version will be set for 7.X or greater players
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
version = axo.GetVariable("$version");
} catch (e) {
if (!version)
try {
// version will be set for 6.X players only
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
// installed player is some revision of 6.0
// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
// so we have to be careful.
// default to the first public version
version = "WIN 6,0,21,0";
// throws if AllowScripAccess does not exist (introduced in 6.0r47)
axo.AllowScriptAccess = "always";
// safe to call for 6.0r47 or greater
version = axo.GetVariable("$version");
} catch (e) {
if (!version)
try {
// version will be set for 4.X or 5.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = axo.GetVariable("$version");
} catch (e) {
if (!version)
try {
// version will be set for 3.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = "WIN 3,0,18,0";
} catch (e) {
if (!version)
try {
// version will be set for 2.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
version = "WIN 2,0,0,11";
} catch (e) {
version = -1;
return version;
// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
// NS/Opera version >= 3 check for Flash plugin in plugin array
var flashVer = -1;
if (navigator.plugins != null && navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
var descArray = flashDescription.split(" ");
var tempArrayMajor = descArray[2].split(".");
var versionMajor = tempArrayMajor[0];
var versionMinor = tempArrayMajor[1];
var versionRevision = descArray[3];
if (versionRevision == "") {
versionRevision = descArray[4];
if (versionRevision[0] == "d") {
versionRevision = versionRevision.substring(1);
} else if (versionRevision[0] == "r") {
versionRevision = versionRevision.substring(1);
if (versionRevision.indexOf("d") > 0) {
versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
// MSN/WebTV 2.6 supports Flash 4
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
// WebTV 2.5 supports Flash 3
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
else if ( isIE && isWin && !isOpera ) {
flashVer = ControlVersion();
return flashVer;
// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
versionStr = GetSwfVer();
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
// Given "WIN 2,0,0,11"
tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
tempString = tempArray[1]; // "2,0,0,11"
versionArray = tempString.split(","); // ['2', '0', '0', '11']
} else {
versionArray = versionStr.split(".");
var versionMajor = versionArray[0];
var versionMinor = versionArray[1];
var versionRevision = versionArray[2];
// is the major.revision >= requested major.revision AND the minor version >= requested minor
if (versionMajor > parseFloat(reqMajorVer)) {
return true;
} else if (versionMajor == parseFloat(reqMajorVer)) {
if (versionMinor > parseFloat(reqMinorVer))
return true;
else if (versionMinor == parseFloat(reqMinorVer)) {
if (versionRevision >= parseFloat(reqRevision))
return true;
return false;
function AC_AddExtension(src, ext)
if (src.indexOf('?') != -1)
return src.replace(/\?/, ext+'?');
else
return src + ext;
function AC_Generateobj(objAttrs, params, embedAttrs)
var str = '';
if (isIE && isWin && !isOpera)
str += '<object ';
for (var i in objAttrs)
str += i + '="' + objAttrs[i] + '" ';
str += '>';
for (var i in params)
str += '<param name="' + i + '" value="' + params[i] + '" /> ';
str += '</object>';
else
str += '<embed ';
for (var i in embedAttrs)
str += i + '="' + embedAttrs[i] + '" ';
str += '> </embed>';
document.write(str);
function AC_FL_RunContent(){
var ret =
AC_GetArgs
( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
function AC_SW_RunContent(){
var ret =
AC_GetArgs
( arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
, null
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
var ret = new Object();
ret.embedAttrs = new Object();
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args[i].toLowerCase();
switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args[i]] = args[i+1];
break;
case "src":
case "movie":
args[i+1] = AC_AddExtension(args[i+1], ext);
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
break;
case "onafterupdate":
case "onbeforeupdate":
case "onblur":
case "oncellchange":
case "onclick":
case "ondblclick":
case "ondrag":
case "ondragend":
case "ondragenter":
case "ondragleave":
case "ondragover":
case "ondrop":
case "onfinish":
case "onfocus":
case "onhelp":
case "onmousedown":
case "onmouseup":
case "onmouseover":
case "onmousemove":
case "onmouseout":
case "onkeypress":
case "onkeydown":
case "onkeyup":
case "onload":
case "onlosecapture":
case "onpropertychange":
case "onreadystatechange":
case "onrowsdelete":
case "onrowenter":
case "onrowexit":
case "onrowsinserted":
case "onstart":
case "onscroll":
case "onbeforeeditfocus":
case "onactivate":
case "onbeforedeactivate":
case "ondeactivate":
case "type":
case "codebase":
case "id":
ret.objAttrs[args[i]] = args[i+1];
break;
case "width":
case "height":
case "align":
case "vspace":
case "hspace":
case "class":
case "title":
case "accesskey":
case "name":
case "tabindex":
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
ret.objAttrs["classid"] = classid;
if (mimeType) ret.embedAttrs["type"] = mimeType;
return ret;
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
99
-->
<!-- saved from url=(0013)about:internet -->
<script language="JavaScript" type="text/javascript">
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
'width', '766',
'height', '350',
'src', '3868-1',
'quality', 'high',
'pluginspage', 'http://www.adobe.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', '3868-1',
'bgcolor', '#ffffff',
'name', '3868-1',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', '3868-1',
'salign', ''
); //end AC code
</script>
<DIV class="sections" id="section3" align="center">
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="766" height="350" id="3868-1" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="3868-1.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="3868-1.swf" quality="high" bgcolor="#ffffff" width="766" height="350" name="3868-1" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
</noscript>
</td>
</tr>
</table>
</DIV>
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="31%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="10">
<tr>
<td width="250" class="px16"><h2 class="gray-text-regular">What We Do</h2></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td align="center"><img src="../image/1456_small.jpg" width="240" height="160"> </td>
</tr>
</table>
<p><span class="body_text"><b>when an unknown printer</b> took a galley of type and scrambled it to make a type specimen book. It has survived not only five cent</span>
<hr>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3"><h2 class="blye2">Archives</h2></td>
</tr>
<tr>
<td colspan="3"><br>
• June 2007<br>
• May 2007<br>
<br></td>
</tr>
</table>
<strong>when an unknown printer took a galley</strong> of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. <br>
<br>
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like). <br>
<br>
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on</td>
</tr>
</table></td>
<td width="69%" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="10">
<tr>
<td colspan="2" class="px16"><h2 class="grey"><span class="gray-text-regular">Few Words Abou</span>t Us </h2></td>
</tr>
<tr>
<td align="center"><IMG SRC="../image/1457_small.jpg" WIDTH=240 HEIGHT=161 ALT=""></td>
<td valign="top"><p><b>Lorem ipsum dolor sit amet, consectetuer <br>
</b>nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.<br>
<br>
• Utwisi enim ad minim <br>
• quis nostrud exerci tati<br>
• consequat. <br>
<br>
Duis autem vel eum iriure dolor in hendrerit <br>
<br>
• <a href="#" class="black2">Read More</a></p></td>
</tr>
<tr>
<td colspan="2"><p><strong>Lorem Ipsum is simply dummy text of the printing </strong>and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since<br>
<hr>
<strong>when an unknown printer took a galley of type</strong> and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
</p>
<br>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td colspan="3" class="px16"><h2 class="redLL"><b>Support</b></h2></td>
</tr>
<tr>
<td width="32%"><a href="#" class="black2">• Demo Request</a></td>
<td width="34%"><a href="#" class="black2">• Downloads</a></td>
<td width="32%"><a href="#" class="black2">• Demo Request</a></td>
</tr>
<tr>
<td width="32%"><a href="#" class="black2">• Help Desk</a></td>
<td><a href="#" class="black2">• Feedback</a></td>
<td width="32%"><a href="#" class="black2">• Help Desk</a></td>
</tr>
<tr>
<td><a href="#" class="black2">• Order Tracking</a></td>
<td><a href="#" class="black2">• Support Forums</a></td>
<td><a href="#" class="black2">• Order Tracking</a></td>
</tr>
</table>
<br>
<p><strong>It is a long established fact that a reader</strong> will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
<p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. </p></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
<table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><table width="100%" border="0" cellspacing="10" cellpadding="0">
<tr>
<td width="31%" align="center">Globe.Co © 2008 | <a href="#" class="blye-text-underline">Privacy policy</a></td>
<td width="69%"> </td>
</tr>
</table></td>
</tr>
</table>
</body>
</html> -
Hello,
Recently a bunch of new cost centers were created which will be used in posting payroll. We are getting an error during posting because there are no entries in table CSSL for the new cost centers and the corresponding activity types. How do we maintain table CSSL? I see that direct maintenance through SE16 is not possible. We also appear to be missing entries in tables COKL, COKA, and COSL.
Thanks,
April Erickson
Edited by: April Erickson on Feb 16, 2009 5:32 PMI asked some of our functional analysts, and it turns out that we don't manually enter anything in KP26. However, we have a custom program which is primarly used to update a custom table linking the cost centers and activity codes. Our custom table had not been updated for the new cost centers yet either. When this custom program finds cost centers in table CSKS that do not have corresponding entries in table CSSL, it runs a BDC of KP26 in the background. This then creates the necessary entries in CSSL, COSL, and COKL. Problem solved!
Thanks,
April -
Layers, tables and Foxfire
I am using Dreamweaver 8 and am having trouble with layers
and tables in Foxfire. For example my page at
http://www.ouachitamaps.com/Eagle%20Rock.html
is fine in IE6. As you can see, I have a table structure and put
layers in them to hold text. In Foxfire, the layers extend below
the bottom of the table. Any suggestion about how to fix this.
Maybe there is another way to get this design without layers, but I
am a novice and this was what I was able to figure out (I am
intimadated by css).Layers or absolutely positioned divs should *never* go inside
a table, hence
all your problems.
There is no need whatsoever for that layout of your page to
be using layers.
Insert the text directly into a table cell, that will contain
your text with
no overflow. You will need to nest some tables, so that the
table doesn't
expand incorrectly however when you insert content into the
left or right
cells.
This is a quick and dirty example. I've given the outer
tables a black
border and centered each table in the browser (personal
preference) Other
styles I've used I wouldn't normally I'd control it by css,
but as you are a
beginner, this should get you started until you learn some
basic css for
yourself. :)
Copy and paste the following code into a new DW window and
you'll see how
I've set it all up. 1 table for the top graphic and a couple
of nested
tables within an outer table for your content area and
another separate
table for footer. I've set each table at 955px wide to
accomodate your
header image... plus a bit extra for padding . No layers in
sight :-)
<!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-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color:#FFFFFF;
/* gives all tables a 1px black border */
.outertable {border: 1px solid black; margin-bottom: 5px;}
table td {padding: 4px;} /* gives some padding to each table
cell */
-->
</style>
</head>
<body>
<table border="0" align="center" cellpadding="0"
cellspacing="0"
class="outertable">
<tr>
<td><a href="/index.html"><img
src="
http://www.ouachitamaps.com/picture_library/Hiking%20Trail%20Banner.jpg"
width="954" height="114" border="0"
/></a></td>
</tr>
</table>
<table width="955" border="0" align="center"
cellpadding="0" cellspacing="0"
class="outertable">
<tr>
<td valign="top"><table border="0" cellpadding="0"
cellspacing="0">
<tr>
<td valign="top"><img
src="
http://www.ouachitamaps.com/picture_library/Eagle%20Rock/Eagle%20Rock%20Map%20East.jpg"
width="300" height="470" vspace="5" />
<img
src="
http://www.ouachitamaps.com/picture_library/Eagle%20Rock/Eagle%20Rock%20Map%20West.jpg"
width="300" height="470" vspace="5" />
<p>More pictures in this cell</p></td>
</tr>
</table></td>
<td width="100%" valign="top"><table width="100%"
border="0" align="center"
cellpadding="0" cellspacing="0">
<tr>
<td><h1>Eagle Rock Loop
</h1>
<p>A 26.8 mile loop through the Ouachita Mountains of
Arkansas made up of
three trail, the Little Missouri, Athens-Big Fork and Viles
Branch Trail.
</p>
<p><strong>The Maps: </strong>The Eagle
Rock Loop is comprised of two maps,
east and west. They are nominal 1:24,000 based on USGS 7.5
minute
quadrangle topographic maps and printed in color on 11x17,
"Rite in the
Rain all weather writing paper. The loop was mapped
with a WAAS enabled
GPS and is drawn in three colors to designate the three
trails. Also shown
is the Winding Stair scenic area and Eagle Rock Vista. Other
features
include trailheads, segment mileage, general directions to
park, waypoints
and waypoint coordinates. </p>
<p><strong>The Hike:</strong> The Eagle
Rock Loop just may be the best hike
in the Ouachita Mountains, combining rugged hill climbs
though the mixed
hardwood and pine forest with strolls along crystal clear
streams. The loop
is made of three trails and, with 5 trailheads, offers a
multitude of hiking
options. The hardwoods in this section of the Ouachita
National Forest are
oak with some maple. The pines are short leaf and loblolly.
In the winter
the smaller but evergreen holly trees are a striking contrast
to the gray
brown of the forest floor.</p>
<p>This trip starts near the north end of the Highway
369 at the Albert Pike
Recreation Area. The recreation area has a campground and
showers ($10
without utilities) and makes a good place to camp if you come
in late after
work and want an early start. Follow the Little Missouri
Trail (white
blazes) north along the Little Missouri River. The trail is
fairly level
but crosses the river three times and two significant
tributaries making it
impassible when the water is high. Call the ranger station if
there has
been heavy rains or take note of the water level when you
cross the bridge
at Albert Pike. </p>
<p>Rest of the text content in this cell</p>
<p> </p>
<p> </p></td>
</tr>
</table></td>
<td valign="top"><table height="259" border="0"
cellpadding="0"
cellspacing="0">
<tr>
<td><a href="/picture_library/Eagle Rock/Eagle Rock
GE W View
Page.html"><img src="
http://www.ouachitamaps.com/picture_library/Eagle
Rock/Eagle Rock GE W View sm.jpg" width="200" height="93"
vspace="5"
border="0" /></a>
<a href="/picture_library/Eagle Rock/Eagle Rock GE E View
Page.html"><img
src="
http://www.ouachitamaps.com/picture_library/Eagle%20Rock/Eagle%20Rock%20GE%20E%20View%20sm .jpg"
width="200" height="116" vspace="5" border="0"
/></a>
<img
src="
http://www.ouachitamaps.com/picture_library/Eagle%20Rock/Eagle%20Rock%20Little%20Mo%202074 .jpg"
width="200" height="150" vspace="5" />
<img
src="
http://www.ouachitamaps.com/picture_library/Eagle%20Rock/Eagle%20Rock%20Little%20Mo%20Fall s%202082.jpg"
width="200" height="150" vspace="5" />
<img
src="
http://www.ouachitamaps.com/picture_library/Eagle%20Rock/Eagle%20Rock%20Vista%202034.jpg"
width="200" height="150" vspace="5" />
<p>more pictures in this cell</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p></td>
</tr>
</table>
<p> </p>
<p> </p></td>
</tr>
</table>
<table width="955" border="0" align="center"
cellpadding="0" cellspacing="2"
class="outertable">
<tr>
<td align="center"><p><span
class="style4">Weatherproof Topographic Maps at
OuachitaMaps.com - Hiking Trails of the Ouachitas and
Ozarks</span><br />
<strong>Featured Topographic Maps in Oklahoma and
Arkansas</strong> <br />
<strong>Ouachita Trail Loops: </strong><a
href="/Horsethief.html">Billy
Creek Trail</a> - <a
href="/Boardstand.html">Boardstand Trail</a> - <a
href="/Holson.html">Holson Valley Loop</a> - <a
href="/Horsethief.html">Horse Thief Springs
Trail</a> - <a
href="/Boardstand.html">Old Military Road Trail</a>
- <a
href="/TalimenaBo.html">Talimena-Bohannon
Loop</a><br />
<strong>Other Ouachita Hikes: </strong><a
href="/Beech Creek.html">Beech
Creek Trail</a> - <a href="/Buckeye.html">Buckeye
Trail</a> - <a
href="/Caney Area.html">Caney Creek Area</a> - <a
href="/Buckeye.html">Caney
Creek Trail</a> - <a href="/Eagle
Rock.html">Eagle Rock Loop</a><br />
<strong>Selected Ozark Hikes: </strong><a
href="/Butterfield.html">Butterfield Trail (Devils
Den)</a> - <a
href="/White Rock.html">White Rock-Shores Lake
Loop</a> </p>
<a
href="/index.html"><strong>Home</strong></a></td>
</tr>
</table>
<p> </p>
<p> </p>
</body>
</html>
Nadia
Adobe® Community Expert : Dreamweaver
CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
~ Customisation Service Available ~
http://www.csstemplates.com.au
Maybe you are looking for
-
How do you print just an image from a page on MacBook Pro Safari
I have just changed from windows to MacBook Pro and am trying to print just an image from a document. On windows ....easy just click on image and print. Not with MacBook pro, I have to print whole document. Cannot find any way to print just the ph
-
"Buying on behalf" get an error
Hi, When I'm using the "shop on behalf" procedure, I get the following error after I add an item to the shopping cart: "Business Partner does not exist" message number R1 201. Any idea? Than you, Joseph
-
Limitations to a Lookup Property Table
I am relatively new to Hyperion DRM. I have a question regarding any limitations to a lookup property table. How many members or rows can a look up table contain. I have a need to cross reference our sku numbers to a platform. The first thing that ca
-
Internet Sales Rep (ISR) Analytics Error
HI, Can any one point me to the right direction as to where to look for an error I am getting in Internet Sales Rep business package. when i launch the ISR and click on Anlytics, I dont see anything in the screen. first of all, what does the Analytic
-
Open a browser window from flash actionscript 2 in safari or firefox
I am having a problem. I found the actionscript 2 code to open a browser window, but it is not working in Safari, or Firefox. I found an old action script 1 file version 5 for the flash player that works just fine, but I am using 8 and actionscript 2