Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Background image at bottom? Lil Help?
Old 05-02-2012, 06:00 PM Background image at bottom? Lil Help?
Ultra Talker

Posts: 267
Name: Patric
Trades: 0
Hi there, I was hoping some kind soul here could steer me in the right direction.

I want to have it so that the trucks background is always aligned on the bottom just before the footer, like on the home page.

http://www.barr-nunn.com/careers/?page_id=24

Does anyone have any suggestions on how I could get that done?

Thanks!
Reckoner is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-02-2012, 07:29 PM Re: Background image at bottom? Lil Help?
Physicsguy's Avatar
404 - Title not found

Posts: 1,061
Name: Scott Kaye
Location: Ontario
Trades: 0
Well, to align backgrounds, you can just use background-position in CSS. To align it to the bottom, just put background-position:bottom; on the div, and that should snap the image to the bottom.
__________________

Please login or register to view this content. Registration is FREE
Physicsguy is offline
Reply With Quote
View Public Profile Visit Physicsguy's homepage!
 
Old 05-02-2012, 07:39 PM Re: Background image at bottom? Lil Help?
lizciz's Avatar
Super Spam Talker

Posts: 845
Name: Mattias Nordahl
Location: Sweden
Trades: 0
I did this, which fixed it in Chrome.

* Add 100% height to html and body. I think you also want to zero their padding and margins. For example:
Code:
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}
* Change the min-height of #page from 850px to 100% (on line 74 in style.css), as in:
Code:
#page {
    max-width: 950px;
    margin-right: auto;
    margin-left: auto;
    min-height: 100%;
}
* Add a clearing div at the end of #page, so that it looks like this:
HTML Code:
<div id="page" class="hfeed">
    <header id="branding" role="banner">
        ...
    </header>
    <!-- #branding -->
    <div id="main">
        ...
    </div>
    <!-- #main -->

    <!-- ADD THIS LINE -->
    <div style="clear:both;"></div>

</div>
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 05-03-2012, 12:55 PM Re: Background image at bottom? Lil Help?
Ultra Talker

Posts: 267
Name: Patric
Trades: 0
worked like a charm!

http://www.barr-nunn.com/careers/?page_id=26

You're a scholar and a gentleman, thanks so much for your help.
Reckoner is offline
Reply With Quote
View Public Profile
 
Old 05-03-2012, 12:58 PM Re: Background image at bottom? Lil Help?
Novice Talker

Posts: 11
Trades: 0
Are you having an issue with the over lapping text at the bottom ?
ShinymanStudio is offline
Reply With Quote
View Public Profile
 
Old 05-03-2012, 01:06 PM Re: Background image at bottom? Lil Help?
Ultra Talker

Posts: 267
Name: Patric
Trades: 0
umm... not that I was aware of... site looks fine to me actually. If something looks wonky to you, please let me know.
Reckoner is offline
Reply With Quote
View Public Profile
 
Old 05-03-2012, 02:43 PM Re: Background image at bottom? Lil Help?
lizciz's Avatar
Super Spam Talker

Posts: 845
Name: Mattias Nordahl
Location: Sweden
Trades: 0
The text that overlaps the windscreen of the truck at the bottom is kind of hard to read. Dark text on a dark background. Maybe a white (or some other light color) semi-transparent container for the text would look nice, and still show the trucks.
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 05-03-2012, 07:28 PM Re: Background image at bottom? Lil Help?
Ultra Talker

Posts: 267
Name: Patric
Trades: 0
Oh, yeah, should have mentioned that those will be thrown into a jquery accordion with a fixed height so that should negate that issue.

if anything I'll just through a solid color around them.

Last edited by Reckoner; 05-03-2012 at 07:39 PM..
Reckoner is offline
Reply With Quote
View Public Profile
 
Old 05-06-2012, 05:45 PM Re: Background image at bottom? Lil Help?
chrishirst's Avatar
Defies a Status

Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by Reckoner View Post
Nothing at all to do with CSS, just that I love that domain/company name.


Why don't they have a by-line/tag-line of:

We are the best - Barr-Nunn.

Being a play on ->http://dictionary.reference.com/browse/bar+none
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Background image at bottom? Lil Help?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.48538 seconds with 11 queries