How to give space above the anchor name <a name="number"></a> - anchor

I making many anchor name for redirecting on different section in a single page. please check here http://astrologyvaastu.com/numerology2 if you click on any number it will move you on its description in the same page.
I have a sticky navigation bar here. and that is creating the problem because on clicking any number it moves to that section but some part of that description hides behind the navigation bar.
I am using this code
1
<a name="number1"></a>
Can anybody tell me what to do, to stop this description below the navigation bar?

you can use <br /> tag to give some space
or you can give some margin-top
Also your website is not accessible to me, please make a fiddle for you problem

Related

Setting the label of a paper-icon-button

Previous to the current paper-element release 0.6.., I was able to do the following
<paper-icon-button
id='add-btn'
class='margin-l-t-r-2'
label='LANGUAGE'
icon='menu'
on-click='{{toggle}}'>
</paper-icon-button>
and the button would contain both the icon and the label.
Now the label is not displayed, only the icon on the button. Any help is appreciated in how can I get both label and icon on the button.
Yeah, this has been different in PolymerJS for a while now. They're starting to do things as child elements more often, like this:
<paper-button>
<core-icon icon="favorite"></core-icon>
label goes here
</paper-button>
Docs here: https://www.polymer-project.org/docs/elements/paper-elements.html#paper-button
Note that the <paper-icon-button> was probably always intended to be used just for icons. If you want an icon and a label, <paper-button> is the way to go, as per my example.

anchor tag all jump when returning to the home page because of slider

The anchor tags I have in the nav bar work fine on the home page, but if you click on one from another page, it will go to the correct spot only to jump down when the slider loads.
Is there some kind of fix for this problem?
This is the site:
http://www.nfgraphicdesign.ca/wpdemo
if you navigate from
http://www.nfgraphicdesign.ca/wpdemo/buyers/ and current listings you will see what I mean.
Thanks a lot for any help with this.

Can't find field to check or set UIButton tag--Xcode 5.0

I've got a number of buttons in a view and have assigned a tag number to each for identification in code. I just went back to check one of them, and can't find the field in the Attributes Inspector where I originally assigned the tags. I've tried all my buttons and restarted Xcode, and the result is the same--no tag field.
Here's what my attribute inspector looks like with a (tagged) button selected in the storyboard:
I came upon a recent comment by someone who also couldn't locate the tag field. He also is using Xcode 5.0.2.
Anybody else run into this?
Thanks!
The sections in the attributes inspector can be shown or hidden by clicking on the lines where the words "View", "Control", etc appear. When you rollover the line with these section titles, you'll see the words "show" or "hide" appear on the right edge of the line. Clicking anywhere on the line toggles between the two states.
Where it says view: Move your mouse over to the far right and something should appear that says "Show". Click on it and you'll see the tag identifiers, etc.

Animate only a part of an element

how can I animate only a part of an element?
I show/hide a div using jquery-ui's show method but I'd like to start/end the animation from/to a given height of the element.
My dev website can be seen here (link removed). When clicking on the 'Contact' button the contact page shows up or hides if it's already open. Since I couldn't find how to starts my animation from a given height I added a fixed button when it's closed, but when the contact button of the contact page overlaps the fixed button when it's closing...
Any help welcome!
looking for something like this??
http://jsfiddle.net/rlemon/F6Efp/8/
You can also add any fade or whatever effects. This is using a single button to animate both open and close. You could also attach a attribute to the button tag to define it's current state.

css highlight current page

I've found some tutorials regarding sprite navigation menu. My problem now when I make it locally, I tried to select each menu and it was not highlighted. Hover is working fine only highlighted selected menu is doesn't work.
here is the link
http://webberzsoft.com/tabmenu/services.htm
Any help would very much appreciated.
Thanks
Tirso
From what I see, all of your pages' <body>s have a "home" id.
For the current page to be highlighted with the CSS rules you're using, you should have corresponding body id's for each page.

Resources