canvas

19 views
Skip to first unread message

raj kumar

unread,
Aug 12, 2012, 11:12:52 PM8/12/12
to html5...@googlegroups.com
Hi,

I am stuck with canvas.
I am trying to draw the below canvas into my code like the code below
Actual code:
My code:

canvas image for below li alone

      <li id="myAccounts" class="ne" data-view="login-home">My Accounts</li>
      <li id="moreOptions" class="ne" data-view="offline-more">Testing Options...</li>

James Becker

unread,
Aug 13, 2012, 4:09:48 AM8/13/12
to html5...@googlegroups.com
Hi Raj,

From looking at your code it seems a mis-use of the Canvas element, your markup is sufficient to produce the same results in CSS and Javascript.

Was there a reason you need to use the canvas tag to produce this menu?

raj kumar

unread,
Aug 13, 2012, 12:44:23 PM8/13/12
to html5...@googlegroups.com
  • when i use the display inline for the above menu its not coming properly
  • i want the horizontal alignment
  • how to fix the issue
  • i tried but its not properly aligned with in black bacground
  • given below is my code

#menu a
http://jsfiddle.net/rajkumart08/s6hBG/16/

raj kumar

unread,
Aug 13, 2012, 2:04:08 PM8/13/12
to html5...@googlegroups.com
Hi 
  • I have a doubt.
  • how to move the pop up above find atm locations.
Reply all
Reply to author
Forward
0 new messages