473,503 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Layout problem with FireFox

http://www.inlandseafood.com/dogtree/

When viewed in FireFox 1.0.4, some portions of the CSS layout are way
off. After reloading the page, everything is fine until the cache is
cleared again. Where can I start looking for a solution? Both the HTML
and CSS have been validated and are clear of any warnings.

Thanks a bunch!

Jul 21 '05 #1
4 7249
Just for more info, the same problem happens in Netscape, and Opera
just does the wrong thing all the time. ;-) So I have to assume that my
CSS isn't correct somehow. Here's the file:

html,body {
width:100%;
height:100%;
margin:0px;
padding:10px;
}

a:link {
color:#000000;
}

a:visited {
color:#669999;
}

#header-left {
width:263px;
background:#e3e2e0;
border:1px solid #978f8d;
}

#header-right {
float:left;
position:absolute;
margin-top:-127px;
margin-left:263px;
position:absolute;
height:125px;
width:71%;
border-top:1px solid #978f8d;
border-bottom:1px solid #978f8d;
}

#division-header {
float:right;
margin-top:-127px;
margin-right:50px;
background:#e3e2e0;
border:1px solid #978f8d;
}

#content {
margin-left:263px;
padding:20px;
padding-right:50px;
}

#navigation {
float:left;
width:200px;
margin-top:50px;
margin-left:10px;
background:#e3e2e0;
border:1px solid #978f8d;
}

#navigation-title {
float:left;
position:absolute;
margin-top:35px;
margin-left:10px
}

#micro-nav {
float:right;
width:150px;
padding-right:20px;
background:#e3e2e0;
border:1px solid #978f8d;
}

#micro-nav-title {
float:right;
margin-top:-15px;
margin-right:-113px;
}

..logo-text {
float:left;
position:absolute;
margin-left:15px;
margin-top:-47px;
font-size:36px;
}

Jul 21 '05 #2
In article <11**********************@g44g2000cwa.googlegroups .com>,
<mo*******@hotmail.com> wrote:
http://www.inlandseafood.com/dogtree/

When viewed in FireFox 1.0.4, some portions of the CSS layout are way
off. After reloading the page, everything is fine until the cache is
cleared again. Where can I start looking for a solution? Both the HTML
and CSS have been validated and are clear of any warnings.


It looks to me as if the objects which have both 'float:left' and
'position:absolute' are, wrongly, being floated on the first view
and then, correctly, the float is ignored on the second. As
positioned elements cannot be floated, you may have more joy if you
remove the conflict from your stylesheet and in-line styles.

nhoJ
--
John P Baker
Jul 21 '05 #3
Thanks for the heads-up with float and position. I fixed the problem by
removing all float and position attributes and using absolute
everywhere I could get away with. The pages are consistent across IE,
FireFox, and Netscape. Opera still screws up the logo text though. ;-)

Thanks again for your help.

Jul 21 '05 #4
mo*******@hotmail.com wrote:
Thanks for the heads-up with float and position. I fixed the problem
by removing all float and position attributes and using absolute
everywhere I could get away with. The pages are consistent across IE,
FireFox, and Netscape. Opera still screws up the logo text though. ;-)

Thanks again for your help.


I've found that opera has its own little sets of quirks...

--
Tony Garcia
http://www.dslextreme.com/~tony23/
Jul 21 '05 #5

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

Similar topics

7
3652
by: Drew Martin | last post by:
The page at the below URL renders perfectly in IE6, but is failing horribly in Firefox (0.7, 0.8). I can't figure out why and was hoping someone could take a quick look at it. Most of the layout...
1
2010
by: fuzzyman | last post by:
I have a very odd problem that has boggled my head. I've been trying to get a 2 column layout working with CSS. The problem seems to occur with the use of the <script> tag in the document. I've...
7
2888
by: Xavier Onassis | last post by:
I would be grateful for recommendations for a CSS layout (header, 2 cols, footer) that can accomodate dynamically added elements. I am not having any luck so far getting this to work in...
3
2349
by: Dave | last post by:
I am designing a web page using VS2003 ASP.NET. The page contains various DIVs (panels), one of which is in grid layout. The controls in this DIV render correctly in IE, but when using Firefox they...
11
12296
by: Ben Holness | last post by:
Hi all, I am having some trouble with some table code. It works fine in Internet Explorer, but the layout doesn't work correctly in Firefox 1.0.7 Is this a firefox bug, or am I missing...
10
9174
by: Luke | last post by:
Hi. I am trying to make correct layout, here is an example of (dynamically generated content via jsp): http://localhost/www/layout.htm Most outer div is positioned absolute (if not then it...
2
2042
by: Edward | last post by:
I'm pursuing the holy grail of creating a two-column CSS layout with footer AND where the colors of the columns actually go all the way down. The code is below. Here is a graphic of how it...
1
2459
by: gatorade | last post by:
Drop Down list in a form is breaking layout of the page in FireFox. Here is the page in question: http://www.redchip.com/visibility/RCinstitutional-Requestinfo.asp The layout is simply two...
7
2191
by: amishguy | last post by:
Hello, I am having an issue with a site I'm creating right now. I have had this issue before and I would like to figure out what the solution is instead of using workarounds as I have in the...
1
1506
by: Scott | last post by:
I've been trying to use css stylesheets to lay out a header, a left column and a main content area using width as percentages so the layout can expand and contract with the browser. I'm using...
0
7287
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,...
0
7353
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...
1
7011
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...
0
7468
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...
0
5596
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,...
0
3180
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...
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
747
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
401
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...

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.