|
SwiftVets.com Service to Country
|
View previous topic :: View next topic |
Author |
Message |
Guest
|
Posted: Sat Dec 04, 2004 2:59 am Post subject: Off Topic~~~I need help!!!! Plz................... |
|
|
As many of you know I began a forum. Since I am out of work and trying to make money from some of my puter skills I decided to get Google Ad Sense up on the board. Sparklit allows this and Google approved my account, so I am ready to make money....I hope God willing.
The problem is I have put the Html in my CSS but they are not showing up. I contacted Google's support, but they were no help....can anyone here help me??????????????
Thanks!!!!!! |
|
Back to top |
|
|
DLI78 PO3
Joined: 10 Nov 2004 Posts: 273
|
Posted: Sat Dec 04, 2004 5:42 am Post subject: |
|
|
Hi. Before I went legit I did some web page work. I can't promise I will be able to fix the problem, but email me the HTML you're trying to get working and I'll take a look. I never got stuck doing CSS, but HTML is fairly easy to troubleshoot.
BTW, are you trying to look at it in Netscape? You have to be 100% perfect for it to show up in Netscape. Internet Exploder, um, Explorer is much sloppier.
Are you sure your upload of the code to your site worked? Like I said, I never worked with CSS. Are you sure the rest of your site correctly references the style sheets?
You can send email to me at dawei@pacbell.net. Everybody else in the world seems to email me there every day. In the subject line say: Dave, code question. That might get you past the spam filters. _________________ DLI 78
Army Linguist
1978-1986 |
|
Back to top |
|
|
RogerRabbit Master Chief Petty Officer
Joined: 05 Sep 2004 Posts: 748 Location: Oregon
|
Posted: Sat Dec 04, 2004 2:03 pm Post subject: |
|
|
Doll, you have me a bit confused when you say you put the snippet (Google code) in your CSS. CSS is your style code and that does not sound right to me. It should go in the body of the page (between <body> </body> tags) or in some cases if it is Java code goes in between the <head> </head> tags. _________________ "Si vis pacem, para bellum" |
|
Back to top |
|
|
Guest
|
Posted: Wed Dec 08, 2004 1:33 am Post subject: |
|
|
RogerRabbit wrote: | Doll, you have me a bit confused when you say you put the snippet (Google code) in your CSS. CSS is your style code and that does not sound right to me. It should go in the body of the page (between <body> </body> tags) or in some cases if it is Java code goes in between the <head> </head> tags. |
Thanks guys I appreciate it. You are right, but when I put it in between the body codes the whole page went bonkers. I just do not get this. I have worked with HTLM and this is the first time I have ever had problems.
If I do not get it soon I will have to take up the email offer!!! LOL!!! Thanks again you guys are great! |
|
Back to top |
|
|
Guest
|
Posted: Wed Dec 08, 2004 4:28 am Post subject: Dave, code question. |
|
|
Hi Dave,
I appreciate you offering to take a look at this. I copied the template with the google add sense code in it. I am grateful if you can correct it for me. I put it in a word doc because I do not like Frontpage at all. If you are able to correct it to work then I will delete the template I have now, and replace it with the one you send me back.
I tried to email two times, but I need authorization to send you email. So, I will copy it here and maybe you can look at it and copy it and fix it??????
I appreciate all your help. If you want to take a look at the forum the URL is third down in my signature. Thanks so much!!! You can send it to doll1956@earthlink.net ( I do not know why those emoticons are there so just get rid of them.......LOL.....probably some glitch when I posted the smilie!!!!)
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {<script type="text/javascript"><!--
google_ad_client = "pub-1837261783836445";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
google_ad_type = "text";
google_color_border = "DFF2FD";
google_color_bg = "DFF2FD";
google_color_link = "0000CC";
google_color_url = "008000";
google_color_text = "000000";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
background-color: #FFFFFF;
/* scrollbar-arrow-color: #1D2938;
scrollbar-face-color: #9DB3CC;
scrollbar-track-color: #D6DEE9;
scrollbar-highlight-color: #C8D3E1;
scrollbar-3dlight-color: #EAEFF4;
scrollbar-shadow-color: #7492B6;
scrollbar-darkshadow-color: #3A5370;*/
}
/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
a { text-decoration: underline; color: #0053A2; }
a:visited { text-decoration: underline; color: #00468C; }
a:hover, a:active { text-decoration: underline; color: #FF6633; }
hr { height: 0px; border: solid #0053A2 0px; border-top-width: 1px;}
/* This is the outline round the main forum tables */
.forumline { background-color: #0053A2; }
/* Profile data. Visible only with eXtreme Styles mod. */
.profileline { background-color: #B8CEE4; }
td.profile { background-color: #F4F7FE; font-size: 10px; color: #0053A2; }
/* Main table cell colours and backgrounds. row1 - row3 are set in overall_header.tpl */
td.row4 { background-color: #EAEDF4; }
/*
This is for the table cell above the Topics, Post & Last posts on the index.php page
By default this is the fading out gradiated silver background.
However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
background-color: #FFFFFF;
}
/* Header cells - the blue and silver gradient backgrounds */
th, td.th {
color: #0053A2; font-size: 12px; font-weight: bold;
background-color: #F1F5F9; height: 26px;
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight {
background-color: #F1F5F9; height: 28px; text-align: center;
}
td.catBottom {
background-color: #F1F5F9; height: 28px;
}
td.th2 {background-color: #F1F5F9; height: 20px; color: #000000; }
td.spaceRow { background-color: #F1F5F9; color: #000000; }
/*
Setting additional nice inner borders for the main table cells.
The names indicate which sides the border will be on.
Don't worry if you don't understand this, just ignore it
*/
/* The largest text used in the index page title and toptic title etc. */
h1,h2 {
font-weight: bold; font-size: 18px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
text-decoration: none; line-height : 120%; color: #000000;
}
.maintitle {
font-weight: bold; font-size: 18px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
text-decoration: none; line-height : 120%; color: #FFFFFF;
}
.subtitle {
font-size: 16px; font-family: Arial, Helvetica, sans-serif;
text-decoration: none; font-weight: bold; color: #FFFFFF;
}
/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall, .gensmall2 { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #0053A2; text-decoration: underline; }
a.gen:visited,a.genmed:visited,a.gensmall:visited { color: #00468C; text-decoration: underline; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #FF6633; text-decoration: underline; }
a.gen:active,a.genmed:active,a.gensmall:active { color: #FF6633; text-decoration: underline; }
/* Forum category titles */
.cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color: #EAEDF4; }
a.cattitle, .cattitle a { text-decoration: none; color: #EAEDF4; }
a.cattitle:visited, .cattitle a:visited { text-decoration: none; color: #EAEDF4; }
a.cattitle:hover, a.cattitle:active, .cattitle a:hover, .cattitle a:active { text-decoration: underline; color: #FFFFFF; }
/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: 12px; color: #0053A2; }
a.forumlink { text-decoration: none; color: #0053A2; }
a.forumlink:visited { text-decoration: none; color: #00468C; }
a.forumlink:hover, a.forumlink:active { text-decoration: underline; color: #FF6633; }
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav { font-weight: bold; font-size: 11px; color : #0053A2;}
a.nav, a.nav:visited { text-decoration: underline; color: #0053A2; }
a.nav:hover, a.nav:active { text-decoration: underline; color: #FF6633; }
/* titles for the topics: could specify viewed link colour too */
.topictitle { font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle { text-decoration: underline; color: #0053A2; }
a.topictitle:visited { text-decoration: underline; color: #00468C; }
a.topictitle:hover, a.topictitle:active { text-decoration: underline; color: #FF6633; }
/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size: 11px; color: #000000;}
a.name { text-decoration: underline; color: #0053A2; }
a.name:visited { text-decoration: underline; color: #00468C; }
a.name:hover, a.name:active { text-decoration: underline; color: #FF6633; }
/* Location, number of posts, post date etc */
.postdetails { font-size: 10px; color: #000000; }
/* The content of the posts (body of text) */
.postbody { font-size: 12px;}
a.postlink { text-decoration: underline; color: #0053A2; }
a.postlink:visited { text-decoration: underline; color: #00468C; }
a.postlink:hover, a.postlink:active { text-decoration: underline; color: #FF6633; }
a.postlink2, a.postlink2:visited { text-decoration: underline; color: #000000; }
a.postlink2:hover, a.postlink2:active { text-decoration: underline; color: #FF6633; }
/* Quote & Code blocks */
.code {
font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #0053A2;
background-color: #FDFEFF; border: #00468C; border-style: dotted;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
.quote {
font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #00468C; line-height: 125%;
background-color: #FDFEFF; border: #00468C; border-style: dotted;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
/* Copyright and bottom info */
.copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright { color: #444444; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}
/* Form elements */
input,textarea, select {
color : #000000;
font: normal 11px Verdana, Arial, Helvetica, sans-serif;
}
form { display: inline; }
/* The text input fields background colour */
input.post, textarea.post, select {
background-color : #FFFFFF;
}
input { text-indent : 2px; }
/* The buttons used for bbCode styling in message post */
input.button {
background-color: #EAEDF4;
color: #000000;
font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}
/* The main submit button option */
input.mainoption {
background-color : #FAFAFA;
font-weight : bold;
}
/* None-bold submit button */
input.liteoption {
background-color : #FAFAFA;
font-weight : normal;
}
/* This is the line in the posting page which shows the rollover
help line. This is actually a text box, but if set to be the same
colour as the background no one will know
*/
input.helpline { background-color: #F4F7FE; border: solid 1px #F4F7FE; }
/*
MERGED FROM OTHER FILES
*/
td.row1 { background-color: #EFF2F9; }
td.row1_over { background-color: #F8F9FC; }
td.row2 { background-color: #F4F7FE; }
td.row2_over { background-color: #FDFEFF; }
td.row3, td.row3Right { background-color: #EAEDF4; }
td.row3_over { background-color: #F4F5F9; }
th, td.th, td.spacerow { background-image: url(Athena/images/cell1.gif); }
td.th2 { background-image: url(Athena/images/cell1.gif); }
td.cat, td.catHead, td.catSides, td.catLeft, td.catRight { background-image: url(Athena/images/cell2.gif); }
td.catBottom { background-image: url(Athena/images/cell3.gif); }
td.profile { background-image: url(Athena/images/post_bg2.gif); }
/*
// row colors
'row1' => '#EFF2F9',
'row1_hover' => '#F8F9FC',
'row2' => '#F4F7FE',
'row2_hover' => '#FDFEFF',
'row3' => '#EAEDF4',
'row3_hover' => '#F4F5F9',
// enable/disable cells hover
'cell_hover' => true,
// enable/disable clickable cells
*/ |
|
Back to top |
|
|
RogerRabbit Master Chief Petty Officer
Joined: 05 Sep 2004 Posts: 748 Location: Oregon
|
Posted: Wed Dec 08, 2004 5:56 am Post subject: |
|
|
Quote: | background-color: #FFFFFF;
/* scrollbar-arrow-color: #1D2938;
scrollbar-face-color: #9DB3CC;
scrollbar-track-color: #D6DEE9 |
I put a <script> before the above and a </script> at the very end of the snippet , put it in the Body and got a banner
Quote: | Advance Humanity
Health, Education, Equality & Protection for Every Child.
www.UNICEFusa.org
|
That was clickable
Not sure if that is correct but there is some script tags missing in the snippet you posted _________________ "Si vis pacem, para bellum" |
|
Back to top |
|
|
blue9t3 Admiral
Joined: 23 Aug 2004 Posts: 1246 Location: oregon
|
Posted: Wed Dec 08, 2004 6:10 am Post subject: |
|
|
Well if thats all you needed to know, you should of just asked! _________________ MOPAR-BUYER |
|
Back to top |
|
|
Guest
|
Posted: Wed Dec 08, 2004 6:16 am Post subject: |
|
|
I did it, I still have the banner adds, but no google adds...........? |
|
Back to top |
|
|
Guest
|
Posted: Wed Dec 08, 2004 6:19 am Post subject: |
|
|
Tried again and still nothing...............where I have it, isn't that the body? |
|
Back to top |
|
|
DLI78 PO3
Joined: 10 Nov 2004 Posts: 273
|
Posted: Thu Dec 09, 2004 5:06 am Post subject: |
|
|
Doll,
Your style sheet has numerous problems. Copy and paste your style sheet into the box labeled "Direct Input of Style Sheet" at this link:
http://www.htmlhelp.com/tools/csscheck/
and click on check it. The resulting page will tell you where the mistakes are. That's a pretty awesome tool I just found on Google.
I'm sorry I can't be more help. I never played with style sheets. We used active server pages in my shop. Life is too short for that.
You can try this tutorial on style sheets:
http://www.w3schools.com/css/default.asp
Here's another: http://www.wdvl.com/Authoring/Style/Sheets/
If those don't help (and I can't vouch for them) try searching on google for cascading style sheets.
By the way, on your page at http://www.activeboard.com/forum.spark?forumID=42439 you have two links with dark blue text on a dark blue background. Another color for those links would enhance their visibility. _________________ DLI 78
Army Linguist
1978-1986 |
|
Back to top |
|
|
Guest
|
Posted: Thu Dec 09, 2004 5:40 am Post subject: |
|
|
Thanks Lotsa_Static....I will give it a shot again! |
|
Back to top |
|
|
DLI78 PO3
Joined: 10 Nov 2004 Posts: 273
|
Posted: Fri Dec 10, 2004 4:54 am Post subject: |
|
|
That's the thing with software. You start out with lots of errors and keep whittling them down till you have few left. Then you ship it and forget it. _________________ DLI 78
Army Linguist
1978-1986 |
|
Back to top |
|
|
Guest
|
Posted: Fri Dec 10, 2004 6:25 am Post subject: |
|
|
Lotsa_Static wrote: | That's the thing with software. You start out with lots of errors and keep whittling them down till you have few left. Then you ship it and forget it. |
Thanks for everything, but sadly nothing has worked......so I just put the google ads at my blogs.
Oh well.....but you guys are great and thanks so much! |
|
Back to top |
|
|
Guest
|
Posted: Fri Dec 10, 2004 8:29 pm Post subject: Thank you!!!!! |
|
|
Hey all, it works!!! My google adds are up and running and it took three days, but hey, who cares if the end result worked!!!!
(((((((((((((cyberhugs))))))))))))))) to you all! Thanks so much for everything!! You all are the best!
Go check out the adds at my forum. The URL is third down in my signature.
See the results of all your advise!!!!!! Thanks.
Layla aka Doll
: |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|