Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: CSS issues: where's "user agent stylesheet"?

CSS issues: where's "user agent stylesheet"? 5 Monate 1 Woche her #107259

  • blacknail
  • blacknails Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 30
  • Dank erhalten: 1
  • Karma: 0
Hello all,

I'm editing the sherpa template, but now I'm facing some problems. I need to change some font sizes / margins, and when inspecting the elements with Chrome, I can't locate some of the styles in it. For instance, in the attached example (in the right, inside the red round rectangle), I can't seem to find the style for the <h3> heading in the template.css file. Where can it possible be? Since it has a reference to "user agent stylesheet" it must be somewhere else, but I can't find out where. I've edited a lot of styles before in template.css, but now I can't seem to advance. I've also searched in other files and wasn't also able to find it there either.

Thanks a lot for your time, any help will be valuable.



bode_css_2014-04-07.png
Letzte Änderung: 5 Monate 1 Woche her von blacknail.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

CSS issues: where's "user agent stylesheet"? 5 Monate 1 Woche her #107271

  • pietpomp
  • pietpomps Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 23
  • Dank erhalten: 3
  • Karma: 0
Hi Blacknail,

'user agent stylesheet' is the browser(user-agent) fall-back. They may actually differ from browser to browser. You can think of it as the particular browsers 'defaults'. This is why you'll come across CSS-reset stylesheets ~ to get it as close as possible across various browsers.

If you added(set) a h3 in your CSS, you'll see it being used instead of the 'defaults'. This will explain why your search wouldn't find any either.

Hope that helps
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: blacknail

CSS issues: where's "user agent stylesheet"? 5 Monate 1 Woche her #107276

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6331
  • Dank erhalten: 817
  • Karma: 243
An h3 inside a table ?

Strange ....
Der Administrator hat öffentliche Schreibrechte deaktiviert.

CSS issues: where's "user agent stylesheet"? 5 Monate 1 Woche her #107324

  • blacknail
  • blacknails Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 30
  • Dank erhalten: 1
  • Karma: 0
Thanks for all the answers, I solved my problems by overriding the style in the template.css file (cache was preventing me from seeing the changes...). Also changed <h3> to <p>, Denis, I agree it can make more sense ;]
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.124 Sekunden
Donation Image