Terrible CSS Table

I am creating one of my first tableless web sites using CSS.
Wouldn't you know, there is a need for a data table on one of the
pages and of all times for a table to give me trouble, it's with a
tableless web page located at the bottom of this page:
http://www.webmarketingstudio.com/enaid/pool_tour.html
The CSS is located at
http://www.webmarketingstudio.com/enaid/css/costa.css
The table appears to have padding around the contents of each
cell but it isn't set up that way. It needs to have the border. Can
anyone tell me how to get rid of all the space around the data in
each cell?
I should also mention that I'm using Mac OS 10.4 and I've
viewed this page in Safari, Netscape, Opera, IE, and FireFox. The
problem with the table is consistent.
But there is another anomally with Safari: It will not wrap
the text around the Flash movies. All of the other browsers
position text to wrap around the movie. Is there a way to get
Safari to the same as it does for photos?
Thanks so much!

On Thu, 8 Jun 2006 03:16:18 +0000 (UTC), "SweetEngineer"
<[email protected]> wrote:
> The</a> table appears to have padding around the
contents of each cell but it
>isn't set up that way. It needs to have the border. Can
anyone tell me how to
>get rid of all the space around the data in each cell?
It isn't padding in the table. It's padding on the <h6>
and <p> tags
inside the table. Add this at the *bottom* of your style
sheet:
td p, td h6{margin:0;padding:0;}
Gary

Similar Messages

  • Creating CSS Tables?

    Does DW CS5 write code to create CSS tables (I think that is what they are called?) thinly lined CSS containers similar to HTML tables.
    Thanks.

    media kat wrote:
    While minimizing having to use any code, where do I go to start developing a CSS based table layout?
    That is akin to saying "while minimizing the use of a knife, how do I carve my thanksgiving day turkey".
    You can use some of dreamweavers built in dialog boxes, but frankly, if your going to take the time to learn something, you might as well go right to the source.
    There are plenty of tutorials out there for begining CSS, it should get you on the right path.
    Gary

  • CSS - Table width breaking layout

    I have a CSS issue with page layout.  I have created a layout where I have a main wrapper that encompasses the page.  Inside the wrapper are three sections:  header, content, and footer.  These all adjust 100% to the width of the browser.  I will have tables of varying sizes within the content area.  My issue is that when the browser goes to a size smaller than the width of the table, the content area will scroll to the right, but the rest of the areas will not stay at the same width as the content area.  The result is that the header and footer will remain at 100% in the viewable area, but you have to scroll to the right to see the rest of the information.  This breaks the layout.  What I would like to see is that the header and the footer will always match the width of the content area and so if a table happens to push to the right, the header and footer will always match it.  Here is a link to an example:  http://www.artomicblast.com/csstest/interior.html.
    You'll see that if you have the browser filling up the whole screen, everything looks fine.  As you start adjusting the size down, the center section will reach a point where you get a scrollbar and it breaks out of the width of the screen so that you'll see the header and footer to the left, and it sticking out to the right.
    Is there a way to make it to where the outside wrapper will keep everything contained no matter the size of the table in the content area?
    Thanks!

    I have a CSS issue with page layout.  I have created a layout where I have a main wrapper that encompasses the page.  Inside the wrapper are three sections:  header, content, and footer.  These all adjust 100% to the width of the browser.  I will have tables of varying sizes within the content area.  My issue is that when the browser goes to a size smaller than the width of the table, the content area will scroll to the right, but the rest of the areas will not stay at the same width as the content area.  The result is that the header and footer will remain at 100% in the viewable area, but you have to scroll to the right to see the rest of the information.  This breaks the layout.  What I would like to see is that the header and the footer will always match the width of the content area and so if a table happens to push to the right, the header and footer will always match it.  Here is a link to an example:  http://www.artomicblast.com/csstest/interior.html.
    You'll see that if you have the browser filling up the whole screen, everything looks fine.  As you start adjusting the size down, the center section will reach a point where you get a scrollbar and it breaks out of the width of the screen so that you'll see the header and footer to the left, and it sticking out to the right.
    Is there a way to make it to where the outside wrapper will keep everything contained no matter the size of the table in the content area?
    Thanks!

  • Can't select table cell with big css table border

    Hi
    When I create a table with a border in css, bigger than 6px,
    I can't select a cell or even put text in it, other than in the
    code window. Can you explain or help ?

    Yeah? Sure .. I will .. thanks!
    Nancy
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:ea56v5$3gc$[email protected]..
    > Try it Nancy. The OP is correct. It's a bug.
    >
    > --
    > 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
    > ==================
    >
    >
    > "Nancy *Adobe Community Expert*"
    <[email protected]> wrote in message
    > news:ea56t5$3d3$[email protected]..
    >> Have you tried clicking within the area and then
    selecting the tag you
    >> want in the tag selector at the bottom of the
    document window?
    >>
    >>
    >> --
    >> Nancy Gill
    >> Adobe Community Expert
    >> BLOG:
    http://www.dmxwishes.com/blog.asp
    >> Author: Dreamweaver 8 e-book for the DMX Zone
    >> Co-Author: Dreamweaver MX: Instant Troubleshooter
    (August, 2003)
    >> Technical Editor: DMX 2004: The Complete Reference,
    DMX 2004: A
    >> Beginner's
    >> Guide, Mastering Macromedia Contribute
    >> Technical Reviewer: Dynamic Dreamweaver MX/DMX:
    Advanced PHP Web
    >> Development
    >>
    >>
    >> "mchb" <[email protected]> wrote
    in message
    >> news:ea56dd$2q2$[email protected]..
    >>> Hi
    >>>
    >>> When I create a table with a border in css,
    bigger than 6px, I can't
    >>> select a cell or even put text in it, other than
    in the code window. Can
    >>> you explain or help ?
    >>
    >>
    >
    >

  • DW/CSS Table problem

    Hi guys:
    I have been working with CSS in DW for a while now but it
    always makes me mad when I cant Firefox and IE to look the page
    same. I guess its a problem with setting the width of the table. I
    have done it but somewhere I am missing the obvious . It works fine
    in FF but messes up in IE (Grrrrr). Please help! Here what I have
    been working on :
    quote:
    <html><head><title>MNTP</title>
    <style>
    <!--
    * body {
    background-color: #21B6AD;
    .hr { background:#000; height:1px; font-size:1px; }
    .bgimg { float:left; padding: 30px; margin: 10px; background:
    url(bgimg.gif) #CEDEA5; }
    .width720 { width: 718px; margin: 0 10px 10px; }
    .leftmenu150 { width: 150px; margin: 0 10px; }
    .width300 { width: 300px; margin: 0 10px; }
    .width80p { width: 80%; margin: 0 auto; }
    #test { border:3px solid red; padding:1em; }
    .element { background: gray; padding: 16px; }
    /* #glow { border: solid 1px red; } */
    .someclassContainer { width: 160px; float: left; margin:0
    10px; height:160px; }
    .someclass {
    background: #3300ff;
    border: solid 5px yellow;
    padding: 22px;
    height:100px;
    .leftmenuContainer { width: 150px; float: left; margin:0
    10px; height:160px; }
    .leftMenu {
    background: #FFEBDE;
    border: solid 5px #FFEBDE;
    padding: 5px;
    height:100px;
    .bottommenuContainer { width: 680px; float: left; margin:0
    10px; height: 70px; }
    .bottomMenu {
    background: #ADB6A5;
    border: solid 5px #ADB6A5;
    padding: 5px;
    height:50px;
    .box_1_Container { width: 510px; float: left; margin:0 10px;
    .box_1_Menu {
    background: #FFF7CE;
    border: solid 5px #FFF7CE;
    padding: 10px;
    .left { width: 80px; float: left; }
    .clear { clear: both; }
    #onlyTop { background: #7B3; border: solid 3px yellow;
    border-bottom: none; padding: 20px; }
    #onlyBottom {
    background: #CEE3EF;
    border: solid 3px #CEE3EF;
    border-top: none;
    padding: 5px;
    text-align: left;
    #onlyLeft { background: #7B3; border: solid 2px yellow;
    border-right: none; padding: 20px; }
    #onlyRight { background: #362; border: solid 2px yellow;
    border-left: none; padding: 20px; }
    #withbgimg1 { color: white; border: solid 1px #85ADC3;
    padding:3em;
    background: url(gradient.gif) #003B62; background-repeat:
    repeat-x; }
    #withbgimg1 * { color: white; }
    #withbgimg2 {
    background: #CEDEA5 url(bgimg.gif); background-repeat:
    repeat-x;
    padding: 30px; color: black; }
    #withbgimg2 * { color: black; }
    //.style1 {font-family: Arial, Helvetica, sans-serif}
    .style2 {
    font-family: Arial, Helvetica, sans-serif;
    color: #F78618;
    .style3 {
    font-family: Arial, Helvetica, sans-serif;
    color: #21287B;
    .basestyle{
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size:12px;
    color:#000000;
    .clearText{
    font-family:Arial, Helvetica, sans-serif;
    font-size:8px;
    visibility:hidden
    .leftmenuText{
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size:12px;
    color:#531560;
    .bottommenuText{
    font-family:Georgia, "Times New Roman", Times, serif;
    font-size:10px;
    color:#000000;
    -->
    </style>
    <script type="text/javascript" type="text/javascript"
    src="cssquery2-p.js"></script>
    <script type="text/javascript" type="text/javascript"
    src="ruzeeborders.js"></script>
    <script type="text/javascript"
    type="text/javascript"><!--
    RUZEE.Borders.add({
    '#test': { borderType:'shadow', cornerRadius:10,
    shadowWidth:20 },
    '#glow': { borderType:'glow', cornerRadius:4, glowRadius:5,
    glowColor:'white' },
    '.someclass': { borderType:'simple', cornerRadius:20,
    height:100 },
    '.leftMenu': { borderType:'simple', cornerRadius:12,
    height:100 },
    '.bottomMenu': { borderType:'simple', cornerRadius:12,
    height:50 },
    '.box_1_Menu': { borderType:'simple', cornerRadius:12 },
    '#onlyTop, #onlyBottom, #onlyLeft, #onlyRight':
    { borderType:'simple', cornerRadius:12, shadowWidth:0 },
    '#onlyTop': { edges:'lrt' },
    '#onlyBottom': { edges:'lrb' },
    '#onlyLeft': { edges:'ltb' },
    '#onlyRight': { edges:'rtb' },
    '#withbgimg1': { borderType:'simple', cornerRadius:20 },
    '#withbgimg2': { borderType:'shadow', cornerRadius:10,
    shadowWidth: 10 }
    window.onload=function(){
    //alert("sd");
    RUZEE.Borders.render();
    //-->
    </script>
    <script src="Scripts/AC_RunActiveContent.js"
    type="text/javascript"></script>
    </head>
    <body>
    <table width="720" border="0" align="center"
    cellpadding="0" cellspacing="0">
    <tr>
    <td align="center" valign="top"><script
    type="text/javascript">
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','720','height','275','align','absmiddle','src','mntp_top_1','q
    uality','high','pluginspage','
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','mntp_top_1'
    ); //end AC code
    </script><noscript><object
    classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="720" height="275" align="absmiddle">
    <param name="movie" value="mntp_top_1.swf" />
    <param name="quality" value="high" />
    <embed src="mntp_top_1.swf" width="720" height="275"
    align="absmiddle" quality="high" pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash"></embed>
    </object></noscript></td>
    </tr>
    <tr>
    <td><div class="width720" align="center">
    <div id="onlyBottom">
    <!--//*******Inside Table***************Inside
    Table*************Inside Table************-->
    <table width="720" border="0" cellspacing="0"
    cellpadding="0" align="center">
    <tr>
    <td valign="top"><strong><span
    class="style2">    WELCOME
    </span> <span class="style3">TO THE MNTP WEBSITE
    !</span></strong><br />
    <br /></td>
    </tr>
    <tr>
    <td>
    <!--//*******Inside Table***************Inside
    Table*************-->
    <table width="680" border="0" cellspacing="0"
    cellpadding="0">
    <tr>
    <td width="160" valign="top">
    <div class=" leftmenuContainer">
    <div class=" leftMenu">
    <span class="leftmenuText"><strong>
    CNBC <br>
    Graduate Program <br>
    Link 1 <br>
    Link 1 <br>
    Link 1 <br>
    Link 1 <br>
    </strong>
    </span>
    </div>
    </div>
    </td>
    <td width="520" valign="top">
    <!--//*******Boxes********-->
    <div class=" box_1_Container">
    <div class=" box_1_Menu">
    <span class="style2"><strong>StatsReader v2.1
    HowTo:</strong></span> <br>
    <span class="basestyle">
    New in 2.0: if setting target size to "0" you can use
    StatsReader
    to add keyframes in desired locations. Make sure to use a
    different
    filename for the target file and set that file up in xvid as
    first
    pass statsfile. Since the frametypes are gathered from the
    first
    pass file, setting them only in a ... more
    </span>
    </div>
    </div>
    <!--//*******Break********-->
    <p><span
    class="clearText">T</span></p>
    <!--//*******Break********-->
    <div class=" box_1_Container">
    <div class=" box_1_Menu">
    <span class="style2"><strong>TYPES OF LICENSES:
    </strong></span> <br>
    <span class="basestyle">
    In order to install and use the Software, You must obtain
    one of the following two types of licenses: (1) Evaluation
    License or (2) Commercial Use License.
    If You would like to try using the Software before
    purchasing a Commercial Use License, then You may wish to
    obtain an Evaluation License. This will allow You to use
    the Software for free for a period of up to thirty (30)
    </span>
    </div>
    </div>
    <!--//*******Boxes********-->
    </td>
    </tr>
    </table>
    <!--//*******Inside Table***************Inside
    Table*************-->
    </td>
    </tr>
    <tr>
    <td ><div class=" bottommenuContainer">
    <div class="bottomMenu"
    align="center"><br><span
    class="bottommenuText">Number 1 in someclass where all have
    height:100px</span>
    </div>
    </div></td>
    <td width="0"></td>
    </tr>
    </table>
    <!--//*******Inside Table***************Inside
    Table*************Inside Table************-->
    </div>
    </div></td>
    </tr>
    <tr>
    <td width="0"></td>
    </tr>
    </table>
    </body>
    </html>
    Thanks

    I can tell you no one will wade through all of this code.
    Just glancing at it and I can see all sorts of problems. You need
    to isolate the problem and work on the basic structure of your
    page.
    I would recommend starting again and use a good semantic
    guide to building Web pages. Go for a book that uses well formed
    html and CSS for layout and styling. I would definitely advise you
    to avoid table layouts, especially if you want to get the best
    chance of seeing your designs render correctly in all modern
    browsers.
    Try HTML Mastery and CSS Mastery, both published by Friends
    of Ed, and armed with these books you will have a great start on
    the road to design heaven!
    Regards

  • CSS table override for mobile?

    Hi folks,
    I don't control the  search results in this BC site. It lays out the images in a table. 
    Is there any way to collapse tables , rows and cells in CSS to make  a table just display items one on top of another?
    http://joden.businesscatalyst.com/catalog-search
    This problem  is only visible in mobile, which is using a different template.

    Thanks Alex.    The problem is only visible in phone views, but looks fine on larger monitors. While I have phone layouts in templates, I can't change either catalogs or search results only for the modules unless I create entirely separate pages....  so I'm looking for a CSS solution I think to modify only the phone layout.   What is odd is that on the home page, e.g., the new items layout automatically drops images into a single column...

  • ADF Skins CSS - table cell padding

    Hi there,
    Can anyone provide an example of how to set the data row, cells', cell padding value ...
    referring to http://www.oracle.com/technology/products/adf/adffaces/11/doc/skin-selectors.html
    I dont seem to be able to tie the -tr-padding-right-width for the ad|table element and/or overwrite it on af|column elements ...
    anyone any idea the best approach ?

    Hi,
    try
    .AFTableCellDataBorder:alias{
    padding:20px;
    }

  • How to remove empty space in CSS table and move spry menu bar?

    Hello! I created www.stonecreekha.com about a year ago basically by watching youtube tutorials and haven't done much with it since so I've forgotten everything! In IE7, everything appears as it should; but in Firefox and IE8, the spry menu bar is positioned slightly higher than it should be (it slightly cuts off the foot of the golfer) and there is an empty space between the navigation bar and the photo. The source code can be viewed from the website. Here are some pics:
    IE7 - how it is supposed to look:
    IE8:
    Firefox:
    Dreamweaver:
    So basically, I need to know how to remove that empty space between the navigation bar and the picture, and how to move the spry menu bar down a few pixels, in a way that it looks correct in IE8 and Firefox, and preferably IE7 as well.
    P.S. I'm a noob so if you could be as specific as possible on what to do in Dreamweaver I'd really appreciate it. Thanks

    I belive it's because of the -minus margin being used on the navbar, that you will need to use a negative margin to bring up both the left and right bodyArea divs.
    Try :       margin-top: -18px;  on both divs.  You may need to play around with that to get it more precise.
    Again, not sure what effect that has on IE as I can't test it.
    If it affects IE, then you may need to feed IE a conditional comment for the placement of those divs.

  • Is there a better way to do this?  CSS rules/Background image/tables

    Hi,
    I am designing a site and I have used a table for the banner.  Everytime a different page is displayed, the banner image changes.  I have created .html pages, and I have created a lot of css rules to change the background image.  I think there must be a more efficiant way to do this?
    http://www.taffyproductions.com/test/
    ALSO... I need to figure out how to make the links (hover/active states) work on all the pages... I figured it out on the index page, but I'm sure there is a better css rule?

    Put a div in the head section?  Surely you jest!
    But you do hint at the easy solution - just have an embedded stylesheet in the head of each page that changed the background image only on that page.  No need for any other complexities.
    In other words on page1, change this -
    <link href="outpost.css" rel="stylesheet" type="text/css" />
    </head>
    to this -
    <link href="outpost.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    table#banner { background-image:url(images/banner1.jpg); }
    </style>
    </head>
    and on page2 change it to this -
    <link href="outpost.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    table#banner { background-image:url(images/banner2.jpg); }
    </style>
    </head>
    etc.

  • CSS - Text not taking up all of Table Column

    Hello,
    I have a table, the first column of which is 535 pixels long. However, the contents of this column (a variable called $row['site']) only displays text for about 200 pixels, and then the remaining text spills down onto the row below. The result is ugly. My code and CSS are below.
    How can I get the text to extend into all 535 pixels of the column?
    Thanks in advance,
    John
    The code for the table (just up until the first column):
    <?php
    print "<table class=\"navbar\">\n";
    print "<tr>";
    print "<td class='sitename'>".'<a href="http://'.$row['site'].'" class="links2">'.$row['site'].'</a>'."</td>";
    My CSS:
    table.navbar {
            margin-left:100px;
         margin-top:30px;
         text-align: left;
         font-family: Arial, Helvetica, sans-serif ;
         font-weight: normal;
         font-size: 12px;
         color: #000000;
         width: 700px;
         background-color: #A7E6FE;
         border: 1px #FFFFFF;
         border-collapse: collapse;
         border-spacing: 4px;
         padding: 4px;
         text-decoration: none;    
    table.navbar td {
       border: 2px solid #fff; 
       text-align: left;
       height: 16px;
    table.navbar td a{
       display: block;
       padding: 3px;
    .sitename { width: 535px;
    a.links2:link {
          color: #000000;
         text-decoration: none;
          text-align:left;
        margin-top:6px;
        margin-bottom:2px;
         margin-left:2px;
        padding:0px;
         font-family:Arial, Helvetica, sans-serif;
         font-size: 12px;
         width: 10px;
         height: 12px;
         vertical-align:middle;
    a.links2:visited {
          color: #000000;
         text-decoration: none;
          text-align:left;
        margin-top:6px;
        margin-bottom:2px;
         margin-left:2px;
        padding:0px;
         font-family:Arial, Helvetica, sans-serif;
         font-size: 12px;
         width: 10px;
         height: 12px;
         vertical-align:middle;
    a.links2:hover {
          color: #000000; text-decoration: underline;
         text-align:left;
        margin-top:6px;
        margin-bottom:2px;
         margin-left:2px;
        padding:0px;
         font-family:Arial, Helvetica, sans-serif;
         font-size: 12px;
         width: 10px;
         height: 12px;
         vertical-align:middle;
    a.links2:active {
          color: #000000;
          text-align:left;
        margin-top:6px;
        margin-bottom:2px;
         margin-left:2px;
        padding:0px;
         font-family:Arial, Helvetica, sans-serif;
         font-size: 12px;
         width:10px;
         height: 12px;
         vertical-align:middle;

    Hello,
    I figured it out by searching on Google:
    .sitename { width: 535px;
                overflow:hidden;

  • Table css column-header text color not working

    When setting
    -fx-text-fill: red;
    in a css table, it does not change the header to tex to red. Is there another value? .table-view .column-header {                                                                                                                                                                                                                                                                                                                   

    You have to override the following from the caspian.css:
    .table-view .column-header  {
        -fx-text-fill: -fx-selection-bar-text;
        /* TODO: for some reason, this doesn't scale. */
        -fx-font-size: 1.083333em; /* 13pt - 1 more than the default font */
        -fx-size: 25;
        -fx-border-style: solid;
        -fx-border-color:
              Inner border: we have different colours along the top, right, bottom and left.
              Refer to RT-12298 for the spec.
            derive(-fx-base, 80%)
            linear-gradient(to bottom, derive(-fx-base,80%) 20%, derive(-fx-base,-10%) 90%)
            derive(-fx-base, 10%)
            linear-gradient(to bottom, derive(-fx-base,80%) 20%, derive(-fx-base,-10%) 90%),
            /* Outer border: */
            transparent -fx-table-header-border-color -fx-table-header-border-color transparent;
        -fx-border-insets: 0 1 1 0, 0 0 0 0;
        -fx-border-width: 0.083333em, 0.083333em;
    .table-view .column-header-background {
        -fx-background-color: -fx-body-color;
        -fx-padding: 0;
    }

  • Set (and keep) Table Margins

    I have TCS4.
    I am linking a Framemaker book into Robohelp so everything keeps up-to-date. Mostly, it works fine.
    But..
    How do I apply a margin to a table in the CSS so that it stays? I want to put some space between all tables and what is around them (text, other tables, etc.) just to clean things up and make it easier to read. Padding moves the text within a cell. I need to shift the table itself as a unit.
    I can make the change manually in RH by adjusting the table properties of each table, but with hundreds of tables to setup each time there is an update, it gets terribly time consuming. Table margins seems to be entirely missing from the CSS or Master Page config.
    Where is it hiding? Can I set a margin for all tables of a type collectively? And have it survive Forced Updates? 
    I even tried modifying the CSS file directly with mixed results.    margin-top: 10.000px;     and such.
    Thanks.

    Are you mapping the table to a CSS style in the conversion options?
    If not, modify your conversion to do so, then you can control the properties from the CSS table definition.
    WARNING: You may find that formatting applied to the table in Fm still sneaks through as inline formatting in the Rh table. Remove formatting from the tables with the Custom Ruling and Shading dialog in Fm.
    As always, endeavor to eliminate the class="FM_ string from your HTML by explicit mapping of the styles. If not, you'll never gain control over the formatting in Rh.
    -Matt
    Matt R. Sullivan
    co-author Publishing Fundamentals: Unstructured FrameMaker 11

  • Repeating background images in tables

    I am working on a web page with a background image in a
    table. I have also inserted a table inside this same table to
    include some text. When I preview this in Netscape/Firefox and
    increase the text size a couple of times from the browsers menu,
    the table with the image starts repeating as the text increases in
    size. I don't mind the text changes sizes, but is there a way to
    stop the table from repeating the background image? This is a
    problem since the repeating image looks terrible.

    On that page, change this -
    </head>
    to this -
    <style type="text/css">
    table.special { background-repeat:no-repeat; }
    </style>
    </head>
    and then change your table tag from this -
    <table width="100%" height="606" border="0" align="center"
    cellpadding="0"
    cellspacing="0">
    to this -
    <table width="100%" border="0" align="center"
    cellpadding="0"
    cellspacing="0" class="special">
    (there is no table height attribute - it's invalid HTML)
    > b, be too small, dependent upon which browser they are
    viewed in.
    Impossible. A background image will not change size in
    different browsers.
    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
    ==================
    "chimesey" <[email protected]> wrote in
    message
    news:[email protected]...
    >
    quote:
    Originally posted by:
    Newsgroup User
    > Use CSS -
    >
    > table { background-repeat:no-repeat; }
    >
    > --
    > 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
    > ==================
    >
    > I am trying to do the same thing, and my bg images seem
    to either
    > a, repeat somewhat
    > or
    > b, be too small,
    > dependent upon which browser they are viewed in.
    >
    > I will try to use the code suggested above, but where
    exactly would I
    > insert
    > it?
    > This is the code for the 'table within the table'...
    >
    > <table width="100%" height="606" border="0"
    > align="center" cellpadding="0" cellspacing="0">
    > <tr>
    > <th width="35%" height="95"
    > scope="col"><h1>ten</h1></th>
    > <th width="26%"
    scope="col"><h1>year</h1></th>
    > <th width="39%"
    scope="col"><h1>plan</h1></th>
    > </tr>
    > <tr>
    > <td height="325"><table width="100%"
    height="266"
    > border="0" cellpadding="0" cellspacing="0">
    > <tr>
    > <th scope="col"> </th>
    > <th background="../smiths.jpg"
    > scope="col"> </th>
    > <th scope="col"> </th>
    > </tr>
    > </table> <p> </p>
    >
    >
    > Ta!
    >

  • Viewing CSS fomated pages in Design View DW MX 2004

    I am using DW MX 2004. I have imported a new clients site and
    am trying to view the pages in DW. The web site is completely
    formated using CSS. When the document is opened in DW I do not see
    any of the page. The page views fine when previewing in a browser.
    How do I get the css to execute/render in DW MX 2004s design view?
    Thanks in advance for any help!
    TroCat

    Definitely 'exceeded the capability' of DW's
    DoWhatIWantNotWhatICode
    function.
    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
    ==================
    ": Nadia : ** Adobe Community Expert **"
    <[email protected]> wrote in message
    news:[email protected]...
    > Yep, especially the 'unclosed' tag errors ;-)
    >
    > --
    > Nadia
    > Adobe® Community Expert : Dreamweaver
    > ----------------------------------------
    > CSS Templates |Tutorials |SEO Articles
    >
    http://www.DreamweaverResources.com
    > ~ Customisation Service Available ~
    >
    http://www.csstemplates.com.au
    > ----------------------------------------
    > CSS Tutorials for Dreamweaver
    >
    http://www.adobe.com/devnet/dreamweaver/css.html
    >
    >
    > "josie1one" <joleros[nospam]@yahoo.com> wrote in
    message
    > news:[email protected]...
    >> You have many errors which when fixed could make all
    the difference:
    >>
    >>
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.exteriorinnovations.com%2F
    >>
    >>
    >> --
    >> Jo
    >>
    >>
    >> "trocat" <[email protected]> wrote
    in message
    >> news:[email protected]...
    >>> Exceeded the capability of DWMX 2004? What I am
    asking is, how can I
    >>> view a
    >>> page that was designed and layed out with CSS,
    tables, buttons, etc.in
    >>> DW 2004
    >>> design view. The page is completey visible in
    Front Page 2000 in it's
    >>> design
    >>> view. But not in DW 2004. Am I missing
    something? It seems like FP
    >>> renders the
    >>> CSS to show you the page as you edit. DW 2004
    does not show me anything
    >>> but the
    >>> background in design view. I see DW 8 has a
    toolbar called "Style
    >>> Rendering".
    >>> Is DW 2004 just not capable of this? You can
    view the code source of the
    >>> page I
    >>> am referring to at
    http://www.exteriorinnovations.com.
    >>>
    >>
    >>
    >
    >

  • Center text in table

    I'm still not getting the text to center within the table.
    table            {
        width:500px;
        margin:20px auto;
        border:1px #666 dotted;
        text-align: center;
    thead, tfoot    { background-color:#Eff7db; text-align:center;  }
    th, td            { padding:8px;  }
    th                { font-weight:bold; }
    tbody tr        { border-bottom:1px #ccc dotted; }
    tbody tr:hover    { background-color:#EFF7DB; }
    <thead>
            <tr>
                <th colspan="2" scope="col"><h2>Mount Rose Elementary Staff</h2></th>
                </tr>
            <tr>
                <th width="266" scope="col"><h2>Teachers</h2></th>
                <th width="222" scope="col"><h2>Staff</h2></th>
              </tr>
            </thead>
            <tfoot>
            <tr>
                <td colspan="2"> </td>
                </tr>
            </tfoot>
            <tbody>
            <tr>
                <td>Ms. Chire - TWI/Pre K</td>
                <td>Krissy Brown - Principal</td>
              </tr>
            <tr>
              <td>Mrs. Castillo - K</td>
              <td>Mrs. Fackelmann - Office</td>
              </tr>
            <tr>
                <td>Mrs. Hanifen - K</td>
                <td>Mrs. Boldi - Office</td>
              </tr>
            <tr>
                <td>Mrs. Barajas - 1st</td>
                <td>Mrs. Mier y Teran - Clinic</td>
              </tr>
            <tr>
              <td>Miss Mentgen - 1st</td>
              <td>Mrs. Johnson - Counselor</td>
              </tr>
            <tr>
              <td>Mrs. Folchi-Oddieo - 2nd</td>
              <td>Mr. Wayne - Custodial Office</td>
              </tr>
            <tr>
              <td>Mrs. Ispisua - 2nd</td>
              <td>Mrs. Ault - Speech</td>
              </tr>
            <tr>
              <td>Mrs. Biggs - 3rd</td>
              <td>Mrs. Lean - OYO Intervention</td>
              </tr>
            <tr>
              <td>Ms. Henning - 3rd</td>
              <td>Ms. Turnier - OYO Intervention</td>
              </tr>
            <tr>
              <td>Mrs. Briggs - 4th</td>
              <td>Ms. Stout - Music</td>
              </tr>
            <tr>
              <td>Mrs. Carlson - 5th</td>
              <td>Ms. Johal - Cafeteria</td>
              </tr>
            <tr>
              <td>Mrs. Utley - 6th</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Dean - 4th, 5th, 6th</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Diaz / Ms. Tossava - EOC</td>
              <td> </td>
              </tr>
            <tr>
              <td>Mrs. Truce - ESL</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Thomas - GATE</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Severs - GATE</td>
              <td> </td>
              </tr>
            <tr>
                <td>Ms. Allstadt - GATE</td>
                <td> </td>
              </tr>
            <tr>
              <td>Mrs. Fleetwood - Resource</td>
              <td> </td>
              </tr>
            </tbody>
        </table>
    </div>

    wranglergirl wrote:
    I'm still not getting the text to center within the table.
    When you say center what exactly do you mean, horizontally or vertically centered?
    If I test your code in IE6, IE7, IE8 and  Firefox the text appears horizontally centered??????
    <!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">
    table            {
    width:500px;
    margin:20px auto;
    border:1px #666 dotted;text-align: center;
    thead, tfoot    { background-color:#Eff7db; text-align:center;  }
    th, td            { padding:8px;  }
    th                { font-weight:bold; }
    tbody tr        { border-bottom:1px #ccc dotted; }
    tbody tr:hover    { background-color:#EFF7DB; }
    </style>
    </head>
    <body>
    <table>
    <thead>
            <tr>
                <th colspan="2" scope="col"><h2>Mount Rose Elementary Staff</h2></th>
                </tr>
            <tr>
                <th width="266" scope="col"><h2>Teachers</h2></th>
                <th width="222" scope="col"><h2>Staff</h2></th>
              </tr>
            </thead>
            <tfoot>
            <tr>
                <td colspan="2"> </td>
                </tr>
            </tfoot>
            <tbody>
            <tr>
                <td>Ms. Chire - TWI/Pre K</td>
                <td>Krissy Brown - Principal</td>
              </tr>
            <tr>
              <td>Mrs. Castillo - K</td>
              <td>Mrs. Fackelmann - Office</td>
              </tr>
            <tr>
                <td>Mrs. Hanifen - K</td>
                <td>Mrs. Boldi - Office</td>
              </tr>
            <tr>
                <td>Mrs. Barajas - 1st</td>
                <td>Mrs. Mier y Teran - Clinic</td>
              </tr>
            <tr>
              <td>Miss Mentgen - 1st</td>
              <td>Mrs. Johnson - Counselor</td>
              </tr>
            <tr>
              <td>Mrs. Folchi-Oddieo - 2nd</td>
              <td>Mr. Wayne - Custodial Office</td>
              </tr>
            <tr>
              <td>Mrs. Ispisua - 2nd</td>
              <td>Mrs. Ault - Speech</td>
              </tr>
            <tr>
              <td>Mrs. Biggs - 3rd</td>
              <td>Mrs. Lean - OYO Intervention</td>
              </tr>
            <tr>
              <td>Ms. Henning - 3rd</td>
              <td>Ms. Turnier - OYO Intervention</td>
              </tr>
            <tr>
              <td>Mrs. Briggs - 4th</td>
              <td>Ms. Stout - Music</td>
              </tr>
            <tr>
              <td>Mrs. Carlson - 5th</td>
              <td>Ms. Johal - Cafeteria</td>
              </tr>
            <tr>
              <td>Mrs. Utley - 6th</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Dean - 4th, 5th, 6th</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Diaz / Ms. Tossava - EOC</td>
              <td> </td>
              </tr>
            <tr>
              <td>Mrs. Truce - ESL</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Thomas - GATE</td>
              <td> </td>
              </tr>
            <tr>
              <td>Ms. Severs - GATE</td>
              <td> </td>
              </tr>
            <tr>
                <td>Ms. Allstadt - GATE</td>
                <td> </td>
              </tr>
            <tr>
              <td>Mrs. Fleetwood - Resource</td>
              <td> </td>
              </tr>
            </tbody>
        </table>
    </body>
    </html>

Maybe you are looking for