|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
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?
|
|
|
|
|
|
#2 |
|
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 |
|
|
|
|
|
#3 | |
|
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
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 |
|
|
|
|
|
|
#4 |
|
Mostly retired
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.
__________________
|
|
|
|
|
|
#5 | |
|
Mostly retired
Industry Role:
Join Date: Apr 2006
Location: UK
Posts: 3,231
|
Quote:
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.
__________________
|
|
|
|
|
|
|
#6 |
|
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 |
|
|
|
|
|
#7 |
|
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 |
|
|
|
|
|
#8 |
|
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 |
|
|
|
|
|
#9 | |
|
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
|
|
|
|
|
|
|
#10 | ||
|
Mostly retired
Industry Role:
Join Date: Apr 2006
Location: UK
Posts: 3,231
|
Quote:
![]() Quote:
__________________
|
||
|
|
|
|
|
#11 | |
|
FBOP Class Of 2013
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
|
Quote:
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 |
|
|
|
|
|
|
#12 |
|
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 |
|
|
|
|
|
#13 | |
|
Mostly retired
Industry Role:
Join Date: Apr 2006
Location: UK
Posts: 3,231
|
Quote:
__________________
|
|
|
|
|