Thanks to some encouragement within this forum, I decided to learn CSS right after I learnt how to create sliced template, instead of messing around with old-fashion tables.
As far as CSS positioning goes, is it often guess work?
For example, in order to align an image with a navigational panel above it, I had to guess the specification "Right: 68.9%;"... etc.
I would appreciate if somebody could take a look at the design at http://www.b50.net and tell me what is wrong. I shall paste the CSS file here for scrutiny. There must be an easier way to do this... and is there an easy way to centralize the banner, instead of guess-specifying "Left: 8%; Right: 8%;" etc?
Thank you, guys.
EDITED TO ADD: Oh dear, I just found out that it looks like rubbish on Safari, I don't know about IE, but it looks just fine on Mozilla. Is CSS too advanced to cater to a wide audience? Should I stick with tables as it seems that I am wasting time designing only for the Mozilla platform...?
As far as CSS positioning goes, is it often guess work?
For example, in order to align an image with a navigational panel above it, I had to guess the specification "Right: 68.9%;"... etc.
I would appreciate if somebody could take a look at the design at http://www.b50.net and tell me what is wrong. I shall paste the CSS file here for scrutiny. There must be an easier way to do this... and is there an easy way to centralize the banner, instead of guess-specifying "Left: 8%; Right: 8%;" etc?
Thank you, guys.
EDITED TO ADD: Oh dear, I just found out that it looks like rubbish on Safari, I don't know about IE, but it looks just fine on Mozilla. Is CSS too advanced to cater to a wide audience? Should I stick with tables as it seems that I am wasting time designing only for the Mozilla platform...?
/* CSS Document */
body {
background-color: #FFFFFF;
color: #000000;
}
#banner {
position: absolute;
height: 307px;
left: 8%;
right: 8%;
top: 15px;
}
#navigation {
position: absolute;
height: 59px;
top: 322px;
left: 8%;
right: 8%;
}
#welcome {
position: absolute;
left: 8%;
top: 381px;
right: 35%;
}
#standingman {
position: absolute;
top: 381px;
right: 8%;
width: 269px;
<!-- the image gets aligned only if I include the following variable-->
<!--left: 65.8%;-->
}
Last edited:







