We Recommend

CSS: The Definitive Guide CSS: The Definitive Guide
Provides you with a comprehensive guide to CSS implementation, along with a thorough review of all aspects of CSS 2.1. Updated to cover Internet Explorer 7, Microsoft's vastly improved browser, this new edition includes content on positioning, text wrapping (nowrap), lists and generated content, table layout, user interface, paged media, and more.


Posted By

alvaroisorna on 07/04/06


Tagged

css tantek boxmodel


Versions (?)


Who likes this?

41 people have marked this snippet as a favorite

luman
gardano
arturo
jonbaer
panatlantica
fatihturan
groenewege
enochrisen
zensir
horizens
dojob
clifton
visualAesthetic
rmaltete
dividespace
Poltras
banjomamo
tavo
ggb2g
icarus
manub
fael
robotoverlord
rich13
marcoba
SpinZ
vali29
SamuelMiller
Leech
sjaq
kaiser79
snucko
seekup00
usgraphicscom
strangesthings
wbowers
balinuxster
gbot
paullorentzen
zeljkoprsa
JimiJay


CSS Box Model Hack


Published in: CSS 


classical box model hack, by Tantek Çelik

http://www.tantek.com/CSS/Examples/boxmodelhack.html


  1. div.content {
  2. width:400px;
  3. voice-family: "\"}\"";
  4. voice-family:inherit;
  5. width:300px;
  6. }
  7.  
  8. html>body .content {
  9. width:300px;
  10. }

Report this snippet 

You need to login to post a comment.