Forums

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

Home Forums CSS Help with adjusting page width

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28564
    treybraid
    Member

    Here is the URL… http://amarillo-ifl.fbstats.pointstreak.com/football/scoreboard.html?leagueid=100

    I have tried in vain to apply a container; so, the content will be the width of the page :950px…. The link to Pointstreak is a URL that they host– I have dropped my header, menu and footer….

    the actual website: http://www.govenom.com

    this is the HTML:

    Code:


    GOIFL | The Official Website of the Amarillo Venom http://www.govenom.com/pointstreak/pointstreak.css/>“>

    [b][color=#BF0000]

    [/color][/b]


    ….and this is the CSS I am trying to apply ( they have a CSS file— I have editted trying to add the wrapper and page background…)the code colored is what i have added assigning the footer, menu and header to the page… i placed and open div in bold for the content

    /* this is the css for both the logo and footer*/

    Code:
    #logo img {
    width: 950px;
    height: 180px;
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    }

    #footer1 img {
    margin: 0 auto;
    height: 148px;
    }

    /* Page background Color */

    /* sets the page width */

    body {
    background: url(http://www.govenom.com/pointstreak/body-bg.jpg) no-repeat top center;
    text-align: center;
    min-width: 950px;
    }

    div.wrapper {
    text-align: left;
    width: 950px;
    margin-left: auto;
    margin-right: auto;
    position:relative;
    }[/color][/b]

    /* PRO CSS STYLES */

    .teamInfo h1 {
    margin-bottom:4px;
    }
    .nextGameTeam {
    font-size:19px;
    }
    .nextGameTeam a {
    color:#FFCC00;
    text-decoration:none;
    }
    .nextGameInfo {
    font-size:11px;
    padding:2px;
    background-color:#333333;
    }
    .subtle {
    color:#cccccc;
    }
    .teamInfo {
    font-size: 12px;
    margin:2px;
    color:#ffffff;
    font-weight:bold;
    }
    .teamInfo a {
    color:#FFCC00;
    }
    .subtleGrey {
    font-size: 12px;
    margin:2px;
    color:#cccccc;
    font-weight:normal;
    }
    .searchBox {
    border:1px solid #666666;
    background-image:url(/img/search_back.jpg);
    background-repeat:no-repeat;
    width:250px;
    height:20px;
    line-height:20px;
    padding:6px 6px 6px 30px;
    font-size:17px;
    font-weight:bold;
    font-family:Arial, Helvetica, sans-serif;
    }
    #teamMediaTable {
    background-color:#eeeeee;
    }
    input, select {
    border:1px solid #666666;
    font-size:11px;
    font-weight:bold;
    font-family:Arial, Helvetica, sans-serif;
    }
    #statsTable {
    font-size:10px;
    }
    #statsTable a {
    color:#006600;
    }
    .headerTable {
    background-color:#666666;
    color:#ffffff;
    }
    .headerRow {
    background-color:#cccccc;
    color:#000000;
    font-weight:bold;
    }
    th {
    background-color:#cccccc;
    color:#000000;
    font-weight:bold;
    text-align:left;
    font-size:11px;
    }
    .statsRow {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 5px;
    background-color:#ffffff;
    }
    .statsRowAlternate {
    border-bottom: 1px solid #cccccc;
    padding-bottom: 5px;
    background-color:#eeeeee;
    }
    #statsTableHeader h2 {
    background-color:#003300;
    color:#ffffff;
    padding:4px;
    margin:3px 0 4px 0;
    }
    .newsRow {
    border-bottom: 1px solid #999999;
    padding-bottom: 5px;
    }
    #statsFilters {
    background-color:#eeeeee;
    border: 1px solid #cccccc;
    }
    #bannerAdTop{
    background-image:url(../images/football/bg_sport.jpg);
    background-repeat:repeat-x;
    }
    #statsPageContent h1 {
    margin: 0 0 10px 0;
    background-image:url(../images/football/bg_sport.jpg);
    background-repeat:repeat-x;
    color:#ffffff;
    padding:4px;
    font-size:20px;
    }
    #statsPageContent a {
    color:#006600;
    }
    #rightContentCell {
    background-color:#000000;
    }
    .teamDistrict {
    font-size:14px;
    color:#cccccc;
    }
    #leftContentCell h3 {
    padding:0px;
    margin:0 0 4px 0;
    font-size: 14px;
    font-weight:bold;
    }
    .fullStatsLink {
    padding:8px;
    text-align:right;
    border-bottom:1px dashed #cccccc;
    font-size:10px;
    }
    #leagueMenu {
    background-color:#000000;
    height:25px;
    line-height:25px;
    width: 970px;
    color:#ffffff;
    padding-left:15px;
    font-size:10px;
    border-top:1px solid #666666;
    }
    #leagueMenu a {
    color:#cccccc;
    font-size:11px;
    padding:10px;
    }
    #teamMenu {
    background-color:#333333;
    height:40px;
    line-height:40px;
    color:#ffffff;
    padding-left:15px;
    font-size:13px;

    }
    #teamMenu a {
    color:#FFCC00;
    font-size:13px;
    padding:10px;

    }
    .latestNews {
    background:#ffffff;
    padding:3px;
    border:1px solid #999999;
    }
    .latestNews h2 {
    margin-top:0;
    }
    #statsFilter {
    border:1px solid #cccccc;
    padding:8px;
    }
    #statsPageContent .indStatsOn {
    border: 1px solid #006600;
    padding:4px 4px 4px 4px;
    font-weight:bold;
    text-decoration:none;
    background: #006600;
    color: white;
    }
    .indStatsOff {
    border:1px solid #cccccc;
    padding:4px;
    margin:0;
    text-decoration:none;
    }
    #pagination {
    margin:20px 0 0 0;
    border-top:1px solid #006600;
    padding-top:5px;
    }

    /* scoreboard styles */
    #scoreboard {
    paddding:0;
    }
    #scoreboard-table {
    margin-bottom:5px;
    }
    .scoreboard-not-started {
    border:1px solid #cccccc;
    }
    .scoreboard-not-started .header {
    background-color:#cccccc;
    padding:2px;
    text-align:center;
    }
    .scoreboard-in-progress {
    border:1px solid #006600;
    }
    .scoreboard-in-progress .header {
    background-color:#006600;
    color:#fff;
    padding:2px;
    text-align:center;
    }
    .scoreboard-unofficial {
    border:1px solid #D8E4F8;
    }
    .scoreboard-unofficial .header {
    background-color: #D8E4F8;
    color: #000;
    padding: 2px;
    text-align: center;
    }
    .scoreboard-finished {
    border:1px solid #666666;
    }
    .scoreboard-finished .header {
    background-color:#666666;
    color:#fff;
    padding:2px;
    text-align:center;
    }
    .scoreboard-team-name {
    border-bottom:1px solid #eeeeee;
    margin-bottom:5px;
    white-space: nowrap;
    padding-left: 30px;
    height: 40px;
    }
    .scoreboard-team-score {
    border-bottom:1px solid #eeeeee;
    font-size:15px;
    margin-bottom:5px;
    padding-left: 5px;
    padding-right: 5px;
    font-weight: bold;

    }
    .scoreboard-team-logo {
    border-bottom:1px solid #eeeeee;
    margin-bottom:5px;
    }
    .scoreboard-team-extra {
    color:#999999;
    font-size:10px;
    }
    .scoreboard-game-link {
    height: 20px;
    background-color: beige;
    text-align: center;
    font-weight: bold;
    margin-top: 3px;
    }

    /* team page styles */
    #statsPageContent h2 {
    background-color:#003300;
    color:#FFFFFF;
    font-size:16px;
    margin:15px 0 0;
    padding:4px;
    width:auto;
    }

    .topTeamStatsBox {
    background-color:#006600;
    color:#fff;
    width:53px;
    height:10px;
    padding:4px;
    text-align:center;
    border-left:1px solid #666;
    border-top:1px solid #666;
    border-right:1px solid #666;
    }

    .bottomTeamStatsBox {
    background-color:#000;
    color:#fff;
    text-align:center;
    padding:4px;
    width:53px;
    height:30px;
    line-height:30px;
    font-size:18px;
    border:1px solid #666;
    }
    .buttonLink {
    background-color:#006600;
    border:1px solid #999;
    color:#003300;
    padding:1px;
    display:block;
    height:12px;
    width:70px;
    background-image:url(../images/bg_buttonlink.jpg);
    background-repeat:repeat-x;
    }
    .teamLeadersTable {
    background-color:#FFFFFF;
    }
    .teamLeadersTable th {
    background-image:url(../images/bg_team_leaders_head.jpg);
    background-repeat:repeat-x;
    color:#fff;
    padding:4px;
    font-size:12px;
    }
    .teamLeadersTable td {
    padding:1px;
    }
    .teamLeadersTable a {
    color:#006600;
    }

    .weekSchedule td {
    text-align: center;
    padding: 2px;
    }

    .weekSchedule td.selectedWeek {
    background: #003300;
    color: white;
    }

    #statsPageContent .weekSchedule .selectedComplete a {
    background: #003300;
    color: white;
    padding: 3px;
    }

    i cant use iframes because they dont want to allow… site is a joomla 1.5 design… i hope i am making sense…

    trey

    #73185
    treybraid
    Member

    ANYONE?????

    #73190
    treybraid
    Member

    i cant get it to work no matter what i do… i just added that and it still is out of whack… i did go back in and i made sure i had a reference for the page-wrap in the html piece and in the css file… kinda stumped at this point.. i have googled and tried just about everything without success…

    here is the link

    http://amarillo-ifl.fbstats.pointstreak.com/football/scoreboard.html?leagueid=100

    thanks
    trey

    #73193
    treybraid
    Member

    thanks; but, it still doesnt work… for some reason i am unable to assign the stylesheet to the: <div class="page-wrap">.

    why i dont know at this point… any idea why this isnt working…

    thanks
    trey

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