Forums | MacLife
You are not logged in.
#1 2008-09-07 8:48 am
- pattyadams
- Member
- Registered: 2008-09-07
- Posts: 1
Title of web site keeps jumping. Need help to sort it out
I have posted this problem on a number of forums but still don't have a solution. If anyone can help I would really appreciate it.
I created a site with iweb, but for some reason, the title "Mermaid Films" in bold white letters at the top of each page appears to jump just before the page finishes loading. This is the URL to see what I mean:
www.mermaidfilms.com.au
It only happens just before the age finishes loading.
Thanks in advance.
Last edited by pattyadams (2008-09-07 8:49 am)
Offline
#2 2008-09-07 1:43 pm
Re: Title of web site keeps jumping. Need help to sort it out
This file calls the function
Code:
adjustLineHeightIfTooBig('id5');It looks like after the page loads that file is changing the line height of the div with the id of "id5"(which contains the words that are jumping):
Code:
<div id="id5" class="style_SkipStroke_2" style="height: 96px; left: 165px; position: absolute; top: 39px; width: 485px; z-index: 1;">
<div class="text-content graphic_textbox_layout_style_default_External_485_96" style="padding: 0px;">
<div class="graphic_textbox_layout_style_default">
<p class="paragraph_style_3" style="padding-bottom: 0pt; padding-top: 0pt; line-height: 90.25px;">Mermaid Films</p>
</div>
</div>
</div>You might be able to fix things by reducing the line height of that text, or of one of the elements containing that text. My guess would be that the part that says
Code:
line-height: 90.25px;
is the problem, and reducing that or removing that little bit of code would make it stop jumping.
Offline
#3 2008-09-07 3:47 pm
Re: Title of web site keeps jumping. Need help to sort it out
He's not going to be able to do that with iWeb.
Offline
#4 2008-09-07 5:09 pm
Re: Title of web site keeps jumping. Need help to sort it out
iWeb is such a crappy program.
Offline
#5 2008-09-07 5:18 pm
Re: Title of web site keeps jumping. Need help to sort it out
It has its purposes. It was designed for a quick and easy way to blog and show off your various iLife media such as videos and photos with Apple's built-in templates. When you start to stretch it, it shows, as it does here. It wasn't really meant for a commercial site built from scratch, which the OP tried to do. If you need a more powerful site, you'll need to use more powerful tools, but that doesn't alone make iWeb crap.
Offline
#6 2008-09-08 10:13 pm
- Stan
- Member

- From: Rock Island
- Registered: 2002-04-09
- Posts: 706
Re: Title of web site keeps jumping. Need help to sort it out
matt wrote:
Code:
line-height: 90.25px;
How the heck do ya get ".25px"?
Offline
#7 2008-09-08 10:36 pm
- sturner
- Royal High Poobah
- Moderator

- From: Carrollton, TX USA
- Registered: 2000-01-31
- Posts: 9863
Re: Title of web site keeps jumping. Need help to sort it out
The same way that you get 5 out of 2 + 2. You need sufficiently large values of 2.
"There were places in the world commemorating those times when wizards hadn't been quite as clever [as to refrain from doing magic when you knew how easy it was], and on many of them the grass would never grow again." Terry Prachett
There are 3 types of people, those who can count and those who can't.
Offline
#8 2008-09-09 10:23 pm
- Stan
- Member

- From: Rock Island
- Registered: 2002-04-09
- Posts: 706
Re: Title of web site keeps jumping. Need help to sort it out
sturner wrote:
The same way that you get 5 out of 2 + 2. You need sufficiently large values of 2.
Ummm...assuming that all the measurement units are the same, 2+2=4. The problem I have with a 1/4 pixel is that a pixel is the smallest measuring unit on a monitor. Pixel is short for "picture element." You could have a 1/4 cm, 1/4 inch, 1/4 em or 1/4 point, but 0.25 px makes no sense.
Offline
#9 2008-09-10 10:29 am
Re: Title of web site keeps jumping. Need help to sort it out
Stan wrote:
sturner wrote:
The same way that you get 5 out of 2 + 2. You need sufficiently large values of 2.
Ummm...assuming that all the measurement units are the same, 2+2=4.
The problem I have with a 1/4 pixel is that a pixel is the smallest measuring unit on a monitor. Pixel is short for "picture element." You could have a 1/4 cm, 1/4 inch, 1/4 em or 1/4 point, but 0.25 px makes no sense.
Pixels are units like any other, especially in CSS, where CSS pixels ≠ screen pixels. With resolution independence coming (any day now...
) "pixels" will refer to device pixels less and less often.
Offline
#10 2008-09-10 10:00 pm
- Stan
- Member

- From: Rock Island
- Registered: 2002-04-09
- Posts: 706
Re: Title of web site keeps jumping. Need help to sort it out
Miles,
That was an interesting page, thanks for the link. I'm still wondering why someone would specify a line-height of 90.25px. Does that kind of precision make any practical difference? I suppose that code was written by a CMS or something. They do all sorts of nutty stuff.
Offline




