Question:
Is it a goal of an SVG website to use SVG text file or should we avoid it since it is not selectable in a browser. I'm referring to Nicu's example:
My paragraph text wasn't rendering like Nicu's so I figured that I could just write some text in the html document instead. I set the z-order so that the text would be on top of my SVG file. Should I avoid this method? Is this frowned upon?
heathenx
My paragraph text wasn't rendering like Nicu's so I figured that I could just write some text in the html document instead. I set the z-order so that the text would be on top of my SVG file. Should I avoid this method? Is this frowned upon?
It works great and is selectable with Safari 3 on Mac OS X 10.4.11 PPC.
heathenx wrote:
Question:
Is it a goal of an SVG website to use SVG text file or should we avoid it since it is not selectable in a browser.
It is not selectable *now*
My paragraph text wasn't rendering like Nicu's so I figured that I could just write some text in the html document instead. I set the z-order so that the text would be on top of my SVG file. Should I avoid this method? Is this frowned upon?
And the SVG is acting mostly like background.
On the pro side, in addition to being selectable, the text is also indexed by search engines, on the contra side, you have to be careful with positioning the text layer, it nullifies the SVG links it covers (and personally I am not happy with the solution as it promote a workaround, not a real solution).
Nicu Buculei wrote the following on 1/16/2008 1:47 AM:
heathenx wrote:
Question:
Is it a goal of an SVG website to use SVG text file or should we avoid it since it is not selectable in a browser.
It is not selectable *now*
My paragraph text wasn't rendering like Nicu's so I figured that I could just write some text in the html document instead. I set the z-order so that the text would be on top of my SVG file. Should I avoid this method? Is this frowned upon?
And the SVG is acting mostly like background.
On the pro side, in addition to being selectable, the text is also indexed by search engines, on the contra side, you have to be careful with positioning the text layer, it nullifies the SVG links it covers (and personally I am not happy with the solution as it promote a workaround, not a real solution).
Okay, great. Thanks, Nicu.
I would like to get a fully compliant SVG website example and I don't want to start out on the wrong foot. It's been difficult for me so far to break out of the HTML/CSS shell that I have grown accustomed to. This has been a interesting project so far. :)
heathenx
participants (3)
-
Benjamin Huot
-
heathenx
-
Nicu Buculei