|
|
|
|
|
|
#1
|
||||
|
||||
|
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 |
|
#2
|
||||
|
||||
|
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.
|
|
#3
|
||||
|
||||
|
Quote:
__________________
LINK EXCHANGE PAGE! MY LINK EXCHANGE TRADE PAGE ICQ 278-804-660 smutnut(AT)smutnut.org |
|
#4
|
||||
|
||||
|
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.
__________________
|
|
#5
|
|||
|
|||
|
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. |
|
#6
|
||||
|
||||
|
Quote:
none would delete all styles, right?
__________________
LINK EXCHANGE PAGE! MY LINK EXCHANGE TRADE PAGE ICQ 278-804-660 smutnut(AT)smutnut.org |
|
#7
|
||||
|
||||
|
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.
|
|
#8
|
|||
|
|||
|
Quote:
Monica is correct though, you might want to try some tutorials. This is the problem with being a wysiwyg webmaster. |
|
#9
|
||||
|
||||
|
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! |
|
#10
|
||||
|
||||
|
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 |
|
#11
|
||||
|
||||
|
Quote:
__________________
Go Fuck Yourself! |
|
#12
|
||||
|
||||
|
Quote:
__________________
|
|
#13
|
||||
|
||||
|
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 |
|
#14
|
|||
|
|||
|
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.) |
|
#15
|
||||
|
||||
|
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 |
|
#16
|
||||
|
||||
|
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.
|
|
#17
|
||||
|
||||
|
Quote:
__________________
LINK EXCHANGE PAGE! MY LINK EXCHANGE TRADE PAGE ICQ 278-804-660 smutnut(AT)smutnut.org |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|