Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New Coder
    Join Date
    Feb 2009
    Posts
    22
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Hi need some help on a site.

    Okay well i been trying to play with this scaling for a bit cant seem to figure it out but i needed to get up the site anyways so i just made it a fixed height for the mean time.

    basicly the background image i made that would scale on the heighth of the page doesnt do it i have divs within that and it doesnt seem to think that its content so it just doesnt scale with it.

    If anyone wants to help me out with this i will mail you the template i designed so you can check the code and if possible fix the scaling issue its nothing to major so it doesnt have to be completed asap. any time a week or so would be fine.

    if you would like to help me out on this post a msg here and ill pm you the zip with my code. thanks.

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by KoRe View Post
    Okay well i been trying to play with this scaling for a bit cant seem to figure it out but i needed to get up the site anyways so i just made it a fixed height for the mean time.

    basicly the background image i made that would scale on the heighth of the page doesnt do it i have divs within that and it doesnt seem to think that its content so it just doesnt scale with it.

    If anyone wants to help me out with this i will mail you the template i designed so you can check the code and if possible fix the scaling issue its nothing to major so it doesnt have to be completed asap. any time a week or so would be fine.

    if you would like to help me out on this post a msg here and ill pm you the zip with my code. thanks.
    I guess you post in the wrong forum. CF have a forum for payed projects, Web Project.

    regards

  • #3
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,672
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello KoRe,
    What your describing is a container with floats in it that have not been cleared. Have a look at this page about clearing floats.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #4
    New Coder
    Join Date
    Feb 2009
    Posts
    22
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Wel thanks for both of your replys but i still cant seem to do it =\

    i removed all my code from the page and made it html. so you could take a look.

    http://jd-bytes.com/test/index2.html

    if possible would you be able to pinpoint the area im having a problem?

    the black/grey long width'd section is the footer. its the only one that seems to scale properly with the contentarea. But i cant get the inside divs to scale =\

    Any help would be greatly appreciated. i been working on this for a very long time now and i had to set contentarea a set height to acatuly make it work properly so i wasnt stuck on same thing for days on end.
    Last edited by KoRe; 02-20-2009 at 11:00 PM.

  • #5
    New Coder
    Join Date
    Feb 2009
    Posts
    22
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Ok well i fixed the contentarea not scaling it was because of position:absolute; on the other divs.

    now my next problem if you take a look at, www.jd-bytes.com/test/index2.html

    i basicly had to restart the div positioning over but now i cant seem to get 2 divs beside each other?

  • #6
    New Coder
    Join Date
    Feb 2009
    Posts
    22
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Sorry fixed, lol ill stop bothering you now

  • #7
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,672
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello again KoRe,
    That's looking a little better. There is still about 4 pages of CSS for basically 5 images and no content, seems pretty heavy on the code.

    Anyway, to put elemenst side by side, one needs to be floated. Like this -
    Code:
    #FLASHBANNER {
    	width:610px;
    	height:270px;
    float: left;
    	/*z-index:3; has no affect here*/
    	margin:auto 5px auto;
    	background-image: url(http://gaminggrounds.org/theme/default/images/FLASHBANNER.png);
    	/*clear: both; stops the float*/
    }
    Have a look at this page that explains some of the troubles you're running into with absolute positioning.


    And now that you're using floats, you will want to refer back to that page about clearing floats that I mentioned in my earlier reply.
    ...
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #8
    New Coder
    Join Date
    Feb 2009
    Posts
    22
    Thanks
    2
    Thanked 0 Times in 0 Posts
    im going to have to hack this so bad for ie.

  • #9
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    You do have some validation errors here.

    Frank
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •