1 reply [Last post]
sayee3k1
Offline
newbie
Last seen: 19 years 6 weeks ago
Joined: 2004-02-14
Posts: 1
Points: 0

hai

i am building a site using php.

but i can't set alll my menu and body parts together.

what i am getting is at http//sai.zer0host.com/index.php

i used this as my css

body {

background-color white;
font-family courier;
font-size 13px;
colorblack;
margin1px;
padding-bottom20px;
scrollbar-face-color 00406A;
scrollbar-highlight-color BDBAE7;
scrollbar-3dlight-color B3AEDB;
scrollbar-darkshadow-color 000000;
scrollbar-shadow-color 18188C;
scrollbar-arrow-color F9BE05;
scrollbar-track-color DEDFF7;
border0px
}

#header { width100%;
height208px;
backgroundwhite;
borderpx solid ;
}

#mainbody {width70%;
margin-top1px;
margin-left5px;
margin-right5px;
margin-left120px;
padding-top5px;
padding-right5px;
padding-bottom5px;
padding-left20px;
background;
border1px solid #004898;
}

#menu { width30%;
margin-top1px;
margin-left5px;
margin-right1px;
positionabsolute;
top208px;
left0px;
width120px;
backgroundwhite;
colorblack;
border1px solid #004898;
text-align center;
}

#menuitem
{ colorblack;
text-align center;
}

#footer { width100%;
text-aligncenter;
margin-top5px;
padding1px;
backgroundwhite;
colorblack;
border1px solid #004898;
}

ahover { font-size14px;
background-coloryellow;
colordarkblue}

h1 { font-size30px}

h2 { font-size24px}

h3 { font-size20px}

p,h1,h2,h3 { margin 10px 10px 10px 10px}

.heading { font-familyLucida Calligraphy;
font-size36px;
background-coloryellow;
colorblue;
font-weightbold;
text-align center}

what is the fault in that I have used no tables in the body and menu

I want the css file like in http//iamchilledout.cjb.net/

any kind of suggestion will be reallly helpful.

thanks

urs
sai

dJomp
dJomp's picture
Offline
Enthusiast
Last seen: 7 years 8 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

php and css

The footer is the only thing that's off to me - add

clear:both;

to that, it should make things better.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.