Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Box Sizing

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38393
    euan_mc
    Member

    I’ve just started to use box sizing so i could add a border to the inside of my div. At present i have it set with a 10px border but is there anyway I can alter the border so certain edges are different border sizes not all set to 10px? I’ve tried border: 10px 5px 10px 10px; but doesn’t work.

    #104008
    Paulie_D
    Member

    Of Course, you just have to set them independently: http://jsfiddle.net/Paulie_D/bYXVX/

    #104009
    euan_mc
    Member

    Well i feel like a simpleton… must of been my sheer refusal to type it out individually that i prevented me from figuring it out myself. Thanks Paulie_D

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.