![]() |
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?
|
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! |
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 |
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.
|
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. |
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... |
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 |
cool! glad you were able to fix it! ;)
|
Quote:
|
Quote:
Quote:
|
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 |
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 |
Quote:
|
| 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