473,782 Members | 2,458 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

strange ie6 effect with rollovers and floats

h
Hello everyone

I am baffled by the behaviour of a webpage that I am trying to design(when
viewed in ie6).

I believe the problem arises when I use floats(at least that is the only
occasion when I notice it).
My page is set up so that I have a content box centered, and a box to create
an interior margin(both divs).
I also want to have a third box which would float to the right. For some
reason, if I have a link within the content box, when I rollover it the
containing box resizes.

I can't find anything to explain this, and I tried searching for various
terms which describe the situation in google in case it was a known bug, but
found nothing. I think it is probably my mistake, though I have tried to
rebuild the page twice to no avail.

I would really appreciate any help on how to fix this, as I have been stuck
with this problem for over a week now.

thanks in advance
ha

I have uploaded the page here so you can see what I mean:
http://gringolo.itgo.com/reconstruct.html

and this is the source code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<style type="text/css">
<!--
..content
{
width: 80%;
position: relative;
top: 30px;
text-align:left;
color: rgb(0,0,0);
font-family: arial,helvetica , sans-serif;
font-size: 0.7em;
background-color: #808088;
border: solid 0px rgb(78,78,78);

}

..contentpaddin g
{
padding-top:40px; padding-bottom: 60px;
margin-right: 50px; margin-left: 50px;
}

..floater
{
padding-left: 20px;
padding-right: 20px;
padding-bottom: 10px;
padding-top: 15px;
background: #B9A566;
border: 2px solid #ebdaa6;
color: white;
float: right;
width: 35%;
margin-bottom: 50px;
margin-left: 15px;
}

a:link {
text-decoration: none;
color: #CAA555;
}

a:visited {
text-decoration: none;
color: #B68B32;
}

a:active {
border-bottom: 1px dotted #808080;
color: #000000;
}

a:hover {
color: #B68B32;
border-bottom: 1px dotted rgb(0,0,0);
}
-->
</style>
<TITLE>{{ Events }} </TITLE>
</HEAD>

<BODY bgcolor=white>

<div align=center>
<div class="content" >
<div class="contentp adding">

<div class="floater" >
<h5>Stuff</h5>

<table border=0 cellspacing=0 cellpadding=7 valign=middle align=center>
<tr>
<td>stuff 1</td>
</tr>
<tr>
<td>stuff 2</td>
</tr>
<tr>
<td>stuff 3</td>
</tr>
<tr>
<td>stuff 4</td>
</tr>
</table>
</div>

something
<br><br>
&raquo;&raqu o; <a href="deadlink. html">a link to rollover</a>

</div><!-- closes contentpadding -->
</div><!-- closes content -->
</div><!-- closes align center -->

</BODY>
</HTML>

Jul 20 '05 #1
0 1808

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

Similar topics

3
590
by: gallery | last post by:
I also cross-posted this in comp.infosystems.www.authoring.html. I think it's more appropriate here. I read somewhere that you can get Tim Murtaugh's Mo' Betta Rollovers to work in Firefox using just CSS (no javascript) . Can someone tell me how to do it? http://www.alistapart.com/articles/rollovers/
2
1504
by: Frances Del Rio | last post by:
Hi, I while back I was having a problem with rollovers, even though I do them in a very conventional way: function roll(i) { document.src = eval(i + "_roll.src") } // in which value passed to function is "name" attr in img tag.. but on my home page, www.francesdelrio.com, I have rollovers like this: function doRoll(Img,newImage) {
3
2019
by: Shahid Juma | last post by:
Hi, Is it possible to do roll overs over an area of an image. I know you can setup up a hotspot but can a roll over be done on that particular hotsop. Additionally, when the image changes on the roll over, can a certain area of this new image be shown instead of the whole one? Thanks, Shahid (remove NOSPAM from the email address when replying to my email address)
2
1410
by: Alan Chandler | last post by:
I am trying to create a CSS that deals with some automatically generated content (using tapestry). It is effectly a list of items that I have read from a database. Each row of the table is a <div> whose only content is a set of divs with the fields of the data that want to output. The whole set of rows of this table are surrounded in another div. My problem is that the First Row of the table is about 3 lines (in
11
1676
by: Marlene Stebbins | last post by:
Something very strange is going on here. I don't know if it's a C problem or an implementation problem. The program reads data from a file and loads it into two arrays. When xy, x, y, *xlist and *ylist are ints or floats there is no apparent problem. If these variables are doubles, the program crashes. Furthermore, the crashes occur only when xlist and ylist are free()ed. When the above variables are doubles and the calls to free() are...
5
1696
by: cody | last post by:
I have a very funny/strange effect here. if I let the delegate do "return prop.GetGetMethod().Invoke(info.AudioHeader, null);" then I get wrong results, that is, a wrong method is called and I have no clue why. But if I store the MethodInfo in a local variable I works as expected. I do not understand why this is so, shouldn't both ways be semantically equal?
4
1360
by: Rico | last post by:
Hi Folks! I have a strange thing happening; I have a field that Counts the number of records and another field that shows the number of clients (Count(RecordID)=3 and NoOfClients=2) When I do a simple expression "Count(RecordID)/NoOfClients" the expected result should be 1.5. Instead the result I get is 1. Any ideas? Thanks! Rick
112
4760
by: Prisoner at War | last post by:
Friends, your opinions and advice, please: I have a very simple JavaScript image-swap which works on my end but when uploaded to my host at http://buildit.sitesell.com/sunnyside.html does not work. To rule out all possible factors, I made up a dummy page for an index.html to upload, along the lines of <html><head><title></title></ head><body></body></html>.; the image-swap itself is your basic <img src="blah.png"...
20
2244
by: Pilcrow | last post by:
This behavior seems very strange to me, but I imagine that someone will be able to 'explain' it in terms of the famous C standard. -------------------- code ----------------------------------- #include <stdio.h> int main (void) { char xx="abcd"; char * p1 = xx;
0
9641
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
10313
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
10146
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
10080
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
8968
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...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6735
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
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2875
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.