Border colours

I have a table that has one row along the top - but
underneath the banner (the banner isn't included in the table),
with the nav bar in it and one row along the bottom with the
copyright line in it.
Between the two lines there are two columns.
I started off making a table, fixing the borders at 0, but
got spaces between all the cells.
So I then made the whole table one colour and then
individually coloured the other cells the various colours that I
wanted, but that just made the borders/outlines of the cells that
same colour as the main background colour of the table.
I am sure it is something simple, so please help me out
here.

> The 'margin' bit means there are no gaps between the
cells.
That's incorrect. The margin in your rule would refer to the
margin of the
TABLE, not the cells (a cell cannot have a margin). In fact,
CSS has no
analogous style for cellspacing. It does have
"border-spacing" which would
do the same thing sorta, but it's not widely enough supported
(as far as I
know) to be safe as a reliable style.
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
==================
"bruce_code"
<bwwcodebwwcode@@optusnetoptusnet..comcom..auau> wrote in
message news:[email protected]...
>> I have a table that has one row along the top - but
underneath the banner
>> (the
>> banner isn't included in the table), with the nav
bar in it and one row
>> along
>> the bottom with the copyright line in it.
>> Between the two lines there are two columns.
>>
>> I started off making a table, fixing the borders at
0, but got spaces
>> between
>> all the cells.
>> So I then made the whole table one colour and then
individually coloured
>> the
>> other cells the various colours that I wanted, but
that just made the
>> borders/outlines of the cells that same colour as
the main background
>> colour of
>> the table.
>>
>> I am sure it is something simple, so please help me
out here.
>
> I'll give you three options:
> 1) If you want to do this the most modern and currently
accepted way to do
> it, then you don't use a table at all, but you use
<div>s for your page
> layout. Since I doubt that you want to recreate your
page I'll just leave
> that without explaining more about it.
> 2) If you want to use a table, the next best, modern way
to do it is with
> CSS (Cascading Style Sheets). You'd have something like:
> <style>
> table, tr, td, th, tbody {
> margin: 0;
> padding: 2px;
> border: 0;
> }
> </style>
> This would need to be inserted just before the
</head> closing. The
> 'margin' bit means there are no gaps between the cells.
The 'padding' bit
> (could also be 0 if you want no padding INSIDE each
cell, but that looks
> ugly IMO) adds some space inside each cell so that stuff
doesn't butt
> right up against the adjoining cell. The 'border'
removes any cell and
> table borders.
> 3) Rough and ready basic old version is to do:
> <table cellpadding="0" cellspacing="0" border="0">
>
> It has been ages since I did a new table, so if I have
missed something or
> messed something up will someone else please correct me?
>
> Regards,
>
> Bruce
>
>

Similar Messages

  • Border colour of Free Text Annotaion

    Hi
    I'm using the SDK to Acrobat 9.1 pro, writing a plugin in c++. I wish to change the colour of the border of a free text annotation. I've tried a couple of techniques but they only result in changing the fill colour of the annotation:
    PDColorValueRec colourRed;
    memset(&colourRed, 0x00, sizeof(colourRed));
    colourRed.space = PDDeviceRGB;
    colourRed.value[0] = fixedOne;
    colourRed.value[1] = fixedZero;
    colourRed.value[2] = fixedZero;
    PDAnnotSetColor(annot, &colourRed);
    CosObj arrayObj, floatObj;
    arrayObj = CosNewArray(cDoc, false, 3);
    CosArrayPut(arrayObj, 0, CosNewFloat(cDoc, false, 1));
    CosArrayPut(arrayObj, 1, CosNewFloat(cDoc, false, 0));
    CosArrayPut(arrayObj, 2, CosNewFloat(cDoc, false, 0));
    CosDictPutKeyString(annot, "C", arrayObj);
    I've scanned the section in the PDF specification regarding annotation dictionaries, and it seems the C key only governs the colour of the border when the annotation is a Link annotation, and I can't find any other way of defining the border colour. Yet I can still change the colour of the border using Acrobat, which leads me to believe that it's done in a non-standard but nonetheless valid way. The BS (borderstyle) key defines the style of the border but maked no mention of the colour of the border.
    Am I trying to do the impossible?

    Thanks Irosenth, that worked for me. I was adding a DS key to style the rich text contents, but it seems I also need to specify the DA key in order to change the border colour. For those interested, the string "1 0 0 rg /Helv 12 Tf" gave me the plain red border I was after.
    Andrew.

  • Solid table border colour?

    Hi,
    I am trying to create tables with a solid border colour.
    I have tried using CSS but I still get a grey shadow.
    This is the website URL and it is the News and Membership tables that I am trying to give a solid colour to.
    It looks fine in the design view but does not work when viewed in a browser?
    http://www.highburyminiaturedonkeys.co.uk/
    Any advise please.
    Thank you

    .border {
        border-top-color: #FC3;
        border-right-color: #FC3;
        border-bottom-color: #FC3;
        border-left-color: #FC3;
        border-top-width: 1px;
        border-right-width: 1px;
        border-bottom-width: 1px;
        border-left-width: 1px;
    That rule would certainly style any element with a class of 'border'.  But it won't happen magically.  And it won't happen at all unless you also supply the border-type styles, e.g., solid, inset, dashed etc.

  • Setting selected border colour of a JToggleButton

    Hi
    I am wanting to be able to change the selected border colour of a JToggleButton. I have already been able to do a similar thing for changing the selected background colour for the JToggleButton by:
    button.setUI(new MyUI(Color.gray));
    class MyUI extends javax.swing.plaf.metal.MetalToggleButtonUI
    Color color;
    public MyUI(Color c){color = c;}
    public Color getSelectColor(){return color;}
    however I want the background colour of the toggle button to remain the same whether selected or not (so I'm not using this).
    I realise that I can use a MouseListener to do this (I have already done that to change the rollover border colour), but it is more of a pain for the selected border colour, so I was wondering if anyone knew of a similar way to change the selected border colour to the above method?
    Thanks

    your layerpane lives on top of a container. set the
    background of the container.
    here is a sample code. In the createAndShowGUI you
    can add a line,
    frame.setBackground(Color.white) ;
    http://java.sun.com/docs/books/tutorial/uiswing/compon
    ents/example-1dot4/LayeredPaneDemo2.javaThe program uses JLabels on different layers to display the colours, I would prefer not to use a large white JLabel as my background.
    I have tried to set my JFrame background colour using-
    frame.setBackground(Color.white) ;It will not work for me

  • Cell border colour adjustments in Numbers 3

    Hi,
    is there a way to change just the colour of borders? I have a table with mixed styles of borders and want to change them from black to grey (similar to the default style at the bottom left of the style chooser).
    Additionally, how can I find out which colour is used in order to reproduce a table style?
    Thanks,
    p.

    Hi papalapapp,
    Here's a way I've found to change the color of borders:
    1. Choose a line type.
    2. Click the color picker to choose a color:
    3. Click a border pattern to apply:
    Not sure about the answer to your question about how to find out which color is used, in order to reproduce a table style.
    SG

  • Image Border Colour

    I started off with my borders on my images being black. I
    previed etc no problem. Then after working on the rest of the site
    they have changed to purple when I preview- but not in Dreamweaver
    where they still show as black.
    I have checked all teh link colours etc and am bemused. Any
    suggestions please?

    To remove borders from linked images, insert this CSS code
    between the
    <head> and </head> tags in your html page.
    <style>
    a img {border:none}
    </style>
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "emilyt.w" <[email protected]> wrote in
    message
    news:fs18k8$4gl$[email protected]..
    > I started off with my borders on my images being black.
    I previed etc no
    > problem. Then after working on the rest of the site they
    have changed to
    > purple when I preview- but not in Dreamweaver where they
    still show as
    black.
    >
    > I have checked all teh link colours etc and am bemused.
    Any suggestions
    > please?
    >

  • Help changing border colours. Indesign.

    Hi, Thank you for taking the time to look at this post! I have a border made up of different shapes all colour blue but with different tones. I want to change these to say yellow but keep the tones as in some are light some are dark. Is it possible to do this one go or do I have to alter each one separately?
    All the best,
    Bradaz21

    This is a screenshot of the swatches and the layout. Each shape has its own corresponding colour on the swatch, some colours I've repeated elsewhere.

  • Changing border colour

    How I can change the borders colour of a button to red on click event
    thanks

    Can be done with script on clik event of the button.
    1. Go to "border properties" of button , and update the "Raised - 3D"(this may be default value) to "Solid" from the drop down.
    2. If you need any default color for border before click you can select a color from the pallet elase select white color.
    3. now assign the red color for the border on click event of the button, place the below script on click event of the button.
         this.border.edge.color.value = "255, 0,0";
    4. now you can see the red border for button on click event, if need more wider of the border can be increased the size from "border properties" of button.
    Hope this will help.

  • Cell border will not hold.

    A cell will not maintain a border.  When I try to select which line to use, it immediately goes back to "none", thoughts?

    Hi keirby,
    Border format controls may be found in the Format bar near the top of the document window (top image) and in the Table Inspector (bottom image).
    Note that there are four controls in the Format bar. The Inspector splits the first one, the border selection menu, into three sets of buttons. The remaining controls are uses to set the border Style, the border Width, and the Border Colour. If you use only the first (which is what I suspect you have done), you will have Selected the border that you want to change, but haven't specified what changes you want to make.
    Here are the steps to set a wide, dashed red border on a set of three cells:
    Select the cells to which the border will be applied.
    In the Format bar, select the bottom border, using the first pop-up menu button.
    When you release the mouse button,the blue Selection rectangle showing the three selected cells (above) will be replaces by a blue Selection line showing the bottom edge of these cells in selected. No change has yet been made to the border.
    Use the Style button to choose the dashed line.
    Use the Stroke Thickness button to choose 2 pt.
    Click the Stroke Color Well and choose a Red from the Color Palette that opens.
    The selection line will change to reflect each of these choices as it is made and applied to the selected border.
    Click any unselected cell on the table to deselect the cells just changed, or click away from the table to deselect the whole table and view the changes.
    Regards,
    Barry

  • When using firefox, table lines are displayed in a pdf document when I set them to backround colour not to display borders, can you help?

    I am an Web Designer and create PDF files for download from the sites that I develop. I use version 19.0 of Firefox.
    Included in these PDF files are tables which display certain data, and I have made some table columns wider with the fill colour the same colour as the table border colour.
    Recently table borders have appeared in the filled in areas, which I do not want to happen.
    Also the look of the Adobe Reader is different in Firefox. and normal in IE and Opera browser which I also use.
    So overall, the the PDF file is not being displayed correctly in Firefox. If I could I would have attached a screen dump of the display error, to help. Can you offer a solution please?

    The same problem here, this started with the latest version.
    I found a temporal solution which is change the default "previewer" in the Options -> Applications tab
    You need to install the Adobe Reader Plugin described [[here|http://support.mozilla.org/en-US/kb/use-adobe-reader-plugin-view-or-download-pdf-files]].

  • Gridview Border color issue in IE10

    Hi,
    I am facing an issue in IE10(Version: 10.0.9200.17116, Update Versions: 10.0.21 (KB2987107)).
    when I try to render a grid view, the borders of the cell are not in proper color.
    The grid view is applied black border for cells and text color of grid cell is Red and Yellow on alternate row. But the border color of the grid view cell gets mixed with the text color inside the cell  and applied black border.
    You can see my post on (http[:]//forums[dot]asp[dot]net/t/2024404.aspx)
    Please let me know a suitable solution for the issue.
    Regards,
    Salman

    Hi,
    I noticed that you're using IE10(Version: 10.0.9200.17116, Update Versions: 10.0.21 (KB2987107)).As Robear mentioned in the first reply, we recommend to install the latest update KB 3008923 for IE to have a best performance.
    Have you checked the application code with F12 developer tool, then change the user agent string below Internet Explorer 10 as a test?
    I've checked the link you posted in the asp.net forum, seems you're trying to delelop a web application in IE, I'm not a developer, but I found some useful links
    some guys recommend css instead of html and others point a direction of tables inheritance
    http://stackoverflow.com/questions/16803844/border-colours-in-ie10-incorrect-all-other-browsers-ok
    https://social.msdn.microsoft.com/forums/ie/en-us/c3797399-3571-48e8-8d09-b771a9665109/ie10-incompatible-on-table-border-design
    NOTE
    This
    response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft
    does not control these sites and has not tested any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

  • How can I put a colored border around the whole page?

    I just want to know how to pur a colored border around the whole page?

    Hi Rachel,
    Here's an example. Instructions follow the image:
    Start with a new, Blank word processing document.
    Insert a rectangle shape (the darker green is the default colour)
    Change the colour to your desired border colour, using the Fill Color well in the format bar.
    Set the Stroke to none, using the first popup menu on the Format bar. (I missed this step in the example, leaving the black line seen at the rigth edge of the pages.)
    Drag the handles to resize to shape to cover the whole page.
    Go to the View menu and choose Show Layout to see thae area that text will occupy.
    Insert a second rectangle shape on the page.
    Set its Fill colour to whatever bckground colour you want in the text area,
    Set the Stroke to none.
    Resize the second shape to fit just outside the text area indicated on the Layout.
    Select both shapes, then go Arrange > Group.
    Go Arrange > Move Object to Background.
    Go Format > Advanced > Move Object to Section Master.
    If either of:
    Go Arrange > Make Background Objects Selectable
    Go Format > Advanced > Make Maste Objects Selectable
    have checkmarks beside them,
    Select that item to uncheck it.
    The frame will now appear on every page in the section.
    Regards,
    Barry

  • Mystery red border

    Hi, im getting a mystery red border on my tables. I have
    checked the border colour in properties (its set to black). any
    ideas what this could be?

    From
    http://www.ldnwrestling.com/profiles/Jon%20ritchie/Jon%20ritchie.html:
    the code for the first table starts with:
    <TABLE class=frame cellSpacing=0 cellPadding=0 width=770
    align=center
    bgColor=#ffffff border=0>
    You have class="frame" applied to the first table which
    contains the LDN
    image.
    Your CSS defines the class of "frame" as:
    .frame {
    BORDER-RIGHT: #990000 1px solid;
    BORDER-TOP: #990000 1px solid;
    BORDER-LEFT: #990000 1px solid;
    BORDER-BOTTOM: #990000 1px solid
    Remove class="frame" from the table on the problem page and
    the red border
    disappears.
    Regards
    John Waller

  • Tables - Only want Outline Border not internal borders

    Hi
    Im using MX 2004.
    I'd like to add a coloured outside border to my table but
    when I select the
    table and choose a border colour it is automatically applied
    to all cell
    borders i.e
    including the inside borders. How do I remove the internal
    borders or
    simply set an outline border only?
    This is proving to be rather cumbersome - spoilt by the ease
    of tables in MS
    Word!
    Thanks for any info.
    Ian

    http://www.projectseven.com/tutorials/css/qdmacfly/index.htm
    http://www.macromedia.com/devnet/mx/dreamweaver/css.html
    http://www.macromedia.com/devnet/dreamweaver/articles/tableless_layout_dw8.html
    http://www.macromedia.com/devnet/dreamweaver/articles/css_concepts.html
    http://apptools.com/examples/pagelayout101.php
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Ian R" <[email protected]> wrote in message
    news:[email protected]...
    > Hi Murray
    >
    > Thanks for the advice about WORD tables! Ive already
    felt the pain -
    > assuming I could do the same in DW.
    >
    > I know nothing about CSS and havent a clue how to begin
    using your
    > suggestion.
    >
    > Could you or anyone suggest a good online tutorial for
    CSS beginners?
    >
    > Thanks
    >
    > Ian
    >
    >
    > "Murray *ACE*" <[email protected]>
    wrote in message
    > news:[email protected]...
    >> Use CSS instead of HTML borders, e.g.,
    >>
    >> table { border:1px solid green; }
    >>
    >> or -
    >>
    >> <table style="border:1px solid pink;">
    >>
    >>> spoilt by the ease of tables in MS Word!
    >>
    >> You'll do yourself a big favor if you forget
    everything you know about
    >> tables in Microsoft Word. This knowledge will HURT
    you when you are
    >> working with HTML tables.
    >>
    >> --
    >> Murray --- ICQ 71997575
    >> Adobe Community Expert
    >> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >> ==================
    >>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >> ==================
    >>
    >>
    >> "Ian R" <[email protected]> wrote in
    message
    >> news:[email protected]...
    >>> Hi
    >>>
    >>> Im using MX 2004.
    >>>
    >>> I'd like to add a coloured outside border to my
    table but when I select
    >>> the
    >>> table and choose a border colour it is
    automatically applied to all cell
    >>> borders i.e
    >>> including the inside borders. How do I remove
    the internal borders or
    >>> simply set an outline border only?
    >>>
    >>> This is proving to be rather cumbersome - spoilt
    by the ease of tables
    >>> in MS Word!
    >>>
    >>> Thanks for any info.
    >>>
    >>> Ian
    >>>
    >>>
    >>>
    >>
    >>
    >
    >

  • TableView selection border color CSS

    All how do I change the border colour when you select a table?

    Maybe you mean the border applied to the table when the table has focus?
    In which case the css below will give the table an indigo border when it is focused.
    .table-view:focused { -fx-background-color: indigo,-fx-box-border,-fx-control-inner-background; }Not quite sure what "select" means in this context and if you are interested in the border of the entire table or the border of a selected row.
    Anyway, changing those other things is just a matter of tweaking different css styles.

Maybe you are looking for

  • How does the system get the page format in reports

    Hi to all experts, where does the report gets the page format while print how do default the page format to the report while printing... please help

  • Db EXPORT PROBLEM

    Hi All, I wanted to do export on Oracle running on AIX but was faced with this problem as shown below. EXP-00056: ORACLE error 1034 encountered ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist IBM AIX RISC System/6000 Err

  • Canon pixma mx435 halts on os x 10.8.3

    Hi, I recently bought a new imac, and since then my scanner -Canon pixma mx435 halts half way through the scan, and won't complete it. I have to force-quit the scanning software (any kind of scanning software - either the one which came with the scan

  • HT1766 How do I back up data files. Eg pdf's jpegs doc files etc?..

    The reason I use DropBox is that I can upload any file.  I can't do thst with ICloud...or can I??

  • Clear printer memory

    I have a Deskjet 4480 which is great but I cannot figure out how to clear the memory. There has to be a simple way. It's so frustrating when the printer goes on printing stuff that I don't want anymore. Thanks for any suggestions.