headline margin 0 important?

Locked
djmj
Posts: 400
Joined: 16 Dec 2011, 01:23

12 Mar 2016, 23:15

Is there a reason why all headlines have 0 margin since there is following rule in core-layout.css?

Looks a little bit clamped visually and overhead to specify margin for each headline tag.

Code: Select all

h1, h2, h3, h4, h5, h6{ margin:0px !important;} 
Primefaces: 11.0.0 RC2
Primefaces-Extension: 11.0.0
PrimeFaces-Mobile: 11.0
OmniFaces: 3.11
Jsf: Mojarra 2.3.8
Server: Glassfish 5.1.0

daytona
Posts: 33
Joined: 05 Mar 2015, 09:36

13 Mar 2016, 22:56

djmj wrote:Is there a reason why all headlines have 0 margin since there is following rule in core-layout.css?

Looks a little bit clamped visually and overhead to specify margin for each headline tag.

Code: Select all

h1, h2, h3, h4, h5, h6{ margin:0px !important;} 
Hi,

Head tags (h1, h2, ...) have margin values predefined.
Some times this margin values can be unnecessary.
So that this reset line maybe necessary for removing margins.

But this margins does not problem for you,
you can remove this line from core.css file.

Kind regards,

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

17 Mar 2016, 11:00

Thanks daytona ;) +1

djmj
Posts: 400
Joined: 16 Dec 2011, 01:23

17 Mar 2016, 13:25

thanks too.
yeah i just removed it, was just curious
Primefaces: 11.0.0 RC2
Primefaces-Extension: 11.0.0
PrimeFaces-Mobile: 11.0
OmniFaces: 3.11
Jsf: Mojarra 2.3.8
Server: Glassfish 5.1.0

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

21 Apr 2016, 15:26

Thanks for the update ;)

Locked

Return to “Adamantium”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests