|
| |
|
|
fleur
Posts: 33 Joined: 2/1/2004 From: London, England Status: offline
|
bgcolor: "#8FCCCC"; doesn't work! - 2/24/2004 10:59:29
Hi there all you experts! I was wondering if someone could explain why after adding a background colour to a table data tag in my CSS, there is no change to the table data I apply the style to. If I change anything else, such as increase/decrease the size of the font, or change font colour, it's applied immediately - so I'm at a loss here! I have many TD descriptions in my CSS, and the others work just fine. I've copied the code for the troublesome TD below: TD.tdb-head1 { bgcolor: "#8FCCCC"; text-align: "left"; font-size: "80%"; color: "#0D6CA6"; font-weight: "bold"; valign: "top"; } Thanks for your help Fleur
|
|
|
|
Giomanach
Posts: 6090 Joined: 11/19/2003 From: England Status: offline
|
RE: bgcolor: "#8FCCCC"; doesn't work! - 2/24/2004 11:02:51
bgcolor: "#8FCCCC"; Not standard CSS, replace it with: background: #8FCCCC; That works, I know it does, I use it all the time. HTH Dan
_____________________________
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: bgcolor: "#8FCCCC" (reply to Dan & M) - 2/25/2004 7:15:50
[quote]TD.tdb-head1
{
margin-top: 5px;
margin-bottom: 5px;
background: #8FCCCC;
text-align: "left";
font-size: "80%";
color: "#0D6CA6";
font-weight: "bold";
valign: "top";
} [/quote] You have "" around several things in your styles that aren't supposed to have them, left, 80% bold, top, and of course as Gorilla pointed out the #0D6CA6. Try removing them and see what happens.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
fleur
Posts: 33 Joined: 2/1/2004 From: London, England Status: offline
|
RE: bgcolor: "#8FCCCC" (reply to Dan & M) - 2/25/2004 7:27:50
Dear M (alias Gorilla) I wish I was somewhere else but grey London right now - have never been to Copenhagen but have a wonderful Danish friend and have visited him in Herning. But back to my problem - I removed the quotes from the color: #0D6CA6; but no change (not sure if that's what I was supposed to do!?) I have to tell you that untill deciding to develop this website for my company, ie: http://www.ChangeFacilitators.com, the last one I developed was for a small client using FP98, way back in 1999! So I'm pretty new to all this stuff and have learned it all on my own...ie. a real newbie as compared to you... My view was that what I wanted to do was fairly simple, so try it myself and learn something at the same time. But I'm finding it would take months of working only at this to get good at it, and unfortunately, since I'm also trying to develop and re-launch my business, I don't have enough time If you have the inclination and the time to have a look at my website, I hope you will think it is ok, except that I have a major problem still - some pages take too long to load, the worst being the Facilitating Change page. Well, I won't trouble you any longer, except to say that if you think you can help me optimise it, I'd be very grateful   Please let me know. Best wishes from cloudy London England (from a Canadian who wishes she was in Montreal ) marie-paule
|
|
|
|
fleur
Posts: 33 Joined: 2/1/2004 From: London, England Status: offline
|
RE: bgcolor: "#8FCCCC" (reply Gorilla) - 2/25/2004 7:34:31
PS my website address is http://www.ChangeFacilitators.com fleur (in the previous reply the comma got stuck in the URL so when you click on the link it can't find the website!)
|
|
|
|
d a v e
Posts: 4086 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: bgcolor: "#8FCCCC" (reply c1sissy) - 2/25/2004 8:29:42
try topstyle lite (free) http://www.bradsoft.com/download/index.asp to write your style sheets - much easier, keeps it safe out of FP's dirty paws. one thing to note in your body tag body
{ font-family: Verdana, Arial, Courier New;
bgcolor: "#FFFFFF";
color: "#0D6CA6";
text-align: left;
margin-top: 2;
margin-left: 0;
margin-right: 0;
} should be (i know you know about the ""s)
body
{ font-family: Verdana, Arial, "Courier New", sans-serif; /*you might prefer to remove courier new and leave the generic san-serif*/
background-color: #FFFFFF; *bg-color is html*/
color: #0D6CA6;
text-align: left;
margin-top: 2px; /*you must specify a unit, pixels or ems or percentage*/
margin-left: 0px; /*its better to put in a unit here as well but not strcitly necessary - zero is zero*/
margin-right: 0px;
}
_____________________________
David Prescott Gekko web design
|
|
|
|
d a v e
Posts: 4086 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: bgcolor: "#8FCCCC" (reply c1sissy) - 2/25/2004 8:33:10
p.s. also background: #8FCCCC; doesn't work! because it needs to be background-color: #8FCCCC; also it's a good idea not to use - in style names, better to use TD.tdbSmallBold or TD.tdbsmallbold
_____________________________
David Prescott Gekko web design
|
|
|
|
d a v e
Posts: 4086 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: bgcolor: "#8FCCCC" (reply c1sissy) - 2/25/2004 8:39:22
p.s. (would have been easier to write all this in one message) if you have a gecko based browser (NN6+, mozilla, firefox...) then you can get a quick html or css reference tab installed into your sidebar (handy if you have a permanent connection) http://devedge.netscape.com/toolbox/sidebars/ ah yes you can also use background: #8FCCCC; or background-color: #8FCCCC; The 'background' property is a shorthand property for setting the individual background properties jsut in case you get confused!
_____________________________
David Prescott Gekko web design
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: bgcolor: "#8FCCCC" (reply c1sissy) - 2/25/2004 9:21:08
quote:
ORIGINAL: d a v e try topstyle lite (free) http://www.bradsoft.com/download/index.asp to write your style sheets - much easier, keeps it safe out of FP's dirty paws. one thing to note in your body tag body
{ font-family: Verdana, Arial, Courier New;
bgcolor: "#FFFFFF";
color: "#0D6CA6";
text-align: left;
margin-top: 2;
margin-left: 0;
margin-right: 0;
} should be (i know you know about the ""s)
body
{ font-family: Verdana, Arial, "Courier New", sans-serif; /*you might prefer to remove courier new and leave the generic san-serif*/
background-color: #FFFFFF; *bg-color is html*/
color: #0D6CA6;
text-align: left;
margin-top: 2px; /*you must specify a unit, pixels or ems or percentage*/
margin-left: 0px; /*its better to put in a unit here as well but not strcitly necessary - zero is zero*/
margin-right: 0px;
}
This is excellent advice! Also Dave, one thing that I dont know about is how they get the css into the frontpage after doing it. There are several areas in here where people have questioned the placement of their css file into front page, if I am making sense?
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
Giomanach
Posts: 6090 Joined: 11/19/2003 From: England Status: offline
|
RE: bgcolor: "#8FCCCC" (reply c1sissy) - 2/25/2004 9:24:27
Getting CSS into FP depends on the version you are using: FP2000 and eariler has to be done manually, FP20002 has the option of making a link to the stylesheet, FP2003, doesn't that do CSS anyway?? DW does it for you so no worries there Dan
_____________________________
|
|
|
|
c1sissy
Posts: 5084 Joined: 7/20/2002 From: NJ Status: offline
|
RE: bgcolor: "#8FCCCC"; doesn't work! - 2/25/2004 9:59:08
Your link order is incorrect. You have a:active { color: #8FCCCC }
a:link { color: #3BACC3 }
a:visited { color: #00759C }
The correct order of links should be a:link { }
a:visited { }
a:hover { }
a:active hope this helps out a bit.
_____________________________
Deb-aka-c4Ksissy high panjandurum and alpha female of the silverback tribe As decreed by Jesper 5-24-2003. The only stupid question is... the one that is never asked!! http://directory.css-styling.com http://fmsforum.com http://positioniseverything.net/ http://www.tanfa.co.uk/
|
|
|
|
fleur
Posts: 33 Joined: 2/1/2004 From: London, England Status: offline
|
RE: bgcolor: "#8FCCCC" (reply c1sissy) - 2/25/2004 10:09:54
Finally, I can be of some help to you guys!!! When you create a style sheet in PF2003, you create it with a file extension of .css (as I said in my previous reply I preferd to code it manually, copying and pasting stuff etc). The key to having the CSSs work properly is to create a new folder in your local website directory, example: C:\my websites\website05 --> foldername05 --> _borders --> _private --> ...... --> images --> New_Folder and then you store all the CSS files in this folder. In my case, I defined a template which I use for all the pages on my website. So I modified the template by going to the main task bar: 1. go to FORMAT --> Style Sheet Links 2. on this menu, click "all pages" (so the CSS pages you add to the list will be linked to all pages in the website - this depends on what you are doing really) 3. now add all the style sheets in the correct order if you have more than one (which I do). If you already had style sheets defined and stored somewhere else, you first need to delete the links to them: If you don't apply all of the style sheets to each page in your website, you'll have to go to each page individually, then 1. go to FORMAT --> Style Sheet Links 2. remove the click next to "all pages" 3. for each CSS in the list, first highlight the file link (it will show up as still in the old folder name) and click remove to delete the old references. 4. then add each CSS one by one from the New Folder as required. Obviously, if you are using all CSSs in all pages of your web, you only need to do this on one page. Hope this isn't too confusing! fleur
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|