...

View Full Version : Hi need some help on a site.



KoRe
02-20-2009, 06:08 AM
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.

oesxyl
02-20-2009, 08:24 AM
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

Excavator
02-20-2009, 10:48 AM
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 (http://www.quirksmode.org/css/clearing.html).

KoRe
02-20-2009, 10:58 PM
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.

KoRe
02-21-2009, 12:15 AM
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?

KoRe
02-21-2009, 12:38 AM
Sorry fixed, lol ill stop bothering you now :)

Excavator
02-21-2009, 12:38 AM
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 -
#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 (http://www.tyssendesign.com.au/articles/css/absolute-positioning-pitfalls/).


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.
...

KoRe
02-21-2009, 01:39 AM
im going to have to hack this so bad for ie.

effpeetee
02-21-2009, 03:54 PM
You do have some validation errors here (http://validator.w3.org/check?uri=http%3A%2F%2Fjd-bytes.com%2Ftest%2Findex2.html&charset=%28detect+automatically%29&doctype=Inline&group=0).

Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum