leeym
02-23-2004, 06:35 PM
If you look at www.apple.com, there is a header bar at the top of the bar that stretches to the full extent of the browser window.
excluding the graphical portion, how is that done?
thanks in advance for your help.
starcraftmazter
02-24-2004, 04:17 AM
Do you mean the margin?
leftmargin="0"
Whiteknight
02-28-2004, 06:51 PM
in your css stylesheet, or somewhere in your page, make sure you include this:
<style type="text/css">
body
{
margin: 0px;
}
</style>
that will get rid of the whitespace along the edges of the page.
then what the apple site does, is construct a table that is 100% wide, and has 0 cellspacing and cellpadding. the table (actually, it is a few tables embedded, but that doesnt matter) is broken up into each section and button you see. Each section has an image specified as a background (to avoid image borders)
also, each td has the onclick javascript property enabled, so that when you click the td, it acts like a link.
its pretty simple really, although the code is very convoluted, and they dont comment anywhere. thats just bad form.
Coliver
04-21-2004, 02:51 AM
That is most likely a combination of graphics and absolute values (tables)
I'm not expert and I'd like to seek help in this too.
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.