Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22
  1. #1
    Member
    Join Date
    Jan 2004
    Posts
    68
    Member #
    4547
    I got a question for you guys.

    I have a background image on a content div, however whenever I have padding and or margin on anything inside that div whether directly or indirectly it affects the positioning of the bg image.

    Anyway around this?

    Jake

    Edit: Forgot to put a link:

    www.pedrolimited.com

  2.  

  3. #2
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    have you got a link?

  4. #3
    Member
    Join Date
    Jan 2004
    Posts
    68
    Member #
    4547
    was editing as you posted. Sorry about that.

  5. #4
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    well if you set a margin to the content div, it will push the image as it is in a container div, setting padding doesn't affect it tho.

    can you give me a better example or explanation? what are you trying to achieve?

  6. #5
    Senior Member solidgold's Avatar
    Join Date
    Jun 2006
    Posts
    766
    Member #
    13373
    I too, am slightly confused about what you mean...

  7. #6
    Senior Member -chris-'s Avatar
    Join Date
    Apr 2006
    Location
    SK
    Posts
    1,205
    Member #
    13102
    I agree, what, specifically, is the problem?

    PS - Your site looks much better than it did when you first put it on the "How's My Site" board.
    Portfolio | Blog | Twitter

    Was my post, or someone elses, helpful? Click the thumbs up to let everyone know!

  8. #7
    Senior Member solidgold's Avatar
    Join Date
    Jun 2006
    Posts
    766
    Member #
    13373
    Yeah, it does look much nicer, now that you mention it!

  9. #8
    Member
    Join Date
    Jan 2004
    Posts
    68
    Member #
    4547
    Thanks guys.

    Right now the headings of the page (Welcome, Vision, Mission, etc.) all have margin:0 and padding:0. The reason for this is because if I add anything to theses elements they affect the background image.

    Jake

  10. #9
    Senior Member Karloff's Avatar
    Join Date
    Oct 2005
    Posts
    744
    Member #
    11702
    I just tested what you said and i can't see what you mean still, what you viewing it in?

    i'm in firefox and there are no prob?

  11. #10
    Member
    Join Date
    Jan 2004
    Posts
    68
    Member #
    4547
    hmmm... Weird. Let me make the changes I want to make and upload it so you can see it.

    I am following the advice I got on here, I design for Firefox then check IE and go from there.


Page 1 of 3 1 2 3 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:58 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com