PDA

View Full Version : Angle a Tab?




monke
Feb 5, 2008, 04:28 PM
This might sound a little crazy, but is there anyway to angle a tab using just CSS and HTML?

I know you could rotate an image in photoshop and put it in that way, but without using any images, is there a way?



xelterran
Feb 5, 2008, 05:02 PM
theres no way to angle text with css you will need to use a background image


background: url("image.jpg") no-repeat;

monke
Feb 5, 2008, 05:11 PM
theres no way to angle text with css you will need to use a background image

That's what I figured.
Thanks. :)

mcdonger
Dec 21, 2010, 07:47 PM
CSS3 lets you perform rotation transformations to objects, try this example:

http://www.rationalsensibility.com/Blog/Angled-Tabs-CSS3/

(Yes I realise this post is very old and that you probably couldn't do this at the time, I just thought I'd add the link for reference of anyone now searching this problem)