Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pelsar

macrumors regular
Original poster
Apr 29, 2008
180
0
israel
two problems on my new site....on this typical page the the bottom footer should show up just under where the text ends...it doesnt it remains at the sameplace on the page.

http://www.spinnerdesign.co.il/AboutUs2.html
http://www.spinnerdesign.co.il/AboutUs.html


problem two:
this "container" page is the base for 15 additional pages...so the text block must be flexible as each page will have different amounts of text...does that mean it should be an .ID?...or a class

___
 
problem two:
this "container" page is the base for 15 additional pages...so the text block must be flexible as each page will have different amounts of text...does that mean it should be an .ID?...or a class

Whether to use and id or class is totally the wrong question. CSS can style either equally well. When deciding between the two is for an id, the element should be unique on a page, whereas a class may be used more than once per page.

As far as problem 1, you're using a lot of absolute positioning and specifying a specific height in pixels. This is the root of your page being inflexible. Don't use absolute unless necessary, and don't declare a height so the content will fill the elements and they'll expand as needed. Looks like it'll take a bit of reworking the CSS to get this done.
 
Whether to use and id or class is totally the wrong question. CSS can style either equally well. When deciding between the two is for an id, the element should be unique on a page, whereas a class may be used more than once per page.

As far as problem 1, you're using a lot of absolute positioning and specifying a specific height in pixels. This is the root of your page being inflexible. Don't use absolute unless necessary, and don't declare a height so the content will fill the elements and they'll expand as needed. Looks like it'll take a bit of reworking the CSS to get this done.

a new an improved version....

http://www.spinnerdesign.co.il/AboutUs.html

i modified the CSS so that the class no longer has a definitive length...and now it goes pretty far...any ideas what i 'm doing wrong?
 
thanks for the input...

I've decided to recode the site...its a mess (i gave it to some else to do).....who didnt seem to know a "whole lot".....
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.