Click to See Complete Forum and Search --> : Vml


PeOfEo
02-25-2003, 07:09 PM
Let me start by saying i did not know where to put this post, XML or CSS but I chose CSS. VML is possibly the coolest thing I have seen all week! I want to use it extencivly on this one veb site of mine now because it looks awesome and saves tones of time. A WAY IN RAW CODE TO MAKE ROUNDED CORNERS AND OTHER NEAT STUFF! Only problem is I cant seem to figure out how to make the border change colors, well I get it to but it did not look pretty. I tried <v:roundrect style="width:500pt;height:500pt;border: 2px solid #003366" fillcolor="003366"></v:roundrect>
It did not work out nicely. It had a border... but it was square and not round like the shape even though the object is physically square, but still.... c mon. Next there was the fact that the object was 'falling out' of the border. By that I mean the object was well inside the border on the top left side and overlapping its border on the bottum right. Any suggestions or cool ideas?
http://www12.brinkster.com/knightsempire/vml.html <-- what I have been playing with so far

Jona
02-25-2003, 07:32 PM
Maybe you could try "bordercolor='white'" or something like that?

PeOfEo
02-25-2003, 07:56 PM
Didn't work and I bobt it whould use an = sign ill try it with a : though

Stefan
02-26-2003, 08:57 AM
VML is proprietary crap. Look into SVG instead, which is the standard way of doing the same.

http://www.w3.org/Graphics/SVG/

Native browsersupport for SVG is a bit scarse at the moment though (but not worse then VML).

BTW, CSS 3 will have rounderd bordercorners, but yet again browsers are in general not implementing it yet. You can get it working in Mozilla browsers however, but that basicly just usefull if you want to eperiment with the effects.

PeOfEo
02-26-2003, 12:08 PM
I might just stick to images for now because it can be read by most browsers and its easy to use and controll. But I still think VML is pretty cool.

celebguy_dv
03-04-2003, 03:11 AM
http://banners.dollarmachine.com/pic/2014000/hal001.gif (http://www.kinkyceleb.com/1261795520)