Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-27-2006, 02:54 PM   #1
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
CSS gurus....need some help

I have a page that has 100% css design, but I have one section of the page that I want to be able to override the css...is there some code I can place to place a "bubble" on the page that the css doesn't affect?
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:38 PM   #2
SilverTab
Confirmed User
 
Join Date: Nov 2001
Location: MTL
Posts: 5,060
hmm well not sure what you are trying to accomplish, but can't you just design a specific style for that place, and wrap it in a div or a span??

you can assign any style (or no style at all) to a span if you want...?? not sure if I know what you mean though!
__________________
mmm my sig was too big... no more cool animation
but hey still! need php? ICQ: 94586959
SilverTab is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:43 PM   #3
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by SilverTab
hmm well not sure what you are trying to accomplish, but can't you just design a specific style for that place, and wrap it in a div or a span??

you can assign any style (or no style at all) to a span if you want...?? not sure if I know what you mean though!
I know, it is wierd

but I am trying to add adbrite ads to a page that is complately css, and this is the only style choices I get on the adbrite code:

.adHeadline {font: bold 8pt Arial; text-decoration: underline; color: #000000;}
.adText {font: normal 8pt Arial; text-decoration: none; color: black;}

but for some reason my overall page CSS is taking over the adbrite ads and not allowing me to change anything, the adbrite ads are coming up with the main page css and not a style from the code above.....I want to just be able to put some sort of style or div before and after the adbrite code and remove my main page css style so it only uses the adbrite style in the ads
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:43 PM   #4
testpie
Mostly retired
 
testpie's Avatar
 
Industry Role:
Join Date: Apr 2006
Location: UK
Posts: 3,231
I could give you a hand if you want. Just post a link to the page and show me what you mean by the "bubble" idea.
__________________

Affiliates: DogFart ~ Domain parking: NameDrive ~ Traffic broker: Traffic Holder
testpie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:45 PM   #5
testpie
Mostly retired
 
testpie's Avatar
 
Industry Role:
Join Date: Apr 2006
Location: UK
Posts: 3,231
Quote:
Originally Posted by Jace
I know, it is wierd

but I am trying to add adbrite ads to a page that is complately css, and this is the only style choices I get on the adbrite code:

.adHeadline {font: bold 8pt Arial; text-decoration: underline; color: #000000;}
.adText {font: normal 8pt Arial; text-decoration: none; color: black;}

but for some reason my overall page CSS is taking over the adbrite ads and not allowing me to change anything, the adbrite ads are coming up with the main page css and not a style from the code above.....I want to just be able to put some sort of style or div before and after the adbrite code and remove my main page css style so it only uses the adbrite style in the ads
Firstly, sorry if this turns out to be a doublepost.

If you link me up to the entire code (including the CSS), i'll smack a div around it and see what i can do, then host a copy and you can show me what you what changing etc.
__________________

Affiliates: DogFart ~ Domain parking: NameDrive ~ Traffic broker: Traffic Holder
testpie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:46 PM   #6
SilverTab
Confirmed User
 
Join Date: Nov 2001
Location: MTL
Posts: 5,060
mm yeah its definitly weird because, one of the main attribute of CSS is to be cascading, so you should be able to overwrite parts if you want!

Im guessing your CSS is located in a separate file?? that you import?? and if you apply a style locally in the page it just doesn't work?? am I understanding this??

And where did you define the 2 styles for adbrite?? In the same file where your whole styles are located? or in a separate place??? I can take a look at it if you want bro...
__________________
mmm my sig was too big... no more cool animation
but hey still! need php? ICQ: 94586959
SilverTab is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:49 PM   #7
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
I figured it out, it was because I had multiple adbrite codes on one page, the one I was trying to change was being overwritten by another

thanks you all for your offers to help, I figured it out

I just deleted the css code in the actual adbrite ad and added into the main css file
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:50 PM   #8
SilverTab
Confirmed User
 
Join Date: Nov 2001
Location: MTL
Posts: 5,060
cool! glad you were able to fix it! ;)
__________________
mmm my sig was too big... no more cool animation
but hey still! need php? ICQ: 94586959
SilverTab is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:52 PM   #9
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by SilverTab
cool! glad you were able to fix it! ;)
I hate it when it is something that stupid and I spend an hour trying to figure it out...LOL...
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:53 PM   #10
testpie
Mostly retired
 
testpie's Avatar
 
Industry Role:
Join Date: Apr 2006
Location: UK
Posts: 3,231
Quote:
Originally Posted by Jace
I figured it out, it was because I had multiple adbrite codes on one page, the one I was trying to change was being overwritten by another

thanks you all for your offers to help, I figured it out

I just deleted the css code in the actual adbrite ad and added into the main css file
Glad to hear it. If only i could delete the problem of not having any signups as easily

Quote:
Originally Posted by Jace
I hate it when it is something that stupid and I spend an hour trying to figure it out...LOL...
Don't try coding in PHP then! I always get one pesky typo or missed ending and hours of fun looking for the frigging problem.
__________________

Affiliates: DogFart ~ Domain parking: NameDrive ~ Traffic broker: Traffic Holder

Last edited by testpie; 05-27-2006 at 03:54 PM..
testpie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:55 PM   #11
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally Posted by testpie

Don't try coding in PHP then! I always get one pesky typo or missed ending and hours of fun looking for the frigging problem.
ain't that the truth...haha

you know though, if it wasn't for the fact that php makes life so easy when it is done right, I would seek out another option
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:56 PM   #12
SilverTab
Confirmed User
 
Join Date: Nov 2001
Location: MTL
Posts: 5,060
haha hey at least PHP is usually able to tell you on which line you have a problem, and when you're used to it it's kinda easy to debug...

not the case with CSS!.... I always mess'em up :P
__________________
mmm my sig was too big... no more cool animation
but hey still! need php? ICQ: 94586959
SilverTab is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-27-2006, 03:58 PM   #13
testpie
Mostly retired
 
testpie's Avatar
 
Industry Role:
Join Date: Apr 2006
Location: UK
Posts: 3,231
Quote:
Originally Posted by SilverTab
haha hey at least PHP is usually able to tell you on which line you have a problem, and when you're used to it it's kinda easy to debug...

not the case with CSS!.... I always mess'em up :P
I get to have hours of fun with HTML and CSS - especially when all the browsers who use W3C specs show it properly, but then IE ruins the show by fucking it up completely.
__________________

Affiliates: DogFart ~ Domain parking: NameDrive ~ Traffic broker: Traffic Holder
testpie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.