From: Leif W <war...@us...> - 2003-09-17 00:27:27
|
Hi I've taken the snippet of code, wrapped it in a basic HTML page, and opened it in 4 browsers all next to each other, and took a screenshot. http://dynapi.kicks-ass.net/DynAPI_CVSROOT/test/div_clip_test/div_clip_test.gif (45kb, 1600x1200). Clockwise from top-left corner is Mozilla 1.5 beta, Mozilla Firebird 0.6.1, Opera 7.11, Internet Explorer 6). Both Mozillas don't clip the first, and both clip the second, so they're acting the same, which is little surprise. Opera 7.11 clips the text but displays the <div> as if the text were still there. (HUH? WTF?) Internet Explorer 6 doesn't seem to clip anything, it merely "shrink-wraps" the <div> to the text. So the trick then becomes, when doing things with CSS in the API, (either as API developers or API users) what else can we do to make things look as much the same as possible? This would seem to be a big problem to handle, but maybe there's some simple ways to work around it. Leif ----- Original Message ----- From: "Raymond Irving" <xw...@ya...> To: <dyn...@li...> Sent: Wednesday, September 10, 2003 12:48 PM Subject: Re: [Dynapi-Help] Problem with setClip > > Hi, > > It would appear to me that you can't clip relatively > positioned layers: > > <div > style="position:relative;clip:rect(0px,50px,50px,0px); > width:100;height:100;background-color:yellow"> Some > Text Here sf f af eq f eqf e qf eqf eqfffffffeqfeqf > eq f eqf eqf</div> > <div > style="position:absolute;clip:rect(0px,50px,50px,0px); > left:150px;top:150px;width:100;height:100;background-color:green"> > Some Text Here sf f af eq f eqf e qf eqf > eqfffffffeqfeqf eq f eqf eqf</div> > > > -- > Raymond Irving > > --- Daniel Tiru <de...@ti...> wrote: > > Hi! > > > > I have found a problem with the templatemanager and > > setting a clip on a > > layer added to the templatemanager,maybee i am doing > > something wrong, > > but the layer in the template dont get clipped. > > > > Attatched is my examplepage. > > > > Best regards > > Daniel > > > > -----Original Message----- > > From: dyn...@li... > > [mailto:dyn...@li...] On > > Behalf Of Gavin O' > > Gorman > > Sent: den 10 september 2003 10:14 > > To: dyn...@li... > > Subject: RE: [Dynapi-Help] The New DynAPI Components > > are Here! Check out > > CVS > > > > > > > my firewall (at least 1 stick of bad RAM, but > > which stick, and how > > > many if more than one?). But everything is up > > most of the time > > > otherwise. > > > > > > Leif > > > > Leif, > > Thanks very much for that, I appreciate the effort ! > > I ended up just > > downloading it this morning from the daily snapshot > > folder which seems > > to have been updated properly. > > > > Thanks again, > > Gavin > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Dynapi-Help mailing list > > Dyn...@li... > > > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > > > > ATTACHMENT part 2 application/octet-stream > name=tm_clip.zip > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > > |