Trouble with tables - formatting
Is there a way to set up a template for tables within a
project - same size, borders, shading, that kind of thing? Can you
do this in the .css? I am kind of new to using .css, and mine is
pretty basic right now.
thanks, Leisa
See Tables on my site.
Similar Messages
-
I'm having a lot of problems with tables not reflecting their formatting when I open them in a browser. I've tried opening in Safari, Firefox & Camino with the same results. For example, a row with the following html content has a much larger height & aligns the text to the top when opened in a browser:
<tr>
<td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
</td>
</tr>
If it matters, this is a row in a table nested in another table. Here's the code down to the row in question (all tags are closed properly in the remaining code):
<table width="600" border="2" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="top"><img src="images/events.jpg" width="250" height="35"></td>
</tr>
<tr>
<td align="left" valign="top">
<table width="100%" border="0" align="center" cellpadding="1" cellspacing="0">
<tr>
<td height="15" colspan="3" valign="middle"><h6 align="center">Summer 2009</h6>
</td>
</tr>
I am using a style sheet for text. Here's the code for "h6" if that matters:
h6 {
font-family: Verdana, Geneva, Arial;
font-size: 14px;
font-weight: bold;
color: #660099;
Any ideas is appreciated. This is driving me nuts. Spacing and alignment sometimes work and sometimes don't work. Dreamweaver is supposed to make such things easier!
KevinHeader tags are usually used round a bit of text, not parts of a table, and if you don't specify the margins on them, can force different amounts of space below in different browsers. Try making the bottom margin on h6 zero, and confine it to text within a cell.
Also, if you can upload your page somewhere and let us have the url it will be easier to troubleshoot. -
Hello,
i need some help with date formats. I am using JDeveloper 11g and am trying to write some SQL commands.
When i enter the following, everything is working correctly.
ResultSet query = st.executeQuery("select * from DB.TABLE where DATE > '01-01-2000'");
I need to make it work so that date can be used from a jtextarea.
String inputData =jTextArea1.getText();
ResultSet query = st.executeQuery("select * from DB.TABLE where DATE > " +inputData);
Query does not return anything.
Do i need to convert the value of inputData? What other problems could there be?
TY
Edited by: user10956166 on Apr 1, 2009 4:08 AMCorrect. Oracle will implicitly convert the date as shown below (see Predicate Information)
SQL > explain plan for select * from test where modified_date > '01/01/2008 12:00:00';
Explained.
SQL > select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 3461732445
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 677 | 105K| 6 (0)| 00:00:01 |
|* 1 | TABLE ACCESS FULL| TEST | 677 | 105K| 6 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter("MODIFIED_DATE">TO_DATE(' 2008-01-01 12:00:00',
'syyyy-mm-dd hh24:mi:ss'))Don't forget to use parameterized queries (a.k.a. bind variables)!
HTH! -
Java corba ID CS5 7.0 Problem with table format import excel 2007 document
hello,
I want to import an excel 2007 document with a table into a textframe. This is the code to set import preferences:
ExcelImportPreference pref = aplicacion.getExcelImportPreferences();
pref.setTableFormatting(kTableFormattingOptionsExcelFormattedTable.value);
but when I insert the file into de texframe and export in a pdf file i lose the table format, always apply this format: kTableFormattingOptionsExcelUnformattedTabbedText.value.
This problem only happens with excel 2007. Excel 2003 files the import is ok.Apart from iTunes (which I rarely update since we never use it) they both had a Java update, which I'm installing now but I can't imagine that's connected (plus they both didn't have it). Both Macs are 10.6.8.
I also repaired the permissions and cleaned caches on Friday. Today I created a new user/profile and tried the same thing on that. No luck. -
Mif template problem with table formatting
I am trying to create a database driven Framemaker document via MIF. I have a problem trying to get my table formatting to work. The table tags and paragraph tags appear correctly in their respective designers but the values shown for font, shading, etc. are Frame defaults and not from my template unless I click on the tag drop down, reselect the same exact tag name and click apply. Any ideas on where I'm going wrong?
Here is a snippet of the MIF for the main file:
<MIFFile 7.10> # File created on 4/30/2009 3:03:36 PM
include (AFrames.mif)
include (Tbls.mif)
include (template.mif)
<TextFlow
<TFTag `A'>
<TFAutoConnect Yes>
<TFFeather No>
<TFMaxInterLine 3.0 pt>
<TFMaxInterPgf 10.0 pt>
<Para
<PgfTag `Anchor'>
<ParaLine
<ATbl 500>
> # end of ParaLine
> # End of Para
etc.
And here is a sample from the Tbls.mif file:
<Tbls
<Tbl
<TblID 500>
<TblTag `Item Table'>
<TblFormat
<TblWidth 3.50000">
<TblColumn
<TblColumnNum 0>
<TblColumnWidth 0.50000">
>
<TblColumn
<TblColumnNum 1>
<TblColumnWidthP 1>
>
<TblColumn
<TblColumnNum 2>
<TblColumnWidthP 1>
>
<TblColumn
<TblColumnNum 3>
<TblColumnWidth 0.50000">
>
> # End of Format
<TblNumColumns 4>
<TblH
<Row
<Cell
<CellContent
<Para
<PgfTag `Cell Head Left'>
<ParaLine
<String `Item No.'>
etc.The Monkey Butler wrote:
The include statements must appear in this order:
Put the template after the tables and the tables don't read the format.
Actually that does make sense to me (and I hate to say it, I remember now that I ran across this issue a million moons ago when first doing MIF export from a database).
In looking at the MIF includes order, in your first example:
include (AFrames.mif)
include (Tbls.mif)
include (template.mif)
all of the tables are being instantiated before FM has a chance to "analyze" the template section -- so there's no way it can say "aha, this is the FormatA that I already know" so that's why it puts the "star" on the format, indicating that it's an override to the table catalog format (and in fact there's no table format catalog yet, no table format names at all, so it's an "override to nothing" table.
In your successful document, the template includes the format for "FormatA", so when the tbls section comes along FM says "ah, ok, this is an instance of "FormatA" that I know already exists in the table catalog" so assuming there aren't any formatting changes in the instance of the table, it doesn't mark each table instance as a override to the named table format.
"include (aframes.mif)"
"Include (template.mif)"
"include (tbls.mmif)" -
Vlookup-trouble with tables from different sheet?
I have trouble getting vlookup to work properly, especially when I try to name a table from a different sheet. Being a long time excel user I am used to only click on the top left cell in the lookup table and Excel assumes that the entire table is the area you want to look up. How is this supposed to work in Numbers? There is some irony here:
I get a #ref error in Numbers when it looks like everything is OK and I try to copy my formula. It looks like this in the first row: =vlookup(B3;[table name]::$A$!:E506;3;0) but when I drag that downwards I get #ref for the lookup table - unable to see what the trouble might be. So I export the file to Excel, and then open the exported Excel-file with Numbers, and it works... Any suggestions?Hi aarild,
Here's a picture that may help:
Instead of clicking the top left cell of a table as in Excel it works better in Numbers 3.0 to select the entire columns as the range, in my example $Name:$Amount.
Unlike in Excel, generally you're better off structuring your data in tables with a Header Row (and perhaps Header Column) and then body rows with no blank rows beneath them, and perhaps a Footer Row.
That way you can refer to the ranges in your formulas similar to the way you would use named ranges in Excel.
SG -
Trouble with international formats. Converting and storing in database.
Back again!
This time, I've got my app working as it should. I extract strings of information from a file, and store them appropriately in a database. Some of the data I cast to double as they are money values. The problem is this:
I'm storing the data in an access database. I need one of the values to be in European format. That is, using commas for decimal points and vice versa. Eg: $3.20, would become E3,20. (Don't know the shortcut for the Euro symbol).
I can't change swap commas to demimals points and THEN cast to double, because double wants american standard numbers. So how do I, or is there another way, to store the value in the database as:
E3,20 and not E3.20...??? I've changed the type in the access database column to Euro, so I get the Euro symbol...but if I put in a decimal, it stays a decimal.
Any ideas???
Thanks again.
...DJVege...OK! And I'm lost again!!!! :-( Sorry, my bad!
Now, I've formatted the values perfectly in Java. But
unless I keep the type of column in Access as text,
they don't transfer over properly. If I keep them as
number, then only the numbers come over etc...If you have the numbers in Access as number and you can format numbers in Java then what is your problem? Without showing your code I (an most other non-mindreaders) don't have a chance. How are you getting the values form the Access database?
>
Also, do you know the custom format i need to use, so
that, even if I keep the column as text, Thjis does not make sense? I showed you two examples. What do you want in the way for format that they don't give.
it will
stick a � sign in front of it??? I don't understand! Show your code.
I figure, I'll just
stick to the text field, So you want to bodge it and leave the problem to someone else to deal with later on!
but somehow I need to stick
a � sign in front of it for display purposes.I have shown you how to format the numbers! I have suggested that the Euro symbol Unicode can be found using Google (it took me less than 30 seconds). What more can I do other than write the whole of your code for you? -
I'm really new at this but I've been working for days with
little progress. I want to make a page with all my links in a
column down the left and text and pictures one the right. I made a
table with rows on the left for my links and one cell on the right
into which I inserted my text. The text is the equivalent of 2
pages of a Word document. Instead of the table expanding down to
accomodate the text it got really wide so that I have to scroll way
across to read it. I tried setting the width of the table before
importing text. No diffenence. I haven't ticked off "no wrap". I
tried importing a smaller document and that fit in better except
the last cell on the left got really long. Please
HEEEEELLLLP!I posted this is the newsgroup yesterday but it didn't come
over to the forum, so I'll post again here.
Hello,
That's not all the code, I'm afraid, and it is pretty bad.
Is that pasted from a Microsoft Word document by any chance?
That would explain it, if it was.
Anyway, there are a number of paragraphs where there are no
spaces (by space
I mean tapping the spacebar once) between words in code view.
Instead, was used. This is an HTML entity that
means "non-breaking
space".
It looks like a space between words, but it doesn't act like
one.
The "non-breaking" part of it's name is the key.
Whatever created this code used this instead of regular old
spaces (my money
is still on MS Word)
You need regualr old spaces between words in the code for the
line to wrap.
For example, both of these sentences as seen in code view:
<p>This sentence will wrap when it runs out of room
becasue I am actually
using a space between words.</p>
<p>However, this, sentence, where, in, code, view, ", "was, used, will, not.</p>
I cleaned things up a bit, and removed the terribly redundant
and deprecated
code and all the where they weren't needed.
This should help you get started. Just paste this into code
view of a new
page..
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
margin: 10px 0px;
padding: 0;
font-family:Arial, Helvetica, sans-serif;
font-size: 12px;
background-color: #FFFFFF;
p {
margin: 2px 10px;
-->
</style>
</head>
<body>
<table width="780" border="1" align="center"
cellpadding="0"
cellspacing="0">
<tr>
<td width="250" valign="middle"><table width="280"
border="0"
cellpadding="0" cellspacing="0">
<tr>
<td align="center">abcd</td>
</tr>
</table></td>
<td width="100%"><p> </p>
<p><strong>The Kennel:</strong></p>
<p>We are <strong>inspected
yearly</strong> and
<strong>certified</strong> as a
quality<strong> Boarding Facility</strong>,
by the <strong>Humane Societies of
Ontario.</strong></p>
<p> </p>
<p><strong>For medical
emergencies</strong> we always have a local vet
on call:<strong> Rowland Mobile Veterinary Service is
only a short 8 minute
drive away.</strong></p>
<p> </p>
<p>Our boarding facility have <strong>large
spacious pens</strong>
(indoor ; for bigger dogs :<strong> 8 feet x 6
feet</strong>, or for smaller
dogs;<strong> 8 feet X 4 feet</strong> ). There
is a direct outdoor access
from each pen through a floppy door, to <strong>an
individual outdoor
play</strong> and<strong> exercise
area</strong> (size for all pens are
=8feet x 12 feet). The outdoor pens are under roof , so that
your dog is
safely protected from the weather elements.</p>
<p> </p>
<p >We also have<strong> 9 large exercise
yards</strong><em>( 12 feet
by 50 feet !)</em> where the dogs will go out and play
and exercise, for
several hours a day- weather of course permitting. exercising
and playtime
in the yards is<u> included</u> in your primary
boarding package. </p>
<p >Each Indoor pen has comfortable beds for resting.
We use
<strong>Kuranda beds</strong> to ensure your
dog's best comfort.</p>
<hr />
<p><strong><u>Basic
Services</u></strong></p>
<p> The following services are
included in our
<strong><u>basic boarding
package:</u></strong></p>
<p> </p>
<p><strong>feeding : we use 2 types
</strong>of high end quality
<strong>dog-kibble</strong> and one
<strong>canned variety:</strong> </p>
<p> </p>
<p>1)<u> Purina Proplan</u></p>
<p> 2)<u> Peerless</u></p>
<p>3)For the picky eater we also offer <u>Canned
Pal.</u></p>
<p> </p>
<p>You may bring your dog's own food if you do not
wish to impose any
feeding change for your pet. We will feed your dog
<strong>once </strong>or
<strong>twice </strong>a day, whatever schedule
you prefer.</p>
<p> </p></td>
</tr>
</table>
</body>
</html>
Take care,
Tim -
Mac mini firewire vs Mac pro firewire, trouble with medium format digital back
Hi
I'm trying to use a Mac Mini to run a medium format digital back, I have problems with the connection between the digital back and Mac mini dropping out randomly meaning I have to unplug the firewire and restart the back, sometimes restart the software.
Manufacturer says it is due to Mac mini firewire not supplying enough stable power to the back and to use a powered firewire repeater.
I've tried that it hasn't really made much of a difference.
Manufactuer now says the Mac Mini's are just not up to the job they are significantly diferent to the Mac pro range.
Is this correct?
So I can't use a small form factor mac mini to do a single task - tether to a camera and run camera software. Doesn't really seem that big an ask?
thanks in advance.
Nigel.you may think it's a single task, but that's on top of the underlying OS processes. also, i'm assuming that your mini is only running a single hard drive, which means your software is competing against the OS for access to the write heads on your drive. have you confirmed that your system memory isn't generating too many page outs? if you're in activity monitor and you see that count increasing, you need more RAM.
you could also try to install a second hard drive in your mini, and designate that drive as your write target for the camera software.
is this for video, or stills? -
Trouble with Tables and image rollovers
I hope someone might be able to help me. l am
designing a website using tables and was wondering if l can have a
thumbnail image in mutliple cells that can be rollovered to open a
larger images in a common cell without the use of layers. If
someone was to even point me in the right direction using the right
terminology l should be able to find the info l need. Or maybe it's
as simple as letting me know that l must use layers in a cell to
get that result. Thanking you in advance for your help.NEVER use layers directly in a table cell, or any absolutely
positioned
element for that matter.
There are good methods for doing exactly what you want -
posted here on this
forum - search for "show pic"....
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
==================
"Bill Hewitt" <[email protected]> wrote in
message
news:ff59up$kcc$[email protected]..
>
I hope someone might be able to help me. l am
designing a
> website
> using tables and was wondering if l can have a thumbnail
image in mutliple
> cells that can be rollovered to open a larger images in
a common cell
> without
> the use of layers. If someone was to even point me in
the right direction
> using the right terminology l should be able to find the
info l need. Or
> maybe
> it's as simple as letting me know that l must use layers
in a cell to get
> that
> result. Thanking you in advance for your help.
> -
Trouble with table of contents on printed documentation
hello everyone, im pretty new to robohelp and have had no
training what so ever, I am working on an existing project and the
first job i was given struck a problem, I had to add a topic to the
project so i did and i added it to the table of contents but..
now the printed documentation doesnt show it in the document
or in the table of contents can anyone help me, id be ever so
gratefull for a nudge in the right direction so i dont look bad
infront of my boss.
thanks steveWelcome to the forum.
Common problem. When you first create the printed document,
it takes your TOC as the default layout at THAT time. Thereafter it
is quite independant.
So go to the print layout where you see what looks like the
TOC and you can then add the new topic to the print layout.
Sometimes people think this is a bug but it is by design. Not
everyone wants the print layout to be the same as their TOC.
Take a look at my website. There's a comprehensive topic on
printing from RH. -
Sproxy to mail with table format
Hi experts ,
my requirement is sproxy to mail successfully executed in this scenario i wrote one user defined function like combine five fields in message mapping the fields are TransactionID,TransactionDate, CustomerID, TransactionAmount,RefundAmount
UDF code
public void CombineText(String[] var1, String[] var2, String[] var3, String[] var4, String[] var5, ResultList result, Container container) throws StreamTransformationException{
String s = "";
for( int i = 0 ; i < var1.length ; i++)
if ( var1<i> != ResultList.CC)
s = s + var1<i> + " " + var2<i> + " " + var3<i> + " " + var4<i> + " " + var5<i> + "\n" ;
result.addValue( s );
var1 -- TransactionID ,var2 -- TransactionDate var2--CustomerID var3-TransactionAmount var5-RefundAmount
3988765433221899,20110425,BILLDESK3983,11100,11100
4878000000011118,20110429,BILLDE911094,55100,55100
ABCD000111122222,20110424,YJANARDHAN,222300,222300
now i want below structure pattern
TransactionID TransactionDate CustomerID TransactionAmount RefundAmount
3988765433221899 20110425 BILLDESK3983 11100 11100
4878000000011118 20110429 BILLDE911094 55100 55100
ABCD000111122222 20110424 YJANARDHAN 222300 222300
so please kindly provide UDF code or other inputssorry, what is a problem?
please show me nowly your UDF output and your ideal UDF out put.
dont worry, maybe this is not difficlt problem, I think. -
Hi all, I have trouble with the format of files exported by email as .doc from pages - when opened in MS word on a PC or other device, they have extra spaces and pages inserted after each line - can be deleted manually, but defeats sharing purpose. Any advice? Not the most sophisticated user.
Got it. I tried booting with MOD_AUTOLOAD set to yes, and it was working fine. Looks like I needed to specify some more modules in my list.
-
Problem with tables -- need help!
I am having problems with table formatting, when using
Preformatted text. The tables look fine in the WYSIWYG editor, but
have lots of extra space above and below the text when looking at
the output files.
I will attach the code from one of the HTML files from my
project, so you can see what I'm talking about.
Thanks.Well, if you're talking about the single-celled table with
the line:
<p class=Preformatted>[assembly:
Ace.AceAssembly]</p>
</pre>
... you can eliminate the <P> tags. that will give you
one line less. Otherwise, your remaining space is the result of the
<PRE> tag. It, like the <XMP> tag, gives it one line of
space beneath as well.
Your alternative beyond that would be to, when needed, wrap
up the script in Javascript. That line, for instance, wouldn't need
it. -
Scan CSV with SI formated numbers
I have a lot of trace data in CSV format where the frequency is formated as a SI number. I am trying to read that data back in but am having trouble with the formating strings. Please see the attached example.
Attachments:
SI scan from string CSV.vi 10 KBThere does appear to be a problem. Fortunately, there is a relatively simple workaround that scales a bit better than your original, but will use a bit more memory.
I have filed CAR 309897 on the issue so R&D can fix it.
This account is no longer active. Contact ShadesOfGray for current posts and information.
Attachments:
SI scan from string CSV 2.vi 13 KB
Maybe you are looking for
-
SOLAR02 - User exit\customization for team members.
Hi All, In transaction SOLAR02, I want to send mail to a team member every time the project status is changed and also when I add the team member itself. Is there any standard way to do it or do I need to implement a BADI\user exit? And if I need a u
-
Dear Experts, While i create packaging in Handling unit ther is a tab of Additional Data in Sales and distribution.In that we have Item Category - Issue is i am inputing manual item category TAN but i want to pick automatically. I am unable to find
-
Close popup data input window once CREATE button pressed?
Hello, I have a data input form opened as a popup, it contains 2 buttons (CANCEL & CREATE). The cancel button just uses the javascript:window.close(); command and works fine. The CREATE button creates the record correctly but when it tries to close (
-
HT1386 How do I transfer my apps from my old 4s iphone to my new 5?
I backed my old iphone up and transfered my purchases from my old phone to my itunes. Also, when i restored my new iphone from a backup all of my contacts trasnfered. Then all of a sudden some of my contacts have disappeared from my phone.
-
Reinstalling Microsoft Office 2008?
I'm planning to uninstall Microsoft Office 2008 to try out Microsoft 2011. If I don't like Mircrosoft 2011, will I able to reinstall Microsoft 2008? I have the disc for Mircrosoft Office 2008, but I was thinking that installing it from the disc was