TwelvestoneFront End

Div, beveled corner best practice


Sign in

  • Waiting for Godot ( 720 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 4.8 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.8 k posts )
    general front end design an...
  • Back End ( 9.6 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
persist
 
2009-10-23

I am working with a designer who has put a beveled corner on alot of UI layers. This is a large project and these things are going to be ubiquitous.

http://memoryprojector.com/images/divbevelcorner.gif

I was wondering what you all thought was the lowest weight, most XHTML, uber solution for this corner. You can see they're draggable so the corner has to be "real"

Thoughts?

wowbagger[tip]
 
2009-10-23

..where container.png is larger then your largest ui element with the bottom-right corner half transparent. Not elegant, but simple layout wise with the png being <2kb I reckon.

creepylurker
 
2009-10-23

I might be missing something but..

what about the borders?

//duh never mind.. just a top left border.

persist
 
2009-10-24

Thanks.

I should have added that they resize.

I couldn't get this to work at different sizes with a border?

Ideas?

wowbagger[tip]
 
2009-10-25

quickie

But you could also use a combination of corner/border divs, especially if you are deciding on a dropshadow for instance.

persist
 
2009-10-27

very cool wowbagger.

thanks

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFront End

Div, beveled corner best practice