Jump to content


Photo

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


  • Please log in to reply
3 replies to this topic

#1 esytiger

esytiger
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 28 July 2006 - 06:42 PM

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

#2 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 28 July 2006 - 06:53 PM

This is not a PHP question can you please post it in a CSS forum like this http://www.phpfreaks.../board,5.0.html

Regards
Liam
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge

#3 kenrbnsn

kenrbnsn
  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 28 July 2006 - 06:56 PM

Please show how your using thus CSS file?

Ken

#4 esytiger

esytiger
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 28 July 2006 - 08:06 PM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users