473,657 Members | 2,921 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Responsive Header spacing issue using fittext.js

2 New Member
I'm trying to build a responsive header for a website that I'm designing using the fittext.js plug-in. The text is scaling perfectly but I can't figure out how to nudge the text down so that the white color of the text connects with the white color of the body color.

You can check out an example of the header as I have it now and see an image of what I'm trying to make it look like here: http://andrewcmchugh.com/headerexample/

I've pasted in the code below, but I've tried using padding, margin and line height to move the div and the text down but there is always space below the text that takes the color or the black background. I'm not sure if this is just inherent in the fittext.js plug-in or if it is something that can be manipulated using CSS/HTML in some other way.

I'm really no jquery expert and I'm mostly self-taught when it comes to HTML and CSS so I'm hoping I'm just missing something that someone with more experience can help me out with. I appreciate any help - Thanks
Apr 23 '12 #1
0 1675

Sign in to post your reply or Sign up for a free account.

Similar topics

11
29562
by: Tom Post | last post by:
I am doing a simple php header refresh -- header('refresh: 10; url=msgs.php'); that just does a call back to my script every 10 seconds. Things work great when the page is first loaded up, but if the end user hits F5 or the refresh button, then the page stops refreshing indefinately. Any ideas how to make it so that the page perpetually refreshes regardless of what the end user presses?
2
3406
by: Ryan | last post by:
(Sorry if this gets posted twice. News server acted up on me.) Greetings - I am in the last stages of developing a site for a musician, and I have a few questions. Site in question: http://www.chancesend.com/test/info.html (I am aware that none of the top navigation links work. I am also aware that the Mailing List portion does not work. I just haven't gotten
7
7108
by: Danny | last post by:
I have a small <div> element which contains two text blocks - one within <h5> tags and the other within <p> tags. I don't want any extra line spacing between elements so use the display:inline property. This works for IE6 but Opera7.54 and Netscape7.1 add large line spacing between the text blocks and any lines of wrapped text. The line spacing is independant of the font size and is consistent between all lines. ie: it's not larger...
2
2673
by: Tom | last post by:
I have a report where one field tends to be rather lengthly and ends up being several lines long while another field has several short entries. The problem I have is that the first of the short entries is aligned with the record's other entries, but subsequent entries are listed below the first record. Does anyone know how I can get rid of the annoying gap between the first and second entry for that one field?
1
1438
by: Rushi | last post by:
Hi All, I want to publish one Event from my Header User Control using Master pAge . And want to attach/detach this event from individual pages. Details: I have one User Control Header.ascx. This control have one Save Button. And this control haivng one Raise Event for this save button. I am using this UC in master page.
11
2526
by: subramanian100in | last post by:
Suppose the following is in Test.h #ifndef TEST_H #define TEST_H #include <iostream> #include <string> using namespace std;
4
2823
by: ppuniversal | last post by:
Hi, I am developing an application in ASP .NET where I have to generate a Header and a Footer on my web pages. The issue is that, these headers and footers need to be dynamically placed on the page. For example, if the page length is 1 page, there will be only 1 header and 1 footer. But if the page length is larger, and when we do the print/print preview of the page and it goes to say more than 1 page, then I need the headers and footers on all...
11
3005
by: lee weaver | last post by:
For some reason when applyinf a filter, not changeing or adding information to my database i get a 3022 error. here is the offending code. Private Sub Updatebutton() Dim f As String Command6.Caption = "Deactivate " & Me.List6.Value Command6.ForeColor = vbRed
4
3829
by: interr0bangr | last post by:
Hey all, Does anyone have any tips when coding superscript for email newsletters? My client uses insane amounts of superscripted characters (usually to reference the legal fine print) and I've been having to resort to using images instead of just coding them with regular characters otherwise it will cause the line spacing to go crazy. My code works fine in AOL Mail and Gmail, but seems to be disregarded in Yahoo Mail and Hotmail (I assume...
0
1243
by: ashishbhatt | last post by:
Hi All, I have one issue regarding header and footer in smart phone web based application. And we are using HTML5 and CSS3 for the same. I want footer fixed at bottom. But in mobile(iPhone, Android and BlackBerry) are not displying at bottom. It will be scroll up when i move it. Thanks Ashish
0
8385
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8303
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8723
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8502
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8602
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4150
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1941
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.