The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
CSS question
Hi guys and gals, this is probably a simple question so I hope someone is able to help. I never learned css so I'm not able to figure it out.
I've made myself a custom navbar using images as links, but it's using the body css, so it puts a coloured border around the images, how do I remove that? Thanks |
#2
|
||||
|
||||
In Main CSS --> Additional CSS Definitions try:
Code:
img ( border:0; ) |
#3
|
|||
|
|||
Thanks for your help, but that didn't have any effect.
|
#4
|
||||
|
||||
Edited:
Find: Code:
<!-- *******EMPYRON CUSTOM NAV******* --> <tr> <td> <div class=".page"> And replace it with: Code:
<!-- *******EMPYRON CUSTOM NAV******* --> <tr> <td> <div class="page"> |
#5
|
|||
|
|||
It does work with both page and .page. I tried it earlier but when I change the values off the css for page background in StyleVars to have link colours as white (so you can't see the borders) it changes all my links white.
|
#6
|
||||
|
||||
If you remove the class so it will just be <div> what happens?
The border:0; should work in most cases unless there's an overriding code. I'm in your site now. Edited: Replace the border code with this one: Code:
img { border:0; } |
#7
|
|||
|
|||
tried it just as <div>, still no change. The problem is that it's using the body values.
|
#8
|
||||
|
||||
Replace the (first) border code I posted with the new one right above your #7 post under "Edited". It should work now.
NM... I've reposted the code: Code:
img { border:0; } Use that. |
#9
|
|||
|
|||
Ah fantastic! You're a star! Thanks alot
|
#10
|
||||
|
||||
Thanks but because I originally posted the wrong character "(" verses the correct "{" you had to go through unnecessary pain. Glad it got sorted.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|