COZY Campus Adult Webmaster Forums

 
 
 


Go Back   COZY Campus Adult Webmaster Forums > Newbie Help

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-03-2007, 10:32 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
CSS Code help

Is there a css code you can place in front of a recips table to eliminate any overall page code so the recip links revert back to their default colors and can be seen when I'm using a link color that's too lite for the background they're against. This would be for building index pages for free sites

I know you can place a specific link color in front of the link at each recip, but can I place one in front of an entire table and then place one at the end of the table so only the table is affected and the overall page keeps it's link styles particularly the enter and exit links that come under the recip table.

P.S. I ordinarily create the overall page styles in wysiwig most times with dreamweaver.

Thanks
__________________
LINK EXCHANGE PAGE!
MY LINK EXCHANGE TRADE PAGE

ICQ 278-804-660
smutnut(AT)smutnut.org
Reply With Quote
  #2  
Old 07-03-2007, 02:53 PM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
As far as I know, you can easily add a small chunk of css right to your html if you want, and it will automatically override any other settings that apply across the whole page, including other css files.
Reply With Quote
  #3  
Old 07-03-2007, 04:21 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
Quote:
Originally posted by Cozy Monica
As far as I know, you can easily add a small chunk of css right to your html if you want, and it will automatically override any other settings that apply across the whole page, including other css files.
Do you know what that code is? I mean I know I can go into each link and specify specific codes and styles, but i'm looking for one overall way
__________________
LINK EXCHANGE PAGE!
MY LINK EXCHANGE TRADE PAGE

ICQ 278-804-660
smutnut(AT)smutnut.org
Reply With Quote
  #4  
Old 07-03-2007, 04:44 PM
balls_deep's Avatar
balls_deep balls_deep is offline
Amish Pornstar
 
Join Date: Oct 2006
Location: Central PA
Posts: 3,549
Send a message via ICQ to balls_deep
hey punkporn, I'm not a CSS expert but here is an example of some css that i custom implement into my galleries.

<p><a href="http://A-Site.com"><span style="text-decoration: none">
Whahoo! look at my link</span></a></p>

I'm pretty sure that style tag is what you are looking for.
__________________
Reply With Quote
  #5  
Old 07-03-2007, 05:52 PM
Chang Chang is offline
Registered User
 
Join Date: Sep 2005
Posts: 309
Send a message via ICQ to Chang
I'm not entirely sure what you're asking, but there are a few ways... Probably the simplest is to create a link "class" that is inserted into the header of the page something like this...

a.pornpunk:link{font-size: 1.3em; font-weight: bold; color: #A50909; text-decoration: none;}
a.pornpunk:visited{font-size: 1.3em; font-weight: bold; color: #A50909; text-decoration: none;}
a.pornpunk:hover{font-size: 1.3em; font-weight: bold; color: #0000FF; text-decoration: none;}
a.pornpunk:active{font-size: 1.3em; font-weight: bold; color: #A50909; text-decoration: none;}

Implement by including the class in the link code...

<a class="pornpunk" href="http://www.somefictionalsite.com/">Fictional Site</a>

If you're looking to do it automatically, then you'll have to use Javascript and it gets more complicated than you probably want to deal with.
__________________
fapmaster.com NoPornStars.com
Reply With Quote
  #6  
Old 07-03-2007, 06:14 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
Quote:
Originally posted by balls_deep
hey punkporn, I'm not a CSS expert but here is an example of some css that i custom implement into my galleries.

<p><a href="http://A-Site.com"><span style="text-decoration: none">
Whahoo! look at my link</span></a></p>

I'm pretty sure that style tag is what you are looking for.
I think you've got I'm looking for but how do you bring it back? after the table i mean.

none would delete all styles, right?
__________________
LINK EXCHANGE PAGE!
MY LINK EXCHANGE TRADE PAGE

ICQ 278-804-660
smutnut(AT)smutnut.org
Reply With Quote
  #7  
Old 07-03-2007, 10:56 PM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
If you do a search for CSS tutorials on Google, you'll turn up lots of help. What you want is to insert a small CSS script into the header of your page that designates a class for the link tag, so you can just call it whenever you create a link that you want to have look a certain way.
Reply With Quote
  #8  
Old 07-03-2007, 11:32 PM
Chang Chang is offline
Registered User
 
Join Date: Sep 2005
Posts: 309
Send a message via ICQ to Chang
Quote:
Originally posted by porn punk
I think you've got I'm looking for but how do you bring it back? after the table i mean.

none would delete all styles, right?
It won't affect any links that you don't add class="pornpunk" to.

Monica is correct though, you might want to try some tutorials. This is the problem with being a wysiwyg webmaster.
__________________
fapmaster.com NoPornStars.com
Reply With Quote
  #9  
Old 07-04-2007, 01:05 AM
theviking's Avatar
theviking theviking is offline
Work smart, work hard!
 
Join Date: Feb 2006
Location: Asia
Posts: 1,984
Chang is right.
Why would you want to add the whole style to each and every link when you can add the style in the stylesheet and just apply a class for every link?

And no, you can not add a style or a class to a table to affect the links within that table. If you add a class to the table it will offcourse aplly to the table itself, and not the content within the table. (Thats why ppl are using < div > instead of < table > ).

And yes, monica is allso right. Try out some tutorials, w3schools is ok, and you will soon get the hang of it......and remember "nothing is free"
__________________
Go Fuck Yourself!
Reply With Quote
  #10  
Old 07-04-2007, 04:17 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
Got it, Chang. Sorry. Missed you're post somehow. Viking. Monica. Thank you. Thank you.

It does seem easier just to go in and alter the code for the one or two recips on the one or two pages affected after generation.

Am I wrong or just lazy?
__________________
LINK EXCHANGE PAGE!
MY LINK EXCHANGE TRADE PAGE

ICQ 278-804-660
smutnut(AT)smutnut.org
Reply With Quote
  #11  
Old 07-04-2007, 04:25 AM
theviking's Avatar
theviking theviking is offline
Work smart, work hard!
 
Join Date: Feb 2006
Location: Asia
Posts: 1,984
Quote:
Originally posted by porn punk


Am I wrong or just lazy?
Yes.
__________________
Go Fuck Yourself!
Reply With Quote
  #12  
Old 07-04-2007, 05:29 AM
balls_deep's Avatar
balls_deep balls_deep is offline
Amish Pornstar
 
Join Date: Oct 2006
Location: Central PA
Posts: 3,549
Send a message via ICQ to balls_deep
Quote:
Originally posted by porn punk
I think you've got I'm looking for but how do you bring it back? after the table i mean.

none would delete all styles, right?
nope it closes when the span tag closes
__________________
Reply With Quote
  #13  
Old 07-04-2007, 06:30 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
Okay, thanks everyone. I'm going to look into this more.

Actually bought a couple hundred dollars worth of css books a ways back and once I shovel the dust off them (and move the other couple hundred bucks of php books under the top layer of dust) I should be able to figure this out with them and the info you've all just given me.

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

ICQ 278-804-660
smutnut(AT)smutnut.org
Reply With Quote
  #14  
Old 07-04-2007, 09:49 PM
whiskey whiskey is offline
Cozy Junior
 
Join Date: Jun 2007
Posts: 16
If you have a recent CSS book, you'll probably find what you need buried in there somewhere, although I think Chang's solution is what you're wanting.

A good CSS editor can help a lot. If you use a Mac, CSSEdit is a very good and relatively inexpensive one. (I have no affiliation with this product or company. I'm just a very satisfied customer.)
Reply With Quote
  #15  
Old 07-05-2007, 07:41 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, Whiskey. Everyone else as well.

I basically just have to crack the books and work on a couple projects that actually need some good CSS. I was doing it for a while, but I just always see my sign ups start dropping when I take too much time away from basic submissions. I'm sure in the long run though I'll be better off getting this stuff down.
__________________
LINK EXCHANGE PAGE!
MY LINK EXCHANGE TRADE PAGE

ICQ 278-804-660
smutnut(AT)smutnut.org
Reply With Quote
  #16  
Old 07-05-2007, 01:42 PM
Cozy Monica's Avatar
Cozy Monica Cozy Monica is offline
Campus Moderator
 
Join Date: Dec 2002
Location: Canada
Posts: 4,730
The time will be worth it if it makes your page more functional. And once you've figured it out once, you can copy it across the board on all pages that you want to manipulate in the same fashion.
Reply With Quote
  #17  
Old 07-06-2007, 07:39 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
Quote:
Originally posted by Cozy Monica
The time will be worth it if it makes your page more functional. And once you've figured it out once, you can copy it across the board on all pages that you want to manipulate in the same fashion.
I think the time might be now. My sales are so bad anyway recently I'm actually considering getting a real job. Usually they pick up if I do something else and come back to this - go figure.
__________________
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:02 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.