Jump to content

Background footer.


Carlton

Recommended Posts

I'm trying to make it so that the footer will automatically adjust to the end of the page. My old page strangely adjusted it based on the content, I don't want that. This is my current CSS code for the footer.

 

#end{ background:#000000; background-repeat:repeat-x;}

 

Any help?

Link to comment
Share on other sites

I'm trying to make it so that the footer will automatically adjust to the end of the page. My old page strangely adjusted it based on the content, I don't want that. This is my current CSS code for the footer.

 

#end{ background:#000000; background-repeat:repeat-x;}

 

Any help?

You mean to sit at the very bottom of the page? btw, with that css, we only know that is black and that your setting repeat for an image that you didn't set.

 

Post your HTML or post a link to your site please, we are here to adjust code not write it

Link to comment
Share on other sites

I'm trying to make it so that the footer will automatically adjust to the end of the page. My old page strangely adjusted it based on the content, I don't want that. This is my current CSS code for the footer.

 

#end{ background:#000000; background-repeat:repeat-x;}

 

Any help?

You mean to sit at the very bottom of the page? btw, with that css, we only know that is black and that your setting repeat for an image that you didn't set.

 

Post your HTML or post a link to your site please, we are here to adjust code not write it

 

Simply

 

<div id="footer">

    <p>dd</p>

</div>

 

I put dd for debug purposes.

Link to comment
Share on other sites

Look the less you say the less you can expect from us, we don't know what your website looks like and certainly don't know what you mean with a description like:

I'm trying to make it so that the footer will automatically adjust to the end of the page. My old page strangely adjusted it based on the content, I don't want that.

 

besides that, your website uses more than just :

<div id="footer">
    <p>dd</p>
</div>

 

Anyways if you want to put a div or any container at the bottom of the page. you can for instnace use position:relative or position absolute depending on what you really want, but we don't know here. because you didn';'t show or told.

 

So try this out and see if it works for if not have a read on position relative and absolute

 

div#bottom{
position:absolute;
bottom:0;
width:960px;
height:200px;
background:#000;
}

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.