Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-10-2008, 06:12 AM   #1
eMonk
Confirmed User
 
Industry Role:
Join Date: Aug 2003
Location: Canada
Posts: 2,310
HTML Help Needed: Removing Gap Under Big Text

i'm using a 30 px font in my title but it creates a large unwanted gap right under it. is there a way to remove this whitespace?
eMonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 06:17 AM   #2
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
using an <h1> tag?
Use css to remove the margins.

<h1 style="margin: 0px;">Title</h1>
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 06:23 AM   #3
eMonk
Confirmed User
 
Industry Role:
Join Date: Aug 2003
Location: Canada
Posts: 2,310
Code:
.title { 
font-size: 30px; font-family: "Trebuchet MS"
}
eMonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 07:03 AM   #4
The Truth Hurts
Zph7YXfjMhg
 
The Truth Hurts's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,303
try using line-height set the same as your font size.

Last edited by The Truth Hurts; 04-10-2008 at 07:05 AM..
The Truth Hurts is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 07:04 AM   #5
fluffygrrl
So Fucking Banned
 
Join Date: May 2006
Posts: 2,187
This thread is useless without either link or else html quote.
fluffygrrl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 07:49 AM   #6
skrinkladoo
Confirmed User
 
skrinkladoo's Avatar
 
Join Date: Oct 2007
Location: South Florida - "Fuck Bitches and Fight Crime - It's all we do!
Posts: 629
If you paste the code or a link to the html code, or send it via ICQ - I can help you.
It's just next to impossible to do it blind.
__________________
*** Andrew Love ***

Services: (1) Web Design, (2) Graphic Design, (3) E-commerce, (4) Database Development,
(5) Web Analytics, (6) Targeted Lead Generation, (7) Marketing and Consulting

Mainstream: Successful Website Landing Page Design | ICQ: 360-83-9627
skrinkladoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 07:54 AM   #7
severe
Confirmed User
 
Industry Role:
Join Date: Dec 2007
Posts: 331
Quote:
Originally Posted by The Truth Hurts View Post
try using line-height set the same as your font size.
yeah sounds like line-height would fix it, maybe smaller font size though. some fonts are odd like that.
severe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 07:56 AM   #8
Eriic
So Fucking Banned
 
Join Date: Jan 2008
Posts: 2,995
User a spacer.gif and size it very small
Eriic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 07:59 AM   #9
quantum-x
Confirmed User
 
quantum-x's Avatar
 
Join Date: Feb 2002
Location: ICQ: 251425 Fr/Au/Ca
Posts: 6,863
Probably the h* issue to. As suggested, just remove the margin.
Does using H1, H2 tags still have SEO relevance?
quantum-x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 08:18 AM   #10
MediaGuy
Confirmed User
 
MediaGuy's Avatar
 
Industry Role:
Join Date: Sep 2004
Location: Montrealquebecanada
Posts: 5,500
Like they said, it's hard to determine without the page as an example.

My guess/contribution would be to create an h1 style like so:

h1 {display: inline;
font-size: 30px;}

or if the title is a class or element:

.title {display:inline;
font-size: 30px;}

#title {display:inline;
font-size: 30px;}

The display:inline; attribute will remove the auto-linebreak of h and other tags in css.

You might want to float:center the thing too if what follows your title wants to wrap to it...
__________________

YOU Are Industry News!
Press Releases: pr[at]payoutmag.com
Facebook: Payout Magazine! Facebook: MIKEB!
ICQ: 248843947
Skype: Mediaguy1
MediaGuy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 02:39 PM   #11
eMonk
Confirmed User
 
Industry Role:
Join Date: Aug 2003
Location: Canada
Posts: 2,310
HTML
Code:
<div align="center" class="title">GFY Rocks The Box</div>
CSS
Code:
.title { 
  font-size: 30px; font-family: "Trebuchet MS"
}
i tried adding 'display:inline;' into my css title tag but i'm not sure if that did what i was looking for because it aligned my title left when its suppose to be centered. any ideas?
eMonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 02:50 PM   #12
p!nk
Confirmed User
 
Join Date: Jun 2006
Location: here
Posts: 124
Code:
.title { font-size: 30px; font-family: "Trebuchet MS";
line-height: 2px;
margin: 0px;
}
try that
__________________
no sig

Last edited by p!nk; 04-10-2008 at 02:51 PM..
p!nk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 04:42 PM   #13
eMonk
Confirmed User
 
Industry Role:
Join Date: Aug 2003
Location: Canada
Posts: 2,310
Quote:
Originally Posted by p!nk View Post
try that
thanks bro.. i believe this is what i was looking for... but i had to make some minor adjustments to the line-height value...
Code:
.title { 
  font-size: 30px; font-family: "Trebuchet MS";
  line-height: 30px;
  margin: 0px;
}
i'm using <body topmargin="0" bottommargin="0"> in my html file so when line-height is set to anything lower then 30 then my title gets cut off at the top.
eMonk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 04:48 PM   #14
Angry Jew Cat - Banned for Life
(felis madjewicus)
 
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
Quote:
Originally Posted by Eriic View Post
User a spacer.gif and size it very small
go back to 1997...
Angry Jew Cat - Banned for Life is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-10-2008, 04:50 PM   #15
skrinkladoo
Confirmed User
 
skrinkladoo's Avatar
 
Join Date: Oct 2007
Location: South Florida - "Fuck Bitches and Fight Crime - It's all we do!
Posts: 629
glad to here you got that covered. nice work p!nk
__________________
*** Andrew Love ***

Services: (1) Web Design, (2) Graphic Design, (3) E-commerce, (4) Database Development,
(5) Web Analytics, (6) Targeted Lead Generation, (7) Marketing and Consulting

Mainstream: Successful Website Landing Page Design | ICQ: 360-83-9627
skrinkladoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.