NameSilo

Tabs Extending Beyond Content

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

Pixel-Industry

Established Member
Impact
0
sobwya.jpg

A recent, possibly fading, trend in design is to have little tabs or buttons extend beyond the content as seen in the picture above. As far as coding this what is the best technique?

A. Extending the container div wider and use margins to push content further over

or

B. Use position: absolute; to extend the tab beyond that container...

Also, what is the most effective and compliant way to achieve vertical text as seen in the above picture?
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
1. B. Use position:absolute and then javascript to hide it when the user's browser is not wide enough to achieve consistent horizontal scrollbars in all browsers.

2. Use transform:rotate. See Text Rotation with CSS - Snook.ca.
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back