Background color not changing despite properties edit

Post questions on how to use or achieve an effect in Inkscape.
dheian
Posts: 1
Joined: Sun Feb 23, 2014 4:13 pm

Background color not changing despite properties edit

Postby dheian » Sun Feb 23, 2014 4:22 pm

I have a simple file, just text on a small canvas.

When I loaded it as a background image on a site, it was the red text I chose on a transparent background. I googled and searched this forum and saw that I could go into the document properties and change the background of the svg file to make it the white background I want.

The R,G,B and A are all 255...but the image is still red text on a transparent background. Anything I need to be checking?

Thanks.

User avatar
Maestral
Posts: 982
Joined: Sat Aug 27, 2011 7:10 am

Re: Background color not changing despite properties edit

Postby Maestral » Sun Feb 23, 2014 8:28 pm

It should work. No idea what could be wrong.
Could you show us .svg file?
:tool_zoom: <<< click! - but, those with a cheaper tickets should go this way >>> :!:

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Background color not changing despite properties edit

Postby Lazur » Mon Feb 24, 2014 12:32 am

Hi.

If you open your svg in a notepad you will see that the background colour you set in the document's properties panel,
looking

Code: Select all

     id="base"
     pagecolor="#ffffffff"
     bordercolor="#666666"
     borderopacity="1.0"


are all stored inside a <sodipodi> tag, which refers to the progam inkscape was based upon.
Technically those parts with the tag only affects the rendering inside the inkscape window.
As far as I know there is no such part in the svg specification that could define a background colour, meaning you will have to draw something with white below the text to have a non-transparent background.

http://forum.inkscapecommunity.com/index.php?topic=102.0

User avatar
Maestral
Posts: 982
Joined: Sat Aug 27, 2011 7:10 am

Re: Background color not changing despite properties edit

Postby Maestral » Mon Feb 24, 2014 1:19 am

You`re not just Born ready but you`re also Never tired, right?!
:tool_zoom: <<< click! - but, those with a cheaper tickets should go this way >>> :!:


Return to “Help with using Inkscape”