Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Working Mechanic
Posted
Ok now I have an HTML page with a SVG background. Problem is I cant put anything on top of this EMbedded SVG. Is that the way it is or is there a way to change that?
 
Posts: 19 | Registered: February 09, 2004Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
That's the way it is. SVG and HTML are two different technologies and you can't see both in the same place on the same page.

Of course you can put stuff on top of the SVG page and it will show through on the HTML page where it is embeded.

You could also just add a rectangle with shading on your HTML page and not embedd SVG if you just want a gradient background. The rectangle may make your page larger to download though, depending on the size of it.
 
Posts: 3212 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
It sounds like you just said the reverse of what you said couldn't be done. I have a SVG background page (with Gradient) I embedded it into an HTML Page. WHen I publish the page, only the SVG shows up. The other regular text and objects I have put on top when I am in site spinner do not show up when I hit preview with an HTML extension. Therefore I am thinking that an embedded SVG can only lay on top of an HTML page not the reverse. True or not?
 
Posts: 19 | Registered: February 09, 2004Reply With QuoteEdit or Delete MessageReport This Post
Working Mechanic
Posted Hide Post
Sorry about the double post but I think I know what you are saying even though it isn't what I wanted to happen. ON your second part of the question, you mention putting a gradient filled rectangle as a background. If I do that, it would be for the whole page. Is there a way for me to find out how many KB's this would add to my project? I guess I am trying to figure out if it would add too much loading time to my page. SInce you know the program, If you added a rectangle to each page of a project with a gradient fill, would it significanlty slow down the loading? Thanks
 
Posts: 19 | Registered: February 09, 2004Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Derry
Posted Hide Post
The file size of the image would depend on the type of gradient fill you gave it, and how big it is. Try creating what you want, Preview the page. In IE, right-click the image and go to 'Properties'. This will tell you how big it is.

Keep in mind that if you include the same background on all pages that your site's visitor only has to download it once - the first page may be slow but subsequent pages won't be.

- Derry
 
Posts: 4166 | Location: Toronto, Canada | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.