GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   CSS gurus....need some help (https://gfy.com/showthread.php?t=614884)

Jace 05-27-2006 02:54 PM

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?

SilverTab 05-27-2006 03:38 PM

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!

Jace 05-27-2006 03:43 PM

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

testpie 05-27-2006 03:43 PM

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.

testpie 05-27-2006 03:45 PM

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.

SilverTab 05-27-2006 03:46 PM

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...

Jace 05-27-2006 03:49 PM

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

SilverTab 05-27-2006 03:50 PM

cool! glad you were able to fix it! ;)

Jace 05-27-2006 03:52 PM

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...

testpie 05-27-2006 03:53 PM

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 :1orglaugh

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.

Jace 05-27-2006 03:55 PM

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

SilverTab 05-27-2006 03:56 PM

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

testpie 05-27-2006 03:58 PM

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.


All times are GMT -7. The time now is 05:42 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123