DEVPPL
http://www.devppl.com/forum/

Length of the page
http://www.devppl.com/forum/viewtopic.php?f=43&t=12643
Page 1 of 1

Author:  Danthon [ Wed Jan 07, 2009 1:47 pm ]
Post subject:  Length of the page

After some years form the creation of my internet site I have decided to correct a little paging problem that i left unresolved for a lot of time (one time it wasn't so important...).

The site is created in xhtml e css and the problem is to equalize the length of the page (pratically the height) for all the browser, to better manage the space for the advertising banner.

I have tried to divide the page in variuos div setting the various heights with height and min-height but I can't make it uniform for a problem of the paypal cart code, I think.

I have tried to insert the central column in a table setting the height of the td but the problem stay.

For better understaning the problem I inserted an adsense banner on the right: if you open the page with firefox and then with explorer you will see that the end of this banner finish next to a different text line in the central column, and this make me difficult to manage the space in the bottom.

If you can help me to get, pace after pace, an optimal solution fully compatible with all the browser, that doesn't use hack and is validated in Wc3, I would be very grateful to you.

This is the address of a sample page:

http://www.idee-regalo.biz/cosa-regalare.html

Thank you all.

__________________
You have never see gift for him like these? (originelle geschenke on german)

Author:  dflynn [ Thu Jan 08, 2009 7:27 am ]
Post subject:  Re: Length of the page

Because every browser has a different default setting for html tags your page is naturally doomed to look slightly different amongst different browsers.
You can get around this with what is called a CSS Reset.
Possibly the most popular one can be found here:
http://meyerweb.com/eric/thoughts/2007/ ... -reloaded/

When you link to your CSS, first link to the CSS RESET. It will wipe the defaults of the user's browser and give you full control over how your website will be displayed.

There is a catch. You will have to start using CSS to define things like Line-height:; and add padding to almost everything such as in tables.
There are many new CSS commands to use because normally Browser defaults are acceptable.

However it is wel worth doing if you really want the unity.

Author:  Danthon [ Thu Jan 08, 2009 10:12 pm ]
Post subject:  Re: Length of the page

i go to try
meanwhile thanks
bye

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/