![]() |
|
![]() | ||
|
Subject:
Formatting an object to have corners using only CSS/DHTML?
Category: Computers Asked by: ideasmerchant-ga List Price: $2.50 |
Posted:
02 Aug 2002 15:28 PDT
Expires: 01 Sep 2002 15:28 PDT Question ID: 50028 |
I have a block of something defined in a css tag, eg. <span class=stick>this is one example of code</span> <span class=stick><table ...> ........</table></span> What I would like is that in the top left and bottom right I can but an icon. The effect I'm trying to acheive is to have corners at these two edges. Any ideas how I can acheive this effect just using CSS/DHTML? I can supply a graphic example of the look i'm after if it helps? | |
| |
| |
|
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: Formatting an object to have corners using only CSS/DHTML?
From: chrisjohnson-ga on 03 Aug 2002 06:58 PDT |
If you're after what I think you are, you could have the background image for the site be the bottom right corner (like an image of a page curl or something) with code like body { background-image: url("bottomright.jpg"); background-position: bottom right; background-repeat: no-repeat; } And then to get the top left corner you could stick a table whose position is at the very top and very left of the page with the image for the top-left corner as its background, like this.. <table border=0 cellspacing=0 cellpadding=0 background="topleft.jpg" style="background-repeat: no-repeat; background-position: top left; position: absolute; left: 0px; top: 0px;"> That way the body background is in the bottom right of the page and that table is in the top left, giving the effect I think you're looking for (unless I read what you said wrong). |
Subject:
Re: Formatting an object to have corners using only CSS/DHTML?
From: ideasmerchant-ga on 05 Aug 2002 07:01 PDT |
I see what your getting at. But it won't get the effect I'm after. _ | d kjhdfkjhdkjhfkjhs kjh fhd khf dsh fkkds jfh dskfhkjdshfkh dkfjh _| The above illustrates why a TABLE solution won't work. The formatting has to be done by either CSS or DHTML only. I had hoped the someone might be able to show how to get two images defined into a single CSS tag...? |
Subject:
Re: Formatting an object to have corners using only CSS/DHTML?
From: ideasmerchant-ga on 09 Aug 2002 06:30 PDT |
I've looked into this problem some more and I think DHTM will be necessary to get the BOTTOM RIGHT image in place. To answer this questions I think all you will need to be able to do is show the formatting top and bottom right (in line with last element of text not square with edge). |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |