How would I tackle this?

This is a discussion on "How would I tackle this?" within the Web Page Design section. This forum, and the thread "How would I tackle this? are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 17th, 2008, 19:01
Reputable Member
Join Date: Jun 2007
Location: Bellevue, SK, Canada
Age: 28
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
How would I tackle this?

I'm setteling down in my new country Canada now, and got back to webdesigning.. now I have a little problem with my own site.. It's a very typical problem.. I've heard it before, but I can't seem to solve my problem..

Here's the deal: http://www.poppen.ca and click on portfolio. Notice the bottom not having a full background?
Now I was thinking of making an overall wrapper and put the current page-background in that wrapper as a background, and make a repeating background instead of the current page-background.
When I tried that the repeating background was fine, but the "wrapper-background" only pulled down to the menu.
Is my idea a good one and if yes, how would I do it?

My code:
Code: Select all
<!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>Poppen.ca - RockSolid Webdesign</title>
<meta name="Description" content="Poppen.ca - RockSolid Webdesign" />
<meta name="Keywords" content="Mark Poppen poppen.ca webdesign saskatchewan saskatoon website websites" />
<meta name="Author" content="Poppen.ca / Fresh-style.nl" />
<link href="<?php echo TEMPLATEDIR; ?>customer/css/customer.css" rel="stylesheet" style="text/css" />
</head>

<body>

<div id="menu">
<!--CMS Menu-->
<?php if ( !empty( $menulist ) ) { ?>
<ul>
    <?php foreach( $menulist as $menu ) { ?>
        <li><a href="/<?php echo $menu['pageid']; ?>/<?php echo Functions::make_seo_string( $menu['title'] ); ?>"><?php echo $menu['title']; ?></a></li>
    <?php } ?>
</ul>
<?php } else { ?>
    Geen menu beschikbaar
<?php } ?>
<!--End CMS Menu-->
</div>

<div id="container">
<div id="content">
<!--CMS Content-->
<?php if ( !empty( $page ) ) { ?>
    <?php if ( $page['published'] ) { ?>
        <h1><?php echo $page['title']; ?></h1>
        <?php echo $page['content']; ?>
    <?php } else { ?>
        <p><?php echo $lang['error_customer_pagenotpublished']; ?></p>
    <?php } ?>
<?php } else { ?>
    <p><?php echo $lang['error_customer_pagenotfound']; ?></p>
<?php } ?>
<!--End CMS Menu-->
</div>

<div id="portfolio">
<a href="http://www.commun-art.nl/hartenheer/">Our latest site</a><br />
<img src="../templates/customer/i/portfolio.jpg" alt="Our latest website" />

</div>

</div>
</body>
</html>
CSS:
Code: Select all
@charset "utf-8";
* {
    padding: 0;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
}


body {
    background-color: #856046;
    background-image: url(../i/back.png);
    background-repeat: no-repeat;
    background-position: center top;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bolder;
    color: #000000;
    text-decoration: underline;
}

#menu {
    height: 35px;
    width: 773px;
    padding-top: 126px;
    padding-left: 15px;
}
#menu li  {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bolder;
    color: #000000;
    list-style-type: none;
    float: left;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #000000;
    padding-right: 5px;
    padding-left: 5px;
}
#menu li a {
    color: #000000;
    text-decoration: none;
}
#menu li a:hover {
    color: #000000;
    text-decoration: none;
    background-image: url(../i/backbutton.png);
}

#container {
    height: auto;
    width: 786px;
    clear: both;
}
#container #content {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    background-color: #6fbde0;
    float: left;
    width: 380px;
    padding-top: 20px;
    padding-left: 16px;
    margin-left: 2px;
    line-height: 20px;
    padding-right: 30px;
}
#container #portfolio {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 4px;
    float: left;
    height: auto;
    width: 166px;
    margin-top: 126px;
}
Reply With Quote

  #2 (permalink)  
Old Jan 17th, 2008, 19:42
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: How would I tackle this?

This should do the trick, http://www.alistapart.com/articles/fauxcolumns/
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #3 (permalink)  
Old Jan 24th, 2008, 03:38
Reputable Member
Join Date: Jun 2007
Location: Bellevue, SK, Canada
Age: 28
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How would I tackle this?

Ok, I tried changing a few things, and it looks good in IE7 and IE6, but for some reason FireFox doesn't show the whole background image..
What's up with that?

My new code:
Code: Select all
<!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>Poppen.ca - RockSolid Webdesign</title>
<meta name="Description" content="Poppen.ca - RockSolid Webdesign" />
<meta name="Keywords" content="Mark Poppen poppen.ca webdesign saskatchewan saskatoon website websites" />
<meta name="Author" content="Poppen.ca / Fresh-style.nl" />
<link href="<?php echo TEMPLATEDIR; ?>customer/css/customer.css" rel="stylesheet" style="text/css" />
</head>

<body>

<div id="wrapper">
<div id="menu">
<!--CMS Menu-->
<?php if ( !empty( $menulist ) ) { ?>
<ul>
    <?php foreach( $menulist as $menu ) { ?>
        <li><a href="/<?php echo $menu['pageid']; ?>/<?php echo Functions::make_seo_string( $menu['title'] ); ?>"><?php echo $menu['title']; ?></a></li>
    <?php } ?>
</ul>
<?php } else { ?>
    Geen menu beschikbaar
<?php } ?>
<!--End CMS Menu-->
</div>

<div id="container">
<div id="content">
<!--CMS Content-->
<?php if ( !empty( $page ) ) { ?>
    <?php if ( $page['published'] ) { ?>
        <h1><?php echo $page['title']; ?></h1>
        <?php echo $page['content']; ?>
    <?php } else { ?>
        <p><?php echo $lang['error_customer_pagenotpublished']; ?></p>
    <?php } ?>
<?php } else { ?>
    <p><?php echo $lang['error_customer_pagenotfound']; ?></p>
<?php } ?>
<!--End CMS Menu-->
</div>

<div id="portfolio">
<a href="http://www.commun-art.nl/hartenheer/">Our latest site</a><br />
<img src="../templates/customer/i/portfolio.jpg" alt="Our latest website" />

</div>
</div>

</div>
</body>
</html>
My new CSS:
Code: Select all
@charset "utf-8";
* {
    padding: 0;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
}


body {
    background-color: #856046;
    background-image: url(../i/background.png);
    background-repeat: repeat-y;
    background-position: center top;
}

h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bolder;
    color: #000000;
    text-decoration: underline;
}

#wrapper {
    background-image: url(../i/back.png);
    background-position: center top;
    background-repeat: no-repeat;
}

#menu {
    height: 35px;
    width: 773px;
    padding-top: 126px;
    padding-left: 15px;
}
#menu li  {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: bolder;
    color: #000000;
    list-style-type: none;
    float: left;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #000000;
    padding-right: 5px;
    padding-left: 5px;
}
#menu li a {
    color: #000000;
    text-decoration: none;
}
#menu li a:hover {
    color: #000000;
    text-decoration: none;
    background-image: url(../i/backbutton.png);
}

#wrapper #container {
    height: auto;
    width: 786px;
}
#container #content {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    background-color: #6fbde0;
    float: left;
    width: 380px;
    padding-top: 20px;
    padding-left: 16px;
    margin-left: 2px;
    line-height: 20px;
    padding-right: 30px;
}
#container #portfolio {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 4px;
    float: left;
    height: 320px;
    width: 166px;
    margin-top: 126px;
}
Reply With Quote
  #4 (permalink)  
Old Jan 24th, 2008, 03:51
Reputable Member
Join Date: Jun 2007
Location: Bellevue, SK, Canada
Age: 28
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
Re: How would I tackle this?

I think i kinda fixed it, but it's not the way it should be.. I made the wwrapper div 610px heigh, so my dancing girl shows up all the way to her feet..
I still think there must be a better way..
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 21:47.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43