473,785 Members | 2,419 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

width height

I am trying to figure out why the HEIGHT <divtags on my page do not work
on IE?

http://www.wyght.com/mySite/thirds.html

http://www.wyght.com/mySite/CSS/div_thrids.css

This works on Opera, Firefox and NN

Why do the <divheight work on all but IE?

--

Totus possum, totum Deum.
Totus ero, totum meum.
WSW
Aug 28 '06 #1
4 1946
News wrote:
I am trying to figure out why the HEIGHT <divtags on my page do not
work on IE?

http://www.wyght.com/mySite/thirds.html

http://www.wyght.com/mySite/CSS/div_thrids.css

This works on Opera, Firefox and NN

Why do the <divheight work on all but IE?

..a
{
position: absolute;
left: 0%;
top: 0%;
width: 33%;
height: 33%;
background: Aqua;
color: White;
}
..b
{
position: absolute;
left: 33%;
top: 0%;
width: 34%;
height: 33%;
background: Blue;
color: White;
}
..c
{
position: absolute;
left: 67%;
top: 0%;
width: 33%;
height: 33%;
background: Navy;
color: White;
}
..d
{
position: absolute;
left: 0%;
top: 33%;
width: 33%;
height: 34%;
background: Navy;
color: White;
}
..e
{
position: absolute;
left: 33%;
top: 33%;
width: 34%;
height: 34%;
background: Aqua;
color: White;
}
..f
{
position: absolute;
left: 67%;
top: 33%;
width: 33%;
height: 34%;
background: Blue;
color: White;
}
..g
{
position: absolute;
left: 0%;
top: 67%;
width: 33%;
height: 33%;
background: Blue;
color: White;
}
..h
{
position: absolute;
left: 33%;
top: 67%;
width: 34%;
height: 33%;
background: Navy;
color: White;
}
..i
{
position: absolute;
left: 67%;
top: 67%;
width: 33%;
height: 33%;
background: Aqua;
color: White;
}

--

Totus possum, totum Deum.
Totus ero, totum meum.
WSW
Aug 28 '06 #2
News wrote:
I am trying to figure out why the HEIGHT <divtags on my page do not work
on IE?

http://www.wyght.com/mySite/thirds.html

http://www.wyght.com/mySite/CSS/div_thrids.css
That URL is misspelled, it should be:
http://www.wyght.com/mySite/CSS/div_thirds.css

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net
Instead of talking to your plants, if you yelled a them would they still
grow, only to be troubled and insecure?
Aug 28 '06 #3
"News" <warren@no_S_P_ A_M_wyght.comwr ote:
>I am trying to figure out why the HEIGHT <divtags on my page do not work
on IE?

http://www.wyght.com/mySite/thirds.html

http://www.wyght.com/mySite/CSS/div_thrids.css
404
>This works on Opera, Firefox and NN

Why do the <divheight work on all but IE?
IE doesn't get one of the hideous [1] CSS positioning rules correct, you
can help it out be specifying html,body{heigh t:100%}

[1] The people who designed the CSS positioning, collapsing margins and
the float rules crap should be shot, tarred, feathered and hung out to
dry (not necessarily in that order).

--
Spartanicus
Aug 28 '06 #4
Spartanicus wrote:
"News" <warren@no_S_P_ A_M_wyght.comwr ote:
>I am trying to figure out why the HEIGHT <divtags on my page do
not work on IE?

http://www.wyght.com/mySite/thirds.html

http://www.wyght.com/mySite/CSS/div_thrids.css

404
>This works on Opera, Firefox and NN

Why do the <divheight work on all but IE?

IE doesn't get one of the hideous [1] CSS positioning rules correct,
you can help it out be specifying html,body{heigh t:100%}

[1] The people who designed the CSS positioning, collapsing margins
and the float rules crap should be shot, tarred, feathered and hung
out to dry (not necessarily in that order).
OK I put height 100% in body and it worked. Thanks.

--

Totus possum, totum Deum.
Totus ero, totum meum.
WSW
Aug 28 '06 #5

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

Similar topics

2
3180
by: Alex Shi | last post by:
In php, is there a way obtain the width of a charactor of a certain font? Alex -- ================================================== Cell Phone Batteries at 30-50%+ off retail prices! http://www.pocellular.com ==================================================
7
12230
by: Graham J | last post by:
Apologies for the partial post that mysteriously escaped as I was composing. I shall try again. For many years I have been happily and successfully coding tables such that the WIDTH specified in a TD is the complete column width including any CELLPADDING. For example for a 400 pixel wide table with four 100 pixel wide columns and 10 pixel cellpadding... <TABLE WIDTH="400" BORDER="0" CELLSPACING="0" CELLPADDING="10">
12
1803
by: Tyrone Slothrop | last post by:
OK, I give up! I am trying to convert a JavaScript rollover button script to CSS. It is composed of background colors and font colors with the current page displaying the "over" state. I understand the basics and have accomplished a navigation bar that looks good and is functional. However, my client is very fussy about layout and requires that the nav bar be a specific width, with the buttons spreading across that width evenly, but...
11
3581
by: Norman L. DeForest | last post by:
Am I misunderstanding the CSS specifications or is Firefox (version 1.0.6) (and Opera) doing the wrong thing? It appears that Firefox 1.0.6 includes the border in width calculations for tables but not in height calculations. Oh, and Opera version 8.02 does the same thing. |<-->| |<-->| <------ border |<------------>| <------ table contents
2
6770
by: Robson Carvalho Machado | last post by:
Dear friends, I'm dynamically creating a Hyperlink with spacer.gif as ImageURL that is an 1px transparent image only to determine link position, but as I create this link dynamically I could not set image width. This problem makes my link clickable only on its borders. When viewing HTML source I could see that spacer.gif has no width and height, so HTML shows only 1px x 1 px image.
4
3485
by: Doug van Vianen | last post by:
Hi, I have the following coding on a web page. It causes two pictures (pic1.jpg and pic2.jpg) to show, one above the other and then when one clicks on the top picture is squeezes to the left (as its width is reduced) to show the bottom picture. Then when the bottom picture is clicked the top picture expands to the right to cover the bottom picture again.
1
3892
by: comp.lang.php | last post by:
Sorry folks, I'm on a roll!!! I need to calculate the height or width of an image if you change either the width or height and don't change BOTH of them at the same time, this is to "vector" the image. Here is the class method, it obviously doesn't work: /**
10
3319
by: News | last post by:
I am trying to be able to manipulate the width and height of an <img> but do not seem to be able. "Yes", I know the JavaScript will "not" manip anything, which is ok. I simply do not know how to capture the width or height. Once I can do that I can manipulate them. Here is the HTML for the <img> <div class="ImgMnp" id="myImg" onmouseover="imgSize('myImg','fpImg)"> <img src="images/FirePlace.jpg" width="480" height="640" id="fpImg" />
6
28101
by: Hacking Bear | last post by:
Hi, I still don't quite fully understand how to handle mixing border/margin pixel width with percentage width. In the example below, I want to place side-by-side two DIV boxes inside a box. 1. Each box takes up 50% of the parent. 2. One of the box has a border width of 1px.
8
2442
by: Kentor | last post by:
Hello, I have users that submit images to my website. By default I choose to make the width bigger than the height because usually pictures are taken horizontally... But in some cases people take pictures vertically so what I'm getting at is... can I know whether an image was taken horizontally or vertically so I can make the proper width/ height lengths so that it looks nice and not kinda weird... because if you make the width bigger...
0
10357
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
10162
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
10101
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
9959
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
8988
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
6744
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
5396
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...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.