Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   Help Please (http://www.greenguysboard.com/board/showthread.php?t=66108)

ecchi 2013-10-18 06:46 AM

Help Please
 
This is driving me mad for three reasons:
1) I should know this, but I've bloody forgotten.
2) I should be able to find the answer on Google, but I just spent half an hour trying with no luck.
3) G mentioned this in a post some time ago, but I cannot find that post.

So hopefully here someone can give me the answer.

When you use the head tags (H1 H2 etc) you get a gap below the text. However you can control the size of this gap, and you can loose it altogether. But I cannot remember how. Do can someone please remind me of the HTML.

Thanks.

hincapie 2013-10-18 07:14 AM

In your css file/definition ... add something like this and tamper with it till its to your exact liking:

h1 {
font-weight: 800;
margin-top: 0px;
margin-bottom: 5px;
margin-left: 0px;
font-size: 150%;
color: #000000;
}
h2 {
font-weight: 400;
margin-top: 0px;
margin-bottom: 5px;
margin-left: 0px;
font-size: 100%;
color: #000000;
}

...or similar

Cleo 2013-10-18 07:25 AM

Hincapie beat me to it but this is how I do it.

This will also remove the space in paragraphs.
Code:

h1, h2, h3, h4, h5, h6, p {
        margin: 0;
        padding: 0;
}


hincapie 2013-10-18 09:16 AM

Yeah thats a nicer and simpler version too, i was just showing off with all the tweaks ya can add for no apparent or justifiable reason :D
Quote:

Originally Posted by Cleo (Post 529634)
h1, h2, h3, h4, h5, h6, p {
margin: 0;
padding: 0;
}

Quote:

Originally Posted by Cleo (Post 529634)
Hincapie beat me

Stop flirting before breakfast !! |club||nahnah|

Greenguy 2013-10-18 02:52 PM

These are the examples I have on my hand-written scratch-pad :D







I'm old school |pokefun||greenguy|


ecchi 2013-10-19 06:28 AM

Thanks.

(Entire thread copied and saved in case I forget again.)

Cleo 2013-10-19 08:04 AM

Greenguy and his silly inline styles. :D

ecchi 2013-10-19 09:12 AM

Quote:

Originally Posted by Cleo (Post 529673)
Greenguy and his silly inline styles. :D

Actually, the particular page I wanted it for does not use CSS, so I needed inline (although once Hincapie mentioned "margin-top and margin-bottom" I knew enough to use these commands inside html style commands).

Greenguy 2013-10-21 08:29 AM

See! My HTML coding techniques are still in "style" :D

Simon 2013-10-21 08:36 AM

Quote:

Originally Posted by Greenguy (Post 529720)
See! My HTML coding techniques are still in "style" :D

One place that inline css is very much necessary is email marketing. Using external stylesheets or even putting the css coding in the head section is guaranteed to cause failure and heartache.

Even after the asteroid hit, some dinosaurs lived longer than others!

:)

ecchi 2013-10-21 03:25 PM

Quote:

Originally Posted by Simon (Post 529723)
Even after the asteroid hit, some dinosaurs lived longer than others!

Great line.

As someone who tends to be a bit "retro" (I still regularly use a computer made in the 1980s, and occasionally one made in the 1970s; I still use both video and super 8 cine film, and occasionally standard 8 film, etc....), I hope you don't mind if I steal that line occasionally to use in my own defence.

hincapie 2013-10-21 03:45 PM

FACT: Before vintage porn, grannybanging and cavemen were even invented, greenie and ecchi were wanking it off to inliners!

ecchi 2013-10-22 01:15 AM

Quote:

Originally Posted by hincapie (Post 529746)
FACT: Before vintage porn, grannybanging and cavemen were even invented, greenie and ecchi were wanking it off to inliners!

So you are saying that we were trailblazers! |pink |bananna| |pink

Simon 2013-10-22 08:04 AM

Quote:

Originally Posted by ecchi (Post 529744)
Quote:

Originally Posted by Simon
Even after the asteroid hit, some dinosaurs lived longer than others!

Great line.

As someone who tends to be a bit "retro" (I still regularly use a computer made in the 1980s, and occasionally one made in the 1970s; I still use both video and super 8 cine film, and occasionally standard 8 film, etc....), I hope you don't mind if I steal that line occasionally to use in my own defense.

No problem at all. Please consider it "user uploaded."

:)

mOrrI 2013-10-23 06:30 PM

Quote:

Originally Posted by Greenguy (Post 529649)
These are the examples I have on my hand-written scratch-pad :D







I'm old school |pokefun||greenguy|


HTML5....

If u get some free time! :D


All times are GMT -4. The time now is 01:51 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc