New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Web Page Display Problem in Safari


Post Reply New Thread Subscribe

 
Thread Tools
neilmarks

 
Member Since: Apr 06, 2010
Posts: 1
neilmarks is on a distinguished road

neilmarks is offline
Hi,

The following site is displaying correctly in Firefox, IE, and Chrome, but not in Safari:

Andalucian Village, Costa Esuri Golf, Costa De La Luz, Spain - 2 Bed Apartment For Rent

The background should be gray, but is displaying as white in Safari. Does anyone know if there are any hacks that can be addressed directly to Safari (as can be done with IE)?. If not, does anyone have any suggestions as to the cause and solution?.

the CSS is as follows. Many thanks for any help that can be provided

@charset "utf-8";

body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
padding: 0;
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
color: #000000;
background-color: #CCCCCC;

}
.oneColFixCtrHdr #container {
width: 900px; /* the auto margins (in conjunction with a width) center the page */
border: 2px solid #999;
text-align: left; /* this overrides the text-align: center on the body element. */
margin-top: 20px;
margin-right: auto;
margin-left: auto;
background-color: #FFFFFF;
margin-bottom: 20px;
}
#containerShadow {
/** container shadow GIF removed until debugging **/
background-repeat: repeat-y;
width: 940px;
margin-right: auto;
margin-left: auto;
}


.oneColFixCtrHdr #header {
padding: 0;
}
#navBar {
margin-bottom: 45px;
}

.oneColFixCtrHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 0px; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
}
.oneColFixCtrHdr #mainContent {
background: #FFFFFF;
margin-bottom: 20px;
width: 900px;
padding: 0;
}
#mainContent h1 {
font-family: Tahoma, Geneva, sans-serif;
font-size: 24px;
color: #2296AA;
font-weight: normal;
text-transform: none;
text-align: center;
margin-right: 50px;
margin-left: 50px;
}
#flights {
margin-left: 115px;
float:left;
margin-bottom: 50px;
}
#weatherBar {
float: right;
margin-right:115px;
}
#howToGetHere {
clear: both;
width: 400px;
margin-right: auto;
margin-left: auto;
margin-top: 30px;
margin-bottom: 50px;
border-top-width: 10px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-style: solid;
border-top-color: #8080FF;
border-right-color: #8080FF;
border-bottom-color: #8080FF;
border-left-color: #8080FF;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
}
#carHire {
margin-top: 8px;
height: 100px;
}
.imgFloatLeft {
float: left;
margin-right: 55px;
margin-left: 50px;
}
.carrentallist {
float: none;
}





.homePageHeading {
font-family: Tahoma, Geneva, sans-serif;
font-size: 24px;
color: #2296aa;
}
#mainContent h2 {
font-family: Arial, sans-serif, Verdana;
font-size: 24px;
color: #2296aa;
margin-left: 40px;
text-transform: none;
margin-bottom: -10px;
font-weight: normal;
}
#mainContent h3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
color: #666;
margin-left: 40px;
margin-bottom: -12px;
}
p {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #666;
margin-left: 40px;
margin-right: 40px;
text-align: justify;
}

.oneColFixCtrHdr #footer {
background-color: #FFF;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-top-color: #DDD;
border-right-color: #DDD;
border-bottom-color: #DDD;
border-left-color: #DDD;
padding-top: 15px;
padding-bottom:10px;
height: auto;
clear:both;
text-align: center;
margin-top: 100px;
}
#footer p a {
color: #FC6;
font-size: 9px;
text-transform: lowercase;
}

.oneColFixCtrHdr #footer p {
padding: 0px; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
font-family: "Century Gothic", Verdana, Arial, sans-serif;
font-size: 9px;
color: #CCC;
margin-top: 0;
margin-bottom: 0;
text-align: center;
}
.imgMainCentre {
margin-left: 112px;
border: 3px solid #CCC;
margin-top: 10px;
margin-bottom: 20px;
background-image: url(../images/mainImgBg.gif);
background-repeat: no-repeat;
background-attachment: fixed;
}
#mainContent ul li {
font-size: 12px;
margin-left: 30px;
color: #666;
}
#mainContent table {
margin-right: auto;
margin-left: auto;
margin-bottom: 20px;
}
#mainContent table tr td p {
text-align: center;
font-size: 9px;
margin: -1px;
}
.PageHeading {
font-size: 24px;
color: #36F;
}

.tdImgShdw {
background-image: url(file:///D|/Dreamweaver/Property%20Samples/images/GalleryThumbShdw.gif);
background-repeat: no-repeat;
}
#mainContent table tr td img {
margin-bottom: 3px;
border: 2px solid #999;
background-image: none;

}
#mainContent table tr td img:hover {
border: 3px solid #FC3;
position: relative;
top: -1px;
right: -1px;
}
#rentalRates {
margin-right: auto;
margin-left: auto;
margin-bottom: 10px;
margin-top: -20px;
}
#rentalRates tr td {
border: 1px solid #999;
font-size: 12px;
font-weight: bold;
padding: 3px 0 3px 3px;
text-align: center;
}
#rentalRatesDIV {
margin-left: 200px;
float: left;
width: 500px;
}
* html #rentalRatesDIV {
display:inline;
/* removes double float bug from IE */
}
#rentalRates caption {
margin-top: 30px;
padding-bottom: 10px;
}
#rentalRates th {
background-color: #999;
border: 1px solid #999;
text-align: center;
color: #FFF;
font-family: Verdana, Geneva, sans-serif;
font-size: 16px;
}
body#home a#homeLink, body#apartment a#apartmentLink, body#area a#areaLink, body#gallery a#galleryLink,body#prices a#pricesLink, body#contact a#contactLink {
background: #33C;
font-weight:bold;
}

#flashGallery {
margin-left: 150px;
float: none;
width: 600px;
margin-bottom: 40px;
}
#mainContent h4 {
font-size: 16px;
font-style: italic;
margin-left: 40px;
color: #03C;
text-decoration: underline;
text-transform: uppercase;
margin-top:30px;
font-family: "Trajan Pro", Vivaldi, "Trebuchet MS";
}
#mainContent p strong a {
}
.alignPara {
width: 650px;
padding-left: 82px;
}
#galleryGolf {
float: right;
margin-top: 30px;
margin-right: 35px;
}
QUOTE Thanks

Post Reply New Thread Subscribe


« 123 reg FTP on a Domain Name | Creating a form to "submit" to me? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Safari page sheet style, display is all wrong. analogue_radio Apple Notebooks 1 04-21-2010 10:19 PM
Safari page sheet style, display is all wrong. analogue_radio OS X - Operating System 6 11-03-2009 09:45 AM
Word 2008 - Set page one (pg #) to be on third page vansmith OS X - Apps and Games 9 05-06-2009 09:17 PM
Switcher need help with web page display marty Switcher Hangout 4 11-06-2007 11:46 PM

All times are GMT -4. The time now is 02:51 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?