Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Table & TD Row CSS Site Wide Modification

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #194404
    bethabernathy
    Participant

    I am new to this but am starting to understand and more than willing to learn. I have a website where I am hoping to find out if I can adjust a Table and Row to update side wide using a style sheet. If I have to manually go into each page and update the html, I can do that and do have that working on one page. I am just curious how the coding works in the text style sheet. I have looked around and have some ideas, but am not there yet.

    The page is:

    http://www.integratedresourcemgmt.com/trevor-smith-magazine/testpg1.htm

    I am trying to get the td named: name=”col2″ within the table named: name=”tbl3″

    to display the transparent background image named: curvebak.png and not to repeat.

    The html and style coding is working in IE 7 at:

    http://www.integratedresourcemgmt.com/trevor-smith-magazine/index.htm

    by putting the following in the head of the webpage:

    <style>

    .TheClassName {
    background-image: url(curvebak.png);
    background-repeat: no-repeat;
    background-position: top left
    }

    </style>

    and then adding the following into the td:

    <td class=”TheClassName” width=”38″ valign=”top” height=”592″ background=”curvebak.png”> </td>

    I just have a lot of pages to update and am not sure if this can be accomplished by using one style sheet that runs through my site pages rather than editing each page?

    My style sheet for the page:
    http://www.integratedresourcemgmt.com/trevor-smith-magazine/testpg1.htm

    contains the following line at the end of the style sheet named:

    stylesbaa.css

    */.countTable table table table table table table table table td + td + td + td + td + td + td + td {background-image: url(curvebak.png); background-repeat: no-repeat; background-position: top left}

    Since testing things with the code above which did not work, I did give the Table and TD names and am thinking adding those names as references will get me close to what I am trying to do … Again, I am just wondering if this is even possible by editing one style sheet of if I have to edit each page on my site.

    Thank you in advance. This forum has been a great resource. My computer almost crashed when I was trying to move over to “over on CodePen” but I will do that next go around.

    #194481
    bethabernathy
    Participant

    <style>

    .TheClassName {
    background-image: url(curvebak.png);
    background-repeat: no-repeat;
    background-position: top left
    }

    </style>

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.