473,796 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Div Height on safari and Mac Explorer

Hi,

I'm have a problem with defining the height of of two different div's (one
containing text and another containing a picture) on a site I'm designing.
Basically, the height appears to be the same on IE 6, Firefox PR 1 and
opera 7.54. However, it seems to be different for the two on the mac ie 5.2
and safari.

The URL is here:
http://beta.jonathanpurcell.co.uk/pr...g=2&key=11&p=2
and the revelant CSS: http://beta.jonathanpurcell.co.uk/css/designs/css

The HTML is as follows:

<div class="Cell">
<div class="TextFram e">
<div class="propText "></div>
<h2 style="margin:0 ;padding:0;text-align:center;"> dharma Kid </h2>
<div class="clear"></div>
</div>
</div>
<div class="Cell">
<div class="Frame">
<div class="propPict ure"></div>
<a href="javascrip t:openWindow('a nImage);" border="0" alt="Click Image to
see larger Picture"/></a>
<div class="clear"></div>
<div class="Caption" >&nbsp;&nbsp; </div>
</div>
</div>

and the CSS

..gallery {
text-align: center;
width: 600px
}
..gallery img {
border: 0;
}
..gallery div.Cell {
float: left;
clear: none;
padding: 0 0 15px 0;
margin: 0;
text-align: center;
width: 200px;
}
..gallery div.Frame {
border: 1px solid #1f3543;
background: #f0f8f2;
margin-top: 0;
margin-bottom: 0;
margin-right: auto;
margin-left: auto;
padding: 15px 0 0 0;
width: 187px;
width/* */:/**/185px;
width: /**/185px;
}
..gallery div.TextFrame {
border: 1px solid #1f3543;
background: #f0f8f2;
margin-top: 0;
margin-bottom: 0;
margin-right: auto;
margin-left: auto;
padding: 0 15px 15px 15px;
text-align: left;
width: 187px;
width/* */:/**/155px;
width: /**/155px;
}
..gallery div.propText {
float:left;
width:1px;
height: 173px;
height/* */:/**/172px;
height: /**/172px;
}
..gallery div.propPicture {
float:left;
width:1px;
height: 155px;
height/* */:/**/154px;
height: /**/154px;
}

Any help would be appreciated.

W Dean
Jul 21 '05 #1
0 2125

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

Similar topics

1
11313
by: Ron Bott | last post by:
I have a layout that has a fixed size #container <div> with a shadow running along the right side that encloses the content area. I would like the shadow background to extend to the full height of the page, not just the viewport. Here is some code: html, body { height: 100%; margin: 0; padding: 0;
13
2892
by: Christine Forber | last post by:
How can you make a div visible and hidden in safari? document.all.style.display = "none"; Does not appear to work. Also, can anyone tell me how to turn on javascript error commenting in Safari? Right now, if javascript fails or errors, the browser just sits there and doesn't return any error message.
5
1906
by: S | last post by:
Whew! Thanks for your help on that last post. I actually understand what you wrote. I'm trying not to use these groups as a way to get my code written for me, I really want to understand what I'm doing wrong (and right!) so your explanations have been very helpful. I really appreciate them. My last problems involve DIV sizing and MSIE Win spacing issues. I have several DIVs on my page that need to be a minimum width and height.
4
1844
by: esingley | last post by:
I'm embarking on my first pure CSS redesign, so apologies if this is something obvious. On this page: http://www.singley.org/test/test_bg.html In Firefox, the text runs down past the end of the main container. Works fine in IE 6. On http://www.quirksmode.org/css/100percheight.html, I did read this: "For instance, if you want to make an element as high as the entire
3
6696
by: Joe Cox | last post by:
I am having a problem with style properties for dynamic images in Mac OS X Safari. By dymanic images, I mean images allocated with the javascript 'new Image()' call. With static images (created with the html <img> tag), I can make the image visible or not, i.e. '<img style="visibility='hidden'" src='xxxx'/>'. But if I create the image dynamically with javascript: new Image() then try to modify the style, Safari chokes, and the Debug...
34
3877
by: Simon Wigzell | last post by:
document...focus() will scroll the form to move the specified text field into view on everything I have tried it with except Safari on the MAC. The form doesn't move. Any work around? Thanks.
21
4430
by: Edward | last post by:
Hi All, I feel frustrated with one of my Customers who wants me to ensure that a dotnet web site I am building for them must be compatible to Apple's Safari browser! Safari is buggy and it does not support lots of things (xhtml etcc). However, what puzzles me is that there are some dotnet Framework 2 web sites out there that work perfectly well under Safari, whereas my website does not
2
2751
by: JDeats | last post by:
>From my development envrionment (i.e. a single WinXP notebook PC) I have a basic AJAX application that is making the call to a Windows Form page that just returns the request back to the AJAX client from the JavaScript HttpXMLRequest protected void Page_Load(object sender, EventArgs e) { string txt = ""; string input = null;
1
2499
by: jigsmshah | last post by:
I am using an Asp.Net CheckBoxList Control on an ASPX Page.This control is inside a DIV.I am applying Height to the DIV using the CSS.But the Height is not consistent among IE,FireFox and Safari. How can I have the Height consistent in IE,FireFox and Safari.? Thanking you in advance Following is the CSS Style used: div#clsChkBoxList { height:114px; overflow:auto;
0
9683
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
9529
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
10457
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
10231
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
10176
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,...
1
7550
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
6792
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
5443
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
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.