Forums

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

Home Forums CSS Getting user-agent default style for buttons after global reset

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31852
    marakoss
    Member

    Hi there,
    when I did “hardcore” CSS reset by typing * { margin, padding, border,etc..} I’ve lost the style of input buttons, so I managed to get the style back by sniffing into user-agent default css style.
    I could get back the look of button in webkit-based browsers by typing ” border: 2px outset buttonface; ” (but messy when mousedown).

    Challenge for anyone to get this working in every browser?

    #57036
    marakoss
    Member

    Ya, that’s not the answer I wanted to hear :]
    It’s a challenge.. I just want to know, If it’s even possible (I think there must be a way).

    I was also thinking about default values with !important rule, so the reset can’t affect it. But I don’t know how to evoke them. I would appreciate somethink like: “border: initial !important;” .. no luck yet.

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