- This topic is empty.
-
AuthorPosts
-
September 19, 2015 at 10:43 am #208385
M3llawi
ParticipantHi,
So am having an error with the dotted line around the navigation menu
I tried some CSS codes but they wont work Please Help mebutton {
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
background-color: transparent;
noFocusLine: expression(this.onFocus=this.blur());
}a {
outline: 0;
}a:focus,
*:focus {
noFocusLine: expression(this.onFocus=this.blur());
}September 19, 2015 at 12:56 pm #208390M3llawi
ParticipantSo it looks like this one
http://1.bp.blogspot.com/-khVRmDjkR-I/TcOjU65fQJI/AAAAAAAAAJo/qc5HPGjCYr4/s1600/outline.png
September 20, 2015 at 8:15 am #208415M3llawi
ParticipantI already tried all of it nothing happens
September 20, 2015 at 8:16 am #208416M3llawi
ParticipantAm using Google chrome at the moment
September 20, 2015 at 8:47 am #208419Alen
Participanta {} a:visited {} a:hover {} a:active {} a:focus {}
Link states are pretty self explanatory, the one you need is
a:focus
. In your code you have:a:focus, *:focus { noFocusLine: expression(this.onFocus=this.blur()); }
Add
outline: none;
.September 20, 2015 at 9:08 am #208422September 20, 2015 at 9:31 am #208425Alen
ParticipantI’ve modified your code that was in your original post:
button { border: none; background-color: transparent; } a {} a:focus { outline: none; /* IE7 Support */ noFocusLine: expression(this.onFocus=this.blur()); }
We need more information about your problem in order to help you. There could be other issues at play that we’re not seeing.
Do you have a live example for us? Can you provide all of the code HTML / CSS? If you’re working locally, go to
view source
in your browser and find and paste relevant code.If the only thing you’re looking to do is, remove the outline when link is in focus, then all you need is:
a:focus { outline: none; /* IE7 Support */ noFocusLine: expression(this.onFocus=this.blur()); }
But again there could be other selectors that are cascading styles and creating problems. We can’t answer without you giving us more information.
Hope that helps, Alen
September 20, 2015 at 9:32 am #208426M3llawi
Participanthttp://codepen.io/anon/pen/bVeeGO
This is the whole website
September 20, 2015 at 9:35 am #208427Alen
Participant@beverleyh +100%
September 20, 2015 at 10:52 am #208428M3llawi
ParticipantSo what should i do ?
September 20, 2015 at 12:43 pm #208434M3llawi
ParticipantSeptember 21, 2015 at 9:13 am #208495M3llawi
ParticipantSeptember 21, 2015 at 9:25 am #208497M3llawi
ParticipantI add those in the Custom CSS
but nothing happens !
September 21, 2015 at 10:40 am #208501M3llawi
ParticipantThanks a lot This forums this the best
<3 -
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.