Today I faced a strange problem …. I have to add drop-down menu by javascript.
<a href=”http://www.phpsolutions.co.in” style=”border:2px dotted #0000FF”><img src=”phpsolutions.gif” border=”0″ style=”border:2px solid #009966″ /></a>
this is the code where I have to add a menu but menu dancing on this image.. when I mouse over the image menu appeared to bottom of the image…
here you can see output of above html code… I have marked a border around image in green and on anchor with blue color.
I think now you got the problem 🙂
Yes, now we have to apply height and width to anchor in blue color below is the code for this….
<a href=”http://www.phpsolutions.co.in” style=”border:2px dotted #0000FF; float:left; width:70px; height:80px;”><img src=”dateblock.gif” border=”0″ style=”border:2px solid #009966″ /></a>
This is the magic for “float: left” of CSS .. here you can use “float: right” as well to apply height/width to anchor tags…..
Here you can see the output of above code the blue border with width/height of anchor tag.
33 Responses to float: left – anchor's height
Leave a Reply
You must be logged in to post a comment.
You completed several good points there. I did so looking around the issue and located nearly all people will go in addition to with all your blog.
I used to be just browsing here and there but got to learn to read this post. I have to admit that we are inside the hand of luck today otherwise getting such an excellent post to see wouldn’t have been achievable to me, a minimum of. Really appreciate your articles.
I think other site proprietors should take this site as an model, very clean and fantastic user genial style and design, let alone the content. You are an expert in this topic!
I reckon something truly interesting about your web blog so I bookmarked .
Some truly wonderful articles on this web site , appreciate it for contribution.
I was looking through some of your blog posts on this site and I believe this website is really instructive! Keep putting up.
Very interesting subject, regards for posting.
But wanna remark that you have a very nice site, I enjoy the pattern it really stands out.
Some genuinely good posts on this web site , thanks for contribution.
I was looking through some of your blog posts on this website and I think this website is real instructive! Keep posting.
I like this blog it’s a master piece! Glad I detected this on google.
Only wanna input that you have a very decent internet site , I the pattern it really stands out.
I was studying some of your articles on this site and I think this web site is real instructive! Continue putting up.
Rattling nice design and style and excellent subject matter, absolutely nothing else we want :D.
Merely wanna input on few general things, The website layout is perfect, the subject matter is real wonderful. “I have seen the future and it doesn’t work.” by Robert Fulford.
Great post, I think people should learn a lot from this weblog its rattling user friendly. So much wonderful info on here :D.
As soon as I discovered this website I went on reddit to share some of the love with them.
I like this post, enjoyed this one appreciate it for putting up.
I gotta favorite this website it seems very beneficial handy
I like this web site very much so much good information.
Rattling nice design and style and superb content , practically nothing else we need : D.
Very interesting subject, appreciate it for putting up.
So I created a secondary blog off my first one, but I now want my secondary blog to be my personal or my main blog. So that as soon and I sign on the newer blog I made would be my default blog. If that makes any sense… Is there a way to do this?.
I love to help you out, can you please just drop me a mail regarding work, so we can communicate there easily.
You can drop me a mail on pavan@phpsolutions.co.in
Hiya very cool web site!! Guy .. Excellent .. Amazing .. I’ll bookmark your web site and take the feeds additionally…I’m happy to seek out a lot of helpful information right here within the put up, we want work out extra techniques in this regard, thanks for sharing.
Very interesting info! Perfect just what I was searching for!
Thankyou for sharing float: left – anchor's height | PHP Solutions with us keep update bro love your article about float: left – anchor's height | PHP Solutions .
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
Attractive part of content. I simply stumbled upon your blog site and in accession capital to say that I get in truth really liked account your website posts. Anyway I’ll be subscribing to your augment and also I achievement you access regularly quickly.
Very interesting information!Perfect just what I was searching for!
I really like your writing style, excellent information, appreciate it for posting : D.
Hey there I just wanted to stop by and say I love to read your Site!
It’s a keen disgrace you don’t a elasticity money secure! I’d definitely ply money for this marvelous webpage! That i speculate for the state i’ll be slaked bookmarking together with including an individual’s Exploit that faculty my primo Msn structure. That i appearance forward that gift past messages and definitely instrument apportion the web computer utilizing my unsurpassable Facebook or chirrup squad: )