473,804 Members | 3,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

floating div alignment issue with IE

Okay so i'm developing a website: screenie.org.
For simplicity i'm using SMF as a basis for the user system. Most of
the site is almost completed but I have had issues getting the sites
new theme to work properly with IE 6.5 and below. It works perfectly in
Firefox, IE7 and Netscape. It has some issues in Opera which aren't too
bad. But the biggest problem seems to be that IE 6.5 and below refuses
to render the page the way the other browsers do. The page uses a
series of aligned divs rather than the old table layout method.

The page is: http://screenie.org/forums

If you browse to the forum address in IE 6.5 or below you will notice
that the page content aligns below the menu div. How do I prevent this
from happening?

Nov 29 '06 #1
4 4561
tw*********@gma il.com wrote:
Okay so i'm developing a website: screenie.org.
For simplicity i'm using SMF as a basis for the user system. Most of
the site is almost completed but I have had issues getting the sites
new theme to work properly with IE 6.5 and below. It works perfectly in
Firefox, IE7 and Netscape. It has some issues in Opera which aren't too
bad. But the biggest problem seems to be that IE 6.5 and below refuses
to render the page the way the other browsers do. The page uses a
series of aligned divs rather than the old table layout method.

The page is: http://screenie.org/forums

If you browse to the forum address in IE 6.5 or below you will notice
that the page content aligns below the menu div. How do I prevent this
from happening?
The xhtml does not conform to the standard it claims to.
With 37 errors and about 8 additional warnings there's a bit of work to
do. Perhaps parsing it as html4 transitional you stand a better chance
of having it conform to a standard.

The css does qualify, but with 285 warnings at least it's far from
ideal. Add to that IE's notorious bugginess regarding CSS standards
conformance. I bet the css is bloated as h***.

I've quickly glimpsed through it, and it's a nightmare to decipher.
Does the original CSS as it came with SMF exhibit the same issue?
If not, work from that point, step by step until you find the culprit.

Or, which won't sound nice, print out the css and work it into a correct
and concise version first.

Sh.

Nov 29 '06 #2

Schraalhans Keukenmeester wrote:
tw*********@gma il.com wrote:
Okay so i'm developing a website: screenie.org.
For simplicity i'm using SMF as a basis for the user system. Most of
the site is almost completed but I have had issues getting the sites
new theme to work properly with IE 6.5 and below. It works perfectly in
Firefox, IE7 and Netscape. It has some issues in Opera which aren't too
bad. But the biggest problem seems to be that IE 6.5 and below refuses
to render the page the way the other browsers do. The page uses a
series of aligned divs rather than the old table layout method.

The page is: http://screenie.org/forums

If you browse to the forum address in IE 6.5 or below you will notice
that the page content aligns below the menu div. How do I prevent this
from happening?
The xhtml does not conform to the standard it claims to.
With 37 errors and about 8 additional warnings there's a bit of work to
do. Perhaps parsing it as html4 transitional you stand a better chance
of having it conform to a standard.

The css does qualify, but with 285 warnings at least it's far from
ideal. Add to that IE's notorious bugginess regarding CSS standards
conformance. I bet the css is bloated as h***.

I've quickly glimpsed through it, and it's a nightmare to decipher.
Does the original CSS as it came with SMF exhibit the same issue?
If not, work from that point, step by step until you find the culprit.

Or, which won't sound nice, print out the css and work it into a correct
and concise version first.

Sh.
This skin is based off another skin which claims to be compliant but it
nowhere near it. I've fixed most of the errors and 'most' pages
validate as valid html 4.0 transitional. I am also working on getting
rid of some of the warnings for the CSS but its alot of work, I am also
in the process of making the CSS a bit clearer by line breaking and
tabbing it. The CSS is actually fairly efficient but my main problem is
the alignment in the old IE. I still havn't been able to work out why
it is aligning below the other div.

Nov 30 '06 #3


On Nov 30, 5:17 pm, twistie....@gma il.com wrote:
Schraalhans Keukenmeester wrote:
twistie....@gma il.com wrote:
Okay so i'm developing a website: screenie.org.
For simplicity i'm using SMF as a basis for the user system. Most of
the site is almost completed but I have had issues getting the sites
new theme to work properly with IE 6.5 and below. It works perfectly in
Firefox, IE7 and Netscape. It has some issues in Opera which aren't too
bad. But the biggest problem seems to be that IE 6.5 and below refuses
to render the page the way the other browsers do. The page uses a
series of aligned divs rather than the old table layout method.
The page is:http://screenie.org/forums
If you browse to the forum address in IE 6.5 or below you will notice
that the page content aligns below the menu div. How do I prevent this
from happening?
The xhtml does not conform to the standard it claims to.
With 37 errors and about 8 additional warnings there's a bit of work to
do. Perhaps parsing it as html4 transitional you stand a better chance
of having it conform to a standard.
The css does qualify, but with 285 warnings at least it's far from
ideal. Add to that IE's notorious bugginess regarding CSS standards
conformance. I bet the css is bloated as h***.
I've quickly glimpsed through it, and it's a nightmare to decipher.
Does the original CSS as it came with SMF exhibit the same issue?
If not, work from that point, step by step until you find the culprit.
Or, which won't sound nice, print out the css and work it into a correct
and concise version first.
Sh.This skin is based off another skin which claims to be compliant but it
nowhere near it. I've fixed most of the errors and 'most' pages
validate as valid html 4.0 transitional. I am also working on getting
rid of some of the warnings for the CSS but its alot of work, I am also
in the process of making the CSS a bit clearer by line breaking and
tabbing it. The CSS is actually fairly efficient but my main problem is
the alignment in the old IE. I still havn't been able to work out why
it is aligning below the other div.
I have do

Dec 5 '06 #4

tw*********@gma il.com wrote:
This skin is based off another skin which claims to be compliant but it
nowhere near it. I've fixed most of the errors and 'most' pages
validate as valid html 4.0 transitional. I am also working on getting
rid of some of the warnings for the CSS but its alot of work, I am also
in the process of making the CSS a bit clearer by line breaking and
tabbing it. The CSS is actually fairly efficient but my main problem is
the alignment in the old IE. I still havn't been able to work out why
it is aligning below the other div.
My guess (not tested) is that it's to do with the .pagecontent with
left margin 190px, a table and 100% width and a right margin. So I
would guess IE6 is filling the centre of the div with the table to make
it that .pagecontent itself is 100% of the page width, not 100% of the
remaining space. The result is IE6 can't fit .pagecontent in to the
left of .headerarea and so forces a line break.

I haven't tried it, but my guess is that removing/reducing the
margin-left from .pagecontent and making .pagecontent float:left may
fix the problem. Or removing the width=100% from the table.

To debug float problems like this we tend to add coloured borders to
everything (border: 1px solid #f00) to clarify exactly how each floated
element is behaving and to see what is lining up against what.

Saul
www.notanant.com

Dec 5 '06 #5

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

Similar topics

3
10769
by: JHR | last post by:
Hey all, I'm trying to make a sidebar box float to the right of various items, and for those items to wrap if a user shrinks his browser window. Instead, in every browser I've tried except for Internet Explorer (in Safari, Firefox, and other Mozilla-types), the box ends up overlapping with the second and third rows of the text (which are in an ordered list with some 'display: table-cell' formats defined in order to allow specific...
67
10766
by: S.Tobias | last post by:
I would like to check if I understand the following excerpt correctly: 6.2.5#26 (Types): All pointers to structure types shall have the same representation and alignment requirements as each other. All pointers to union types shall have the same representation and alignment requirements as each other. Does it mean that *all* structure (or union) types have the same alignment? Eg. type
7
2041
by: Earl | last post by:
Any known fixes for the wacky right-alignment bug in the WinForms datagrid (VS2003)? I've tried Ken's workaround (http://www.windowsformsdatagridhelp.com/default.aspx?ID=4bfab32d-9cff-4f5c-ba95-49bb9074a8bc), but I get no alignment at all when calling the class. George Shephard's site, while imminently useful, does not have an anwer for this issue.
8
2347
by: Cardman | last post by:
I am hopeful that someone can quickly solve my image alignment issue when things are just not going right and where my attempts to solve this alignment issue have all failed. First of all take a look here... http://www.cardman.com/switches.html In MIE this page looks perfect. Unfortunately both Netscape and Opera show these item photos in the wrong place. For some *unknown* reason all the photos drop down to align with the green...
32
4122
by: ma740988 | last post by:
template <class T> inline bool isEqual( const T& a, const T& b, const T epsilon = std::numeric_limits<T>::epsilon() ) { const T diff = a - b; return ( diff <= epsilon ) && ( diff >= -epsilon ); } int main() { std::deque<double> pt ;
4
2364
by: john | last post by:
I am reading TC++PL3, and on page 468, at "21.4.3 Floating-Point Output", it formats floating point output in the style: cout.setf(ios_base::scientific, ios_base::floatfield); // use scientific // format cout<< "scientific:\t"<< 1234.56789<< '\n';
8
3175
by: myfem.analyzer | last post by:
Hi, I saw a line of codes in the "Fast Inverse Square Root" like this: Float InvSqrt(float x) { ....... int i = *(int *) &x; //get bits for floating value ..... x = * (float *) &i; //convert bit back to float
7
15696
by: Allie | last post by:
Here's an example of what I'm trying to do: <table> <tr style="text-align:left; font-size:10pt; font-weight:bold"> <!-- I want this word to align to the left --> ' ||CRPT|| ' <!-- I want this link to align to the right --> <A HREF=" REPORT?v_rpt='|| v_rpt ||'&v_printable=1'||'">Printable</A> </tr>
31
1696
by: Chris Thomasson | last post by:
How many C compilers provide extensions which allow for a standard implementation of the following hack? ____________________________________________________________________ #include <stdio.h> typedef union aligner_types_u aligner_types; typedef struct aligner_offset_s aligner_offset;
0
9704
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
9572
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
10562
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10319
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...
0
10070
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
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6845
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
5508
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...
3
2978
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.