Jump to content

Archived

This topic is now archived and is closed to further replies.

esytiger

Problem in fonts and colors in css file,and loading page

Recommended Posts

Hello dear programers
This my problem If anyone can help me,I will be so thanksfull,:

I have a full site script package which is in php,(I dont knoe php !!:( )
There is a style.css file,which I could change in colors and fonts,...but
I want to change a page with new design and colors and style,I tried to edit style.css file
(I deleted,changed it :/body, td, .forTexts/ but NOTHING happend!!)to make this page OK,But I couldnt,page doesnt load with its fonts and colors.

------------------------------------------

I past the original style.css :

form { margin-top: 0px;margin-bottom: 0px;margin-left: 0px;margin-right: 0px;}
.toptable {
background-color: FF8D00;
}

a.toplink, a.toplink:hover, a.toplink:visited, a.toplink:active {
color: white;
text-decoration: none;
}
.forCopyright {
font-family: Times New Roman;
font-size: 11px;
color: #EDD1D7;
text-align: center;
background-color: ff8d00;
}

body, td, .forTexts {
font-family: Times New Roman;
font-size: 13px;
color: #000000;
}
a.menutxt, a.menutxt:hover, a.menutxt:visited, a.menutxt:active {
font-family:Times New Roman;
font-size: 13px;
color: #F3FBB4;
}
.menutxt {
font-family: Times New Roman;
font-size: 12px;
color: #000000;
}
th {
font-family: Times New Roman;
font-size: 12px;
color: #000000;
}

.title {
font-family: Times New Roman;
font-size: 12px;
color: #FFFFFF;
    background-color: #FF8D00;
}

.inpts {
font-family: Times New Roman;
font-size: 12px;
color: #5D0400;
background-color: #D1CDFF;
border: 1px inset #000000;
border-color: #000000;
border-style:dashed;
}
.sbmt {
font-family: Times New Roman;
font-size: 13px;
color: #1D0067;
background-color: #cccccc;
border: 5px outset #ffffec;
}
a.hlp, a.hlp:active, a.hlp:visited, a.hlp:hover { font-family: Times New Roman; font-size: 13px; color: black; text-decoration: none; cursor: help;}

.line {
background-color: 000000;

}
div.framebody {
text-align: left;
}
td.inheader {
background-color: cccccc;
font-weight: bold;
text-align: center;
        padding-left: 2px;
        padding-right: 2px;
        padding-top: 2px;
        padding-bottom: 2px;
}
td.item {
background-color: cccccc;
}
h3 {
font-weight: bold;
font-size: 12px;


}
td.gray {
        color: gray;


--------------------------------------------------------

and this is my new page styles :

.style1 {
color: #4c687e;
font-weight: bold;
font-size: 11px;
font-family: Arial;
}
.style2 {
font-family: Tahoma;
font-size: 10px;
}
.style3 {
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
.style4 {
font-family: Tahoma;
font-size: 11px;
font-weight: bold;
color: #c10416;
}
.style5 {color: #FFFFFF}
.style6 {
font-size: 11px;
font-weight: bold;
}
.style8 {font-family: Tahoma; font-size: 10px; color: #4c687e; }
.style9 {font-size: 12px}
.style10 {
color: #0a2c50;
font-family: Tahoma;
font-size: 11px;
}
.style11 {color: #66809b}
.style12 {color: #c10416}
.style13 {
font-family: Tahoma;
font-size: 11px;
font-weight: bold;
color: #FFFFFF;
}
---------------------------------------------------

If I change the fonts and colors in new page manually,The page doesnt come up at all.
please help me if you can.
best regards

Share this post


Link to post
Share on other sites
This is not a PHP question can you please post it in a CSS forum like this [url=http://www.phpfreaks.com/forums/index.php/board,5.0.html]http://www.phpfreaks.com/forums/index.php/board,5.0.html[/url]

Regards
Liam

Share this post


Link to post
Share on other sites
Please show how your using thus CSS file?

Ken

Share this post


Link to post
Share on other sites
There is a file style.css , I dont know whta did you mean,but,new page has its own styles in header.
Ipast these styles in style.css file,like all styles,but it doesnt work

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.