Table and cell borders

I'm using CS4. I set up a table style in my style sheet that
calls for a 2 px wide orange border. The border only outlines the
entire table but not the individual cells. Does anyone know how I
can fix that in the style sheet?
The URL is
http://www.virginiacpac.org/pages/conference.html
Thanks,

Sure,
Your table has a class of table_border, so your CSS is saying
give the table
a border that's 2px solid and orange:
.table_border {
border: 2px solid #E2832F;
padding: 2px;
That results in a border around the table only.
You wanted to give the cells in the table the border, so this
CSS...
.table_border td {
border: 2px solid #E2832F;
padding: 2px;
...says to give every cell (td) that is inside an element
with the class of
table_border (your table) an orange border.
Now, because each cell has a border of 2px, adjacent cells
appear to have a
4px border.
Applying border-collapse:collapse to the table takes care of
this.
.table_border {
border-collapse:collapse;
http://www.w3schools.com/Css/pr_tab_border-collapse.asp
Take care,
Tim
"dlipscombe" <[email protected]> wrote in
message
news:giephl$hll$[email protected]..
> That did it. Can you tell me why?
>
>

Similar Messages

  • I prepare chronologies in word, and i am trying to do the same in pages using tables and cells. But somtimes i need a cell to wrap onto the next page but I can't work out how to do it - any suggestions would be greatly appreciated

    I prepare chronologies in word, and I am trying to do the same in pages using tables and cells. But sometimes I need a cell to wrap onto the next page because the contents are bigger than the page or the space left on the page,  but I can't work out how to do it - any suggestions would be greatly appreciated

    brendanfromsydney wrote:
    What are the different opinions on why pages should not achieve this?
    As far as I know, Apple is free to choose to offer this or that feature.
    They never said that they want to clone Word or even compete with it.
    Differences between tables in both worlds are numerous.
    In Pages (or Numbers)
    - we can't sort a single column
    - we can't sort by row
    - we can't insert or remove a single cell
    - a cell can't cross pages boundaries
    If I understand well these design choices match :
    ++-+-+-+-+-+-+-+-++
    Apple Human Interface Guidelines:
    Apply the 80 Percent Solution
    During the design process, if you discover problems with your product design, you might consider applying the 80 percent solution‚ that is, designing your software to meet the needs of at least 80 percent of your users. This type of design typically favors simpler, more elegant approaches to problems.
    If you try to design for the 20 percent of your target audience who are power users, your design may not be usable by the other 80 percent of users. Even though that smaller group of power users is likely to have good ideas for features, the majority of your user base may not think in the same way. Involving a broad range of users in your design process can help you find the 80 percent solution.
    +-+-+-+-+-+-+-+-+-++
    Yvan KOENIG (VALLAURIS, France) jeudi 9 juin 2011 16:03:52
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Is there a way to reference just a sheet (not table and cell)

    I want to have a profile overview sheet tat will draw from individual profile sheets. Is there a way to set up a cell with which table and cell to draw from, but then make it draw the sheet name from a different cell. That way I can fill in the sheet name in the appropriate cell, and all the other cells would automatically draw from the appropriate sheet.
    Any tips or advise would be appreciated.

    =IFERROR(INDIRECT(A1 & " :: Table 1 :: A2"),"")
    or
    =IF(A1="","",INDIRECT(A1 & " :: Table 1 :: A2"))
    The first will capture errors caused by A1 being blank and errors caused by A1 specifying a non-existent sheet (i.e., typos). The second one prevents errors caused by A1 being blank but will still give an error if you specify a non-existent sheet..

  • Tables and Cells - can all corners and cells be rounded?

         I need to recreate a form and it requires a lot of round "cubes" thoughout.  If these were squares, I would be doing this creating tables and cells but because most everything in it seems to have rounded corners, thats making me question the best way of going about this.  Is this possible somehow?

    Another way to do it would be to add anchored objects inside your table to mimic the rounded corners as shown in the following screen capture.
    The first exemple is relatively easy, needing only one object per cell, except for the top row and the left column which need nothing.
    The second one is more difficult, especially for the surroundings which needs more than one anchored object (especially the last cell which inherited five of them).
    But both of these are still tables and can be adjusted as needed in width and height.
    This could prove usable if you can trust the people doing the editing inside the table and this doesn't mess with the printing.
    (the inspiration for abusing tables and anchored objects in this way comes from Michael Murphy).
    emmanuel

  • Tables and cells

    Hello
    I am presently working on a 350 pages report with 6 different tables that are used often.
    These tables have all the same width but different columns.
    I made different styles of table, cells paragraphs and everything is fine, my only problem is that by default all the columns are equal and I have to manually adjust the width of every table.
    Is it possible to give columns a value in the style sheet that will be applied automatically to every tables ?
    I found nothing in the style sheet permitting me to do this
    Thank You

    Thank you very much for your quick reply.
    Bonne journée (have a nice day)!
    Sonia
    Le 2012-05-31 à 09:26, Peter Spier a écrit :
    Re: Tables and cells
    created by Peter Spier in InDesign - View the full discussion
    Unfortunately you've discovered an ugly truth about tables and styles in ID. Perhaps saving a blank table as a snippet would work?
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4453804#4453804
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4453804#4453804. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in InDesign by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Sonia Robitaille  >  Graphiste
    Téléphone : 418 266-0707 poste 236  -  Télécopieur : 418 266-0717
    Graphiscan  >  L’imprimeur qui fait sa part pour l’environnement !
    www.graphiscan.com

  • Tables and cells in Pages for iPad

    I am using Pages for iPad. I am writing in a table and when I write a large content in a cell, it desappears on the bottom of the page.
    Is there any way to make the cell to split automatically when it reaches the bottom of the page?
    Thank you for your answers.

    You could send your need to Apple and maybe they will add it.
    Send feedback/suggestions to Apple.
    http://www.apple.com/feedback/ipad.html
    Also, I read that Microsoft may soon provide and Office version for Apple's iDevices.
    Also, look at the Rccharles answer on this post.
    https://discussions.apple.com/thread/5812929?tstart=0
     Cheers, Tom

  • Problems w/Tables and Cells

    Unfortunately I am still using EW and have run into a problem I can't seem to get a grip on. Thus I have several tables w/n tables.
    Problem is that tables/cells do not seem to have their usual borders. At this place on web page,
    Ad Could Go Here - $300.00 / Month, if I change alignment from left to center and back, all the cells below this one changes accordingly. After that, no change using table/cell properties will get them to act independently of one another.
    In order to fix like it was originally, I have to use the undo button. Not sure when this started happening but it did not start out this way.
    Web page is http://www.bladencountytimes.com/agriculture.html.
    krp

    Your table cells are styles with a mix of inline HTML attributes (e.g.: valign="top"), inine styles (e.g.: style="width: 20%; text-align: center"), and references to auto styles defined elsewhere on the page (e.g.: class="auto-style7"). 
    You have a table inside a cell, and the table itself has styling.
    How each cell looks depends on the combinations of all of those.
    You didn't post a link to two pages we could compare (or even to one containing "Ad could go here"), so I have no idea what you did that caused a result you didn't expect, but I will point out that you need to know all of the styles applied,
    and how they combine (which one wins if they conflict) to know what to expect from a change you are making.
    With the individual per-cell styling you are using, the easiest way to make changes is to look in the HTML view and make them by hand.

  • Dreamweaver CS3 - layout tables and cells

    I just installed the new Studio CS3 on my Mac , and I have
    been trying to layout a new html page in Dreamweaver. I can draw
    tables, but not cells! I check the Dreamveaver CS3 help "About
    Layout Mode" thinking that this may be one of the functions that
    have changed in the new version, but apparently it has not. Also, I
    can not resize the div tags by draging the edges.
    Can anyone help me with some advise?
    Thank you.

    tfraga wrote:
    > Can anyone help me with some advise?
    Layout Mode has been removed from the Insert bar because it
    produces
    such poor quality code. The best advice to you is to learn
    the basics of
    HTML and CSS. You'll then find Dreamweaver a lot easier to
    use.
    David Powers, Adobe Community Expert
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How can I export table and cell styles to use in another InDesign document?

    I've been looking…and looking but can't find out how to export table styles within InDesign CC. If there is a load table styles option within the panel, it stands to reason there should be an export. Any help would be appreciated, thanks.

    Frank,   John's solution is it.    But that also requires that you have those old files easily on hand to access.  Maybe even searching for them in the future, 3 months down the road, could be a pain.   You can always save a Library for that file and drag some of those styled elements into that library.   Save the library in a place that you will keep access to and readily pull assets from.   In the future doc open that library and drag the styled element into your new document and the styles are now in the new doc to reuse.   I have a library saved just for tables.

  • Should tables and cells be pixel based or percentage.

    Anyway, my question is, when I make my table pixel based, and test in the browser, they seem to be very controlled like I want. However, when I make the percentage based, they seem to stretch the tables away from each other and the webpage is stretched out to far and I didn't design them that way.
    I am not going about this correctly? I'm using GL 6.
    I'm following instructions in lynda.com and I don't know if the tutorials are up to date enough since things change a lot.
    I don't know if the rules of html change that much over time.
    Any way I don't know if I'm going about this correctly.
    Any help would be appreciated.
    TIA,
    Bob

    Ok here's the code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
    <meta name="generator" content="Adobe GoLive 6">
    <title>Welcome to Robert Kimball art gallery</title>
    <link href="styles_main.css" rel="stylesheet" media="screen">
    </head>
    <body bgcolor="black" text="#ffcc33" link="#cccc33" vlink="#cc6600" alink="#cc9966" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
    <tr height="130">
    <td align="center" valign="top" nowrap height="130">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#666633" height="130">
    <tr>
    <td align="center" valign="top"><img src="images/smart_objects/top_logo.gif" alt="" width="900" height="130" usemap="#top_logo348b62b" border="0"></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td align="center" valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="right" width="44%"><object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="416" width="400">
    <param name="loop" value="true">
    <param name="src" value="multimedia/WebsiteSlideshow3.mov">
    <param name="autoplay" value="true">
    <param name="controller" value="true">
    <embed height="416" pluginspage="http://www.apple.com/quicktime/download/" src="multimedia/WebsiteSlideshow3.mov" type="video/quicktime" width="400" controller="true" autoplay="true" loop="true">
    </object></td>
    <td align="left" valign="top"><font color="white"><span class="largeV">Robert Kimball Fine Art.</span></font>
    <p><font color="white"><span class="largeV">Robert Kimball was born in Maryland, lived in New York, Hawaii and has lived in Southern Nevada for the last 30 years. He creates oil paintings mostly in oils or acrylics. His drawings are mostly created with charcoals, graphite pencil or pen and ink. His subjects are usually landscapes, still life paintings and life drawings. </span></font></p>
    <p><font color="white"><span class="largeV">After working for years in the commercial arts which included vehicle graphics, and textile painting, he finally decided to pursue a lifelong dream to make fine art full time. He has been selling his art on-line for about the last 6 years and has sold over 1500 paintings and drawings. His artwork has sold to many collectors throughout the world. </span></font></p>
    <p><font color="white"><span class="largeV">Click the arrow button below to go to the gallery.</span></font></p>
    </td>
    <td width="122"></td>
    </tr>
    <tr height="50">
    <td colspan="3" height="50"></td>
    </tr>
    </table>
    </td>
    </tr>
    <tr height="60">
    <td align="center" valign="middle" height="60">
    <table width="100%" border="1" cellspacing="2" cellpadding="0" height="60">
    <tr>
    <td align="center" valign="top" nowrap bgcolor="#666645"><font face="Verdana,Arial,Helvetica,Sans-serif"><span class="largeV"><b><a href="index.html">Home</a> |<a href="gallery.html"> Gallery</a> | <a href="videos.html">Videos</a> | <a href="journal.html">Journal</a> |<a href="about.html"> About</a> |<a href="contact.html"> Contact</a> | <a href="site_map.html">Site Map<br>
    </a></b></span></font>
    <p><span class="standardV"><font face="Verdana,Arial,Helvetica,Sans-serif">Content and Images on this website are the property of robertkimballfineart.com. Unauthorized use is prohibited</font>.</span></p>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    <map name="top_logo348b62b"><area shape="rect" coords="512,77,603,114" href="site_map.html" alt=""><area shape="rect" coords="418,78,503,113" href="contact.html" alt=""><area shape="rect" coords="343,78,412,112" href="about.html" alt=""><area shape="rect" coords="255,79,337,114" href="journal.html" alt=""><area shape="rect" coords="178,78,249,114" href="videos.html" alt=""><area shape="rect" coords="94,79,169,116" href="gallery.html" alt=""><area shape="rect" coords="15,80,87,117" href="index.html" alt=""></map>
    <p></p>
    </html>

  • How do you have the bottom stroke of a table show up using Table Styles and Cell Styles only?

    I am using InDesign CS6, and I want to create a Table Style that has the bottom stroke show up, but does not have a table border, such as:
    However, whenever I try to change the Table or Cell strokes so that the last stroke shows up, I get the entire table border, or some strange combination of borders:
    Does anyone have any insight on how I can get the bottom stroke to show up while preserving my other stroke properties? Since I work with long documents, it's necessary to be able to control all of my tables through Table Styles and Cell Styles, and not by manually changing each and every table with the Stroke palette.
    For reference, here are the my current Table Style properties and the resulting table:

    Michael Murphy is the InDesign style-meister. He wrote "Adobe InDesign Styles" for Adobe Press, and did a great Lynda.com title on InDesign styling. Here's what he says in the book:
    "As mentioned at the beginning of this chapter, with all the power of table and cell styles, it is important to understand not only how they work and what they can do for you, but also to understand their limitations.
    "Two formatting features missing in table and cell styles have already been discussed: You will always have to set the column width and row height of cells when applying a table style for the first time, and you will always have to convert body rows to header and/or footer rows every time you apply a table style for first time or update the table's data....
    "But there's another kind of limitation that's important to keep in mind as you are designing tables: It is very easy to design a table that cannot be completely defined by a table style. In many cases, you'll need to define an extra cell style or two that lets you complete for formatting. [my emphasis]."
    So I think that's what you have to do: Apply another cell style on top of the cells at the bottom of the table after applying the table style.

  • Table layout w.r.t other tables and text while inserting/deleting rows.

    I have 3 tables in a single page. One is left aligned and other two are right aligned. Then there is some text below the tables. 
    Now when I delete some rows from Table-1 the left aligned one, the Table 2 and text shift up filling the space below Table1.
    Now I don't want the text/table to shift up/down when I add/delete rows from Table1 i.e Table1  should expand/contract in the empty space below it.
    Now If I do the same thing for Table3 (Right aligned one) i.e add/delete rows there is no effect on text as shown :
    All 3 tables are same and have exact positioning and other properties.
    Please suggest any solution as I would be populating the table through word automation service (interop).

    Another approach would be to use nested tables, with your 'outer' table having two columns and the inner tables going into different columns. You can hide the outer table's cell borders so its presence is less apparent. If the Outer table has auto row
    height, it will adjust to accommodate whatever row addition/deletion you do to the inner tables. The only proviso is that the inner tables shouldn't have 'around' text wrapping. The two rhs tables can go into the same cell - all they need is a separating paragraph.
    With this layout, the text will always remain below the outer table.
    Cheers
    Paul Edstein
    [MS MVP - Word]

  • Tables and conditional tags

    I am having trouble displaying a table after I apply
    conditional tags. The error does not occur until after I apply tags
    to hide rows. It does not occur if I'm hiding just text within a
    cell. I am not applying the tags to the table, just content and
    then just a row of cells.
    I have tested this and if I'm tagging only the content within
    the cell the table maintains the width of the cell and table.
    However, when I apply tags to hide a whole row, the table and cells
    shrink to 1/4 of the size.
    I am using RH7. I have used tags in previous versions and
    have not run across this problem before.
    Does anyone have any idea why applying tags to hide a row is
    creating this issue?
    Cindy

    It seems like the conditional tags in tables does not work
    for me via WYSIWYG. When I selected the row, regardless of whether
    it was highlighting the cell from top left to lower right or from
    selecting the whole row from hovering on the left til the arrow
    appeared, the row tag (<TR>) was not not being picked up,
    only the cells (<TD>) therefore, only each individual cell
    was getting the conditional tag versus the whole row.
    So when the output was selected, the table didn't know what
    to do because it looked like it was condensing the row to
    0...meaning it saw a row with no columns. It got confused because
    it looked like I wanted the columns to be hidden in one view, but
    not the row.
    To solve this problem (at least in RH7) so that the table
    would not shrink to 1/4 of the stated width, I removed all the
    conditional tags, then in HTML applied the x-condition: Tag; to the
    row (<TR>), not to the cells (<TD>). The row is the
    only part of the code that has the conditional tag, the cells do
    not have the tag.
    Although tedious because my tables are long, it has worked
    perfectly on 3 of the tables I have done this to so far.
    Not sure why the WYISWYG view is not grabbing the rows, but
    at least I have a work around that I can live with.

  • Problems with vertical cell borders and the default table style

    When laying out tables in Word, I like to use thin horizontal lines (cell borders) and thick-ish white vertical lines. The vertical white cell borders create a subtle negative space that is less cluttered than the typical boxed-in-all-sides style.
    Issue 1.
    In Pages, horizontal cell borders seem to take precedence over vertical cell borders so my vertical white line trick doesn't work. Is there a way to force my vertical white cell borders to "show up" over my think black horizontal cell borders?
    Issue 2.
    So, for the time being, I'm not using vertical white cell borders in tables; instead, I set the vertical cell borders to "none." Unfortunately, when I try to set the default table style using a table with no vertical cell borders, Pages adds the vertical cell borders anyway. Does anyone know a way to get Pages to surrender?
    Message was edited by: Steve in Seattle

    I must apologizes.
    It seems that I didn't understand well the problem.
    Issue 1.
    In Pages, horizontal cell borders seem to take precedence over vertical cell borders so my vertical white line trick doesn't work. Is there a way to force my vertical white cell borders to "show up" over my think black horizontal cell borders?
    NO
    Issue 2.
    So, for the time being, I'm not using vertical white cell borders in tables; instead, I set the vertical cell borders to "none." Unfortunately, when I try to set the default table style using a table with no vertical cell borders, Pages adds the vertical cell borders anyway. Does anyone know a way to get Pages to surrender?
    I checked and here, aftere defining a new default format with vertical lines set to none, this format is used when I cvreate a new table.
    But the same with horizontal lines doesn't apply.
    _Go to "Provide Pages Feedback" in the "Pages" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'10
    Yvan KOENIG (from FRANCE mardi 28 avril 2009 22:31:45)

  • How do I create a crystal report layout with a table and borders

    My crystal report is a signin sheet. The sign in sheet has an ID column, Name column, Institution column, Place to signin column, and Weekday columns with checkboxes in each column for the visitor to checkoff.
    How do I display the data that is being used int he crystal report in a table layout with borders around each cell? And is it possible to center vertical alignment of the data within eacvh cell like Excel?

    Blahahaha! Great answer Deb!
    Seriously though... There is no vertical alignment in CR. There have been several past threads related to this issue and all of them have various workarounds. None of them are very elegant.
    The best workaround I've found (especially if you are grid or borders) is to turn off the boarders for the field itself and drawl a rectangle around the field(s). Now you can place the field in the lower portion of the rectangle and adjust the rectangles height to place the field text in the center of the rectangle.
    This will give you more control over the height of your elements than using a carriage return before the text.
    Jason

Maybe you are looking for