COZY Campus Adult Webmaster Forums

 
 
 


Go Back   COZY Campus Adult Webmaster Forums > Newbie Help

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-27-2007, 04:16 PM
porn punk's Avatar
porn punk porn punk is offline
Registered User
 
Join Date: Feb 2006
Location: Babylon
Posts: 2,669
Send a message via ICQ to porn punk Send a message via AIM to porn punk
CSS PHP code conflict

I'm trying to build a rollover (that includes a gif) on a php page that I have php code on for a traffic script.

I'm using this code to make the background color change

#div1:hover {background-color:#FF0000}

It works fine until add this php code to the top of the page for my script.

<?php
include ("in.php");
?>

I can block the text with this.

a:hover {
text-decoration: none;
color: #FFFFFF;
background-color:#FF0000;
}

But I'd like to get the gift in there and hope I don't have to choose between traffic trading and the rollover.

Is there another way I can do this?

Thanks

P.S. in case you can't tell, I don't know too much CSS or PHP
__________________
LINK EXCHANGE PAGE!
MY LINK EXCHANGE TRADE PAGE

ICQ 278-804-660
smutnut(AT)smutnut.org
Reply With Quote
  #2  
Old 09-27-2007, 09:56 PM
Titmowse's Avatar
Titmowse Titmowse is offline
Campus Moderator
 
Join Date: Dec 2002
Location: TEXAS
Posts: 4,289
You could make a rollover in Flash by making a button. Then you can get the Kimli plugin and do it that way. I think that Kimli only allows one size of rollover, so it's kind of limiting but a hell of a lot easier than coding those darned css/php files.

ADD: I think maybe you can do more than one size of rollover with Kimli. I just probably won't try to learn because I'm only using the plugin for one size of rollover. It's darned easy though. One line of code, baby!
__________________
love,
tit
Reply With Quote
  #3  
Old 09-27-2007, 10:19 PM
theviking's Avatar
theviking theviking is offline
Work smart, work hard!
 
Join Date: Feb 2006
Location: Asia
Posts: 1,984
Make sure you're in.php does not have a header in it. (you know, the < html > < header > part). If it have that, it will overwrite you're oroignal header and exclude you're stylesheet. In some cases you will allso get a function error message with more than one header.
__________________
Go Fuck Yourself!
Reply With Quote
  #4  
Old 09-28-2007, 08:16 AM
porn punk's Avatar
porn punk porn punk is offline
Registered User
 
Join Date: Feb 2006
Location: Babylon
Posts: 2,669
Send a message via ICQ to porn punk Send a message via AIM to porn punk
Thanks for the info, Tit and Viking. After thinking more about it, and checking out a few other sites, I think I might just make a bland warning page (which probably I should be doing anyway for legal reasons) and then create my real page upon entrance. My concern is how these simple warning pages are handled by seo and the links that you want indexed (if they do or don't; should they not be linked to the index page through anchored text links?).

Tit, concerning Flash. Can't flash hurt your seo? That's actually why I wanted to do it this way using text and css. I built a flash entrance for one of my sites (nothing great but I was running through the manuals), but I also linked text at the bottom for seo indexing just to be sure (I'm about to fix up this site too, but right now I'm concerned with another one I think I can make have a little more unique look - better late then never, right? ).
__________________
LINK EXCHANGE PAGE!
MY LINK EXCHANGE TRADE PAGE

ICQ 278-804-660
smutnut(AT)smutnut.org
Reply With Quote
  #5  
Old 09-28-2007, 03:45 PM
LincolnLog LincolnLog is offline
Internet Migrant Worker
 
Join Date: Jun 2007
Posts: 132
Splash Page SEO

I have had this discussing it seems a dozen times over the last month. First, everyone wants to tell you that splash pages are dead and not the way to build modern sites.

Of course they are talking about all those goofy corporate or cheezy knock off sites that have some long winded self indulgent flash movie playing that does nothing for the visitor experience.

In my case or in the adult site ream (because of the need for warning pages) it still important to have a good splash page. And, the old standard is still the best one. HTML

SEO the tar out your main index page. I use a CMS to manage many of my sites and just think that spiders wont waist much time indexing your site if your sever times out or if you have some kind of asp or php that it gets tangled up with.

So I prefer to offer an very simple html page right up front with all my keywords and text and images optimized to make life easy for Google.

Hope that helps.
(and flash is not very friendly to SEO)
__________________
This aint no Tinker Toy.
Reply With Quote
  #6  
Old 09-28-2007, 04:30 PM
porn punk's Avatar
porn punk porn punk is offline
Registered User
 
Join Date: Feb 2006
Location: Babylon
Posts: 2,669
Send a message via ICQ to porn punk Send a message via AIM to porn punk
Re: Splash Page SEO

Quote:
Originally posted by LincolnLog
I have had this discussing it seems a dozen times over the last month. First, everyone wants to tell you that splash pages are dead and not the way to build modern sites.

Of course they are talking about all those goofy corporate or cheezy knock off sites that have some long winded self indulgent flash movie playing that does nothing for the visitor experience.

In my case or in the adult site ream (because of the need for warning pages) it still important to have a good splash page. And, the old standard is still the best one. HTML

SEO the tar out your main index page. I use a CMS to manage many of my sites and just think that spiders wont waist much time indexing your site if your sever times out or if you have some kind of asp or php that it gets tangled up with.

So I prefer to offer an very simple html page right up front with all my keywords and text and images optimized to make life easy for Google.

Hope that helps.
(and flash is not very friendly to SEO)
Yes, it does. Thanks. I do use php indexes though on three of my main sites and don't seem to have any seo problems (except for my lack of skill ) I do notice that sites where I use wordpress (as cms I believe) on my indexes seem to have better stats, but I think that is deceiving because it's google stats and I think google stats are deceiving because there are 2 other major search engines.

I do notice you'll get better blog sign ups through google, but not necessarily gallery or base page sign ups (not sure about all this, but curious what you think?)

Thanks again
__________________
LINK EXCHANGE PAGE!
MY LINK EXCHANGE TRADE PAGE

ICQ 278-804-660
smutnut(AT)smutnut.org
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:07 PM.

Support our Cozy adult webmaster forum Sponsors:

Porn Reviews
Honest Porn Reviews
Stroke King Blue Design Studios
Blue Design Studios
  Adult Reviews
Adult Reviews

Pussy Cash FTVCash Etu-Cash Traffic Cash Gold GJ Servers
AdXpansion        

 

CozyFrog.com  |   CozyFlash.com  |   Friends & Links
© 2002-10 CozyCampus.com | Adult Forums for Webmasters! | 18+ ONLY!
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.