|
2013-10-18, 06:46 AM | #1 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
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. |
2013-10-18, 07:14 AM | #2 |
You can now put whatever you want in this space :)
|
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 |
2013-10-18, 07:25 AM | #3 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
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; } |
2013-10-18, 09:16 AM | #4 |
You can now put whatever you want in this space :)
|
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
Stop flirting before breakfast !! |
2013-10-18, 02:52 PM | #5 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
These are the examples I have on my hand-written scratch-pad
<h1 style="line-height:105%; margin-top:0; margin-bottom:0;"> <h1 style="line-height:110%;"> <h1 style="margin-top:0; margin-bottom:0;"> <h1 style="margin-top:0;"> <h1 style="margin-bottom:0;"> I'm old school |
2013-10-19, 06:28 AM | #6 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Thanks.
(Entire thread copied and saved in case I forget again.) |
2013-10-19, 08:04 AM | #7 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Greenguy and his silly inline styles.
|
2013-10-19, 09:12 AM | #8 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
|
2013-10-21, 08:29 AM | #9 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
See! My HTML coding techniques are still in "style"
|
2013-10-21, 08:36 AM | #10 |
That which does not kill us, will try, try again.
|
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!
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
2013-10-21, 03:25 PM | #11 | |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Quote:
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. |
|
2013-10-21, 03:45 PM | #12 |
You can now put whatever you want in this space :)
|
FACT: Before vintage porn, grannybanging and cavemen were even invented, greenie and ecchi were wanking it off to inliners!
|
2013-10-22, 01:15 AM | #13 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
|
2013-10-22, 08:04 AM | #14 | ||
That which does not kill us, will try, try again.
|
Quote:
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
||
2013-10-23, 06:30 PM | #15 | |
You can now put whatever you want in this space :)
|
Quote:
If u get some free time!
__________________
|
|
|
|