Search the web
Sign In
New User? Sign Up
svg-developers · SVG Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Position svg elements in html page using external css page?   Message List  
Reply | Forward Message #62539 of 63018 |
Re: Position svg elements in html page using external css page?

--- In svg-developers@yahoogroups.com, "xyz1332003" <richard_grimes@...> wrote:
>
> I am trying to figure out the best way to position svg images on an html page.
>
> Is it possible to position them using an external css page?
> If not, are there other options?
>
> Thanks.
>

You can position <svg> elements just like you can position any other elements in
HTML using CSS. For instance:

/* all svg elements with class="inline" */
svg.inline {
display:inline
}

/* the svg element with id="topright" */
svg#topright {
position: absolute;
right: 0px;
top: 0px;
}





Wed Jul 8, 2009 8:52 pm

jeff_schiller
Offline Offline
Send Email Send Email

Forward
Message #62539 of 63018 |
Expand Messages Author Sort by Date

I am trying to figure out the best way to position svg images on an html page. Is it possible to position them using an external css page? If not, are there...
xyz1332003
Offline Send Email
Jul 8, 2009
7:30 pm

... You can position <svg> elements just like you can position any other elements in HTML using CSS. For instance: /* all svg elements with class="inline" */ ...
Jeff Schiller
jeff_schiller
Offline Send Email
Jul 8, 2009
8:52 pm

I get no response. Do you notice anything wrong with my code? <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ...
xyz1332003
Offline Send Email
Jul 8, 2009
9:17 pm

I think I discovered the mistake I was making. My css file was in the wrong folder, thus no response. Thanks for your help....
xyz1332003
Offline Send Email
Jul 8, 2009
9:49 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help