| [CSS Snippet] No Border on the Advertisements | |
|---|---|
| Tweet Topic Started: Tuesday, 23. August 2011, 20:46 (930 Views) | |
| FallenShadow | Tuesday, 23. August 2011, 20:46 Post #1 |
The Stoner Artist
|
Recently, Lewis. posted a thread about removing the border from around his ad box. Thread to be found here: click He couldn't figure out a way and was told it was against ZB ToS. Which it's not. You're allowed to style that box, themers do with each theme. So long as the ad is unaffected, it sits within ToS. Took me a lil bit, but I finally figured out how to remove that border without affecting every other td in #main or table. Add the following to your Theme's CSS:
This will remove the border and background you have around the ads, without breaching ToS and affecting the ads in anyway. A point Lewis made was, because he had a box-shadow: on his td, it still had one on the ad though everything else was gone. This leads to this: Anything you add to the td needs to be removed from the ad. i.e. To remove the box-shadow, simply add the following:
This nulls the box-shadow that would be inherited through the td. |
|
www.FallnShadw.com Personal and Professional Portfolio. Officially Open. | |
Off
Profile |
Quote Top
|
| Lewis. | Wednesday, 24. August 2011, 12:29 Post #2 |
|
Awesomesauce.
|
Good idea to share this with everyone.
|
![]() ![]() | |
Off
Profile |
Quote Top
|
| Wolfwood | Friday, 26. August 2011, 04:38 Post #3 |
|
Level 4
|
Oh wow, nice code. I need to use this, the border annoys me because it makes the advertisement stick out even more then it should. Thankyou for this. |
| |
Off
Profile |
Quote Top
|
| Gabe. | Sunday, 4. September 2011, 22:07 Post #4 |
|
can you use this to style the ad box differently than the other tds?
|
![]() Ask your favourite gold member a question ![]() old siggehs | |
Off
Profile |
Quote Top
|
| FallenShadow | Monday, 5. September 2011, 20:15 Post #5 |
The Stoner Artist
|
Yes, you can I believe. You can style it however you want. Cuz if you don't style it (with this) then it just inherits the normal td traits. This way, it's all on it's own |
|
www.FallnShadw.com Personal and Professional Portfolio. Officially Open. | |
Off
Profile |
Quote Top
|
| Gabe. | Monday, 5. September 2011, 20:32 Post #6 |
|
awesome thanks, i needed this
|
![]() Ask your favourite gold member a question ![]() old siggehs | |
Off
Profile |
Quote Top
|
| FallenShadow | Tuesday, 6. September 2011, 02:31 Post #7 |
The Stoner Artist
|
No problem. Glad its useful to at least a couple people haha |
|
www.FallnShadw.com Personal and Professional Portfolio. Officially Open. | |
Off
Profile |
Quote Top
|
| Leonardo | Wednesday, 14. September 2011, 20:31 Post #8 |
|
Level 2
|
Wonderful. Nice find FallenShadow; will definitely be useful to me. |
Off
Profile |
Quote Top
|
| FallenShadow | Thursday, 15. September 2011, 01:33 Post #9 |
The Stoner Artist
|
I actually look forward to seeing what you do with it
|
|
www.FallnShadw.com Personal and Professional Portfolio. Officially Open. | |
Off
Profile |
Quote Top
|
| Joe | Thursday, 15. September 2011, 19:23 Post #10 |
![]()
Hi.
|
Hah, nice tip FS.
|
| Joe | |
Off
Profile |
Quote Top
|
| FallenShadow | Thursday, 15. September 2011, 19:39 Post #11 |
The Stoner Artist
|
I know
|
|
www.FallnShadw.com Personal and Professional Portfolio. Officially Open. | |
Off
Profile |
Quote Top
|
| Maddy | Thursday, 1. December 2011, 05:08 Post #12 |
![]()
BAMMMMM!
|
Outline Documentations T H E M E S Documentation accepted in to the Themes database |
![]() This is a work in progress ^^ "You still talk about it? You still care about it." Tumblr - WeHeartIt - My Things - Twitter The List Life <3
| |
Off
Profile |
Quote Top
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Coding & Development · Next Topic » |
| Track Topic · E-mail Topic |
8:15 PM Jul 10
|
Powered by ZetaBoards Premium · Privacy Policy



Multi
Multi
Good idea to share this with everyone.






















8:15 PM Jul 10


Outline Live