| Author |
svg position
|
haritha hari
Greenhorn
Joined: Nov 14, 2012
Posts: 25
|
|
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
Joined: Nov 06, 2012
Posts: 174
|
|
|
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?
|
Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
|
 |
haritha hari
Greenhorn
Joined: Nov 14, 2012
Posts: 25
|
|
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
Joined: Nov 06, 2012
Posts: 174
|
|
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
Joined: Nov 14, 2012
Posts: 25
|
|
Using this tag we create svg...
right...
In above tag is it possible to tell x and y positions.......
in web page.
|
 |
Rob Crowther
author
Ranch Hand
Joined: Nov 06, 2012
Posts: 174
|
|
|
CSS Positioning 101HTML Dog: Page LayoutMDN: positionSitePoint Reference: Positioning
|
 |
 |
|
|
subject: svg position
|
|
|