![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Sofa King Band
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Aug 2003
Location: Canada
Posts: 2,310
|
Code:
.title { font-size: 30px; font-family: "Trebuchet MS" } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Zph7YXfjMhg
Industry Role:
Join Date: Nov 2002
Location: In Your Skull
Posts: 15,303
|
try using line-height set the same as your font size.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Join Date: May 2006
Posts: 2,187
|
This thread is useless without either link or else html quote.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Dec 2007
Posts: 331
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
So Fucking Banned
Join Date: Jan 2008
Posts: 2,995
|
User a spacer.gif and size it very small
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
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> Code:
.title { font-size: 30px; font-family: "Trebuchet MS" } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Jun 2006
Location: here
Posts: 124
|
Code:
.title { font-size: 30px; font-family: "Trebuchet MS"; line-height: 2px; margin: 0px; } ![]()
__________________
no sig |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Industry Role:
Join Date: Aug 2003
Location: Canada
Posts: 2,310
|
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; } |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |