Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

svg position

 
haritha hari
Greenhorn
Posts: 29
Chrome Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai frnds

How to set starting postion of svg in web page?

How to set x and y co ordinates for svg creation...?

Please tell me....
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The SVG element will be positioned according to exactly the same rules as any other element you might put in the web page. What is the problem you're trying to solve?
 
haritha hari
Greenhorn
Posts: 29
Chrome Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not asking about SVG elements....

My question is we use <svg> to allocate some space in web page right...

And in that Allocation what attributes are used to tell the starting postion of svg area in web page i mean x and y co-ordinates..?

by default there values are 0..

Please tell me that solution for this problem....
 
Rob Crowther
author
Ranch Hand
Posts: 297
5
Android Fedora Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
haritha hari wrote:I am not asking about SVG elements....


OK...

haritha hari wrote:My question is we use <svg> to allocate some space in web page right...


So why in the very next sentence are you talking about the <svg> element?

haritha hari wrote:And in that Allocation what attributes are used to tell the starting postion of svg area in web page i mean x and y co-ordinates..?


Exactly the same attributes that are used to tell the starting position as for any other element, like <div> or <p>.

haritha hari wrote:by default there values are 0..


No, by default the values are determined by the preceding content on the page unless you change things with CSS.

haritha hari wrote:Please tell me that solution for this problem....


What problem? Your follow up post has not made what your problem is any clearer to me. Maybe you should try posting an code example of what you mean?
 
haritha hari
Greenhorn
Posts: 29
Chrome Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator




Using this tag we create svg...

right...


In above tag is it possible to tell x and y positions.......

in web page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic