473,386 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Weird things about vertical spacing in HTML

Hello everyone,

I'm having trouble figuring out a problem with a page I'm looking at:
http://www.international.gc.ca/fac/p...4.aspx?lang=en.
Quite obviously, my problem is that the main content of the page
appears right below the left menu, not beside like it should. I've
been able to correct this problem by removing all EM tags. Also, I'm
using Interwoven, and for those who are familiar, unclicking the "Wrap
content around right column" option also corrects the problem. But
neither of those is a good solution, because both are needed. Anyway,
the French version works fine (at http://www.international.gc.ca/fac/p...4.aspx?lang=en)
and the only difference in the coding is that it uses no EM tags.

I'm using IE 6.0 on Windows XP, if that matters. Maybe it's a bug in
IE? I don't know. Unfortunately, I don't have administrator privileges
so I can't install other browsers and test the page in them. Maybe
it's a combination of the EM tag and the "right column" option. Maybe
it's Interwoven. I don't know. Unfortunately a ton of the code is
stored in places I can't touch, so cleaning it up to figure things out
is impossible (and the code is a MESS).

Incidentally, I'm getting the same problem in
http://www.international.gc.ca/fac/p...e.aspx?lang=en
and http://www.international.gc.ca/fac/p...e.aspx?lang=fr
(this time the French has problems and uses EM tags). Removing the
"Wrap content around right column" option also works with these pages.

Thanks.
Mar 6 '08 #1
3 2693
Anyway, the French version works fine (athttp://www.international.gc.ca/fac/polar-polaire/final4.aspx?lang=en)

Sorry. That link should be http://www.international.gc.ca/fac/p...4.aspx?lang=fr.
Mar 6 '08 #2
Liam Gibbs wrote:
I'm having trouble figuring out a problem with a page I'm looking at:
http://www.international.gc.ca/fac/p...4.aspx?lang=en.
Quite obviously, my problem is that the main content of the page
Actually, it is not obvious at all.
appears right below the left menu, not beside like it should. I've
been able to correct this problem by removing all EM tags.
Surprising to me, for such long strings of content. For narrower blocks
with tightly constrained sizes, making text italic or bold can sometimes
cause it to exceed its provided width. I don't see how that's happening
here, though.

[more observations snipped]
>
I'm using IE 6.0 on Windows XP, if that matters.
It does, absolutely. The pages look fine in Firefox, for example.
Maybe it's a bug inIE? I don't know.
Maybe. I can't tell, either.
Unfortunately, I don't have administrator privileges
so I can't install other browsers and test the page in them.
If you are supposed to be a site administrator or developer, you need to
get those privileges, or someone who has, or you can't do your job.
Testing with IE6 only is just silly.
Maybe
it's a combination of the EM tag and the "right column" option. Maybe
it's Interwoven. I don't know. Unfortunately a ton of the code is
stored in places I can't touch, so cleaning it up to figure things out
is impossible (and the code is a MESS).
I don't know what the expression is in Canada, but where I come from, we
say "you're screwed."

Ten or more different stylesheets (not all correct), JavaScript with
browser-sniffing, and huge amounts of code (in two languages) all
combine to scare me away from helping on this. Maybe a reduced version
of the pages would be debuggable, but I understand you can't provide
that, so I can't help. So sorry.

--
John
Read about the UIP: http://improve-usenet.org/
I keep forgetting.
Mar 7 '08 #3
John Hosking wrote:
>
I don't know what the expression is in Canada, but where I come from, we
say "you're screwed."
Oh, I was right: this is in one of the stylesheets (base2.css):

body, p, blockquote, table, td, th, li, a, ul, ol, input, dd, dl, dt,
form, input, button, textarea, select, option, fieldset, label {
font-size: 100%;
}
select, input, textarea, code, code span {
font-size: 100%;
}
body {
font-size: 80%;
}
..fontSize200 {
font-size: 200%;
}
..fontSize195 {
font-size: 195%;
}
etc.
while this is in base.css:

body, p, li, div, span {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
body, p, blockquote, table, td, th, li, a, ul, ol, dd, dl, dt,
form, button, fieldset, label, select, option, input, textarea {
font-size: 10.0pt;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
You are most definitely, totally, royally screwed.
--
John
Read about the UIP: http://improve-usenet.org/
Mar 7 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Analysis&Solutions | last post by:
Hi Folks: I've got a weird phenomenon going on with Internet Explorer on the Macintosh... The vertical cell borders are missing between the cells but appear above and below the cells! Here's...
16
by: Uncle Pirate | last post by:
This has me stumped. I am trying to use as little space as possible at the top of my document but Firefox/Mozilla insists on placing vertical space before any element. IE displays it correctly...
5
by: Goldy | last post by:
Hello, w/ code like this: <table border="0" cellspacing="0" cellpadding="0"> <asp:Repeater runat="server" id="op"> <HeaderTemplate></HeaderTemplate> <ItemTemplate> <tr> <td...
0
by: teddysnips | last post by:
I have a form with 52 text boxes set out in 4 columns of 11 and one column of 8. Guess what they're used for? That's right, displaying weekly information. So, I'm setting them out on a normal...
2
by: larzeb2000 | last post by:
I made a vertical navbar using a background image for the buttons. When I tested under FF or Opera, it looks fine, with the buttons touching vertically. However, in IE6 the buttons are spaced apart...
1
by: dave8421 | last post by:
Hi, I have a (strict) html document with the following portion: <ul> <li><img alt="" src="images/image1.jpg" /></li> <li><img alt="" src="images/image2.jpg" /></li> <li><img alt=""...
1
by: quantass | last post by:
Just a quick question in regards to the Obout Tree View. How do i go about adjusting the horizontal spacing before & after the plus/minus button for each node seperately? Also how do i adjust the...
1
by: mactelesis | last post by:
I have searched for "vertical stretch, align, etc." and have tried (and failed) with all of the solutions to stretch the "#nav vertical" div so that it streches to the height of the page. As you can...
1
by: Malik Marteen | last post by:
My problem is that to fix the top banner (div), I get some strange side effects with the letf_div and the c_div (central area) - the vertical scroll bar dosen't respect the size ove the window (grows...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...

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.