473,397 Members | 2,116 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Trouble with Safari

I have designed and coded what I thought was a very simple landing page. It seems to display fine in all browsers except for Safari. I am setting text-align to center at the body level for IE and div level for Mozilla, then adjusting the alignment for other elements accordingly. The only problem is that Safari doesn't seem to be affected by the text-align center. Do I need to do something specific for this browser? Here is the url to view the page.

http://www.corvairflair.com/VerdeBook/

Thanks,
Mike
Mar 6 '08 #1
5 1225
drhowarddrfine
7,435 Expert 4TB
I don't have Safari handy right now. You are using -moz-center for text-align but regular text-align elsewhere. So this feeds Mozilla only at that point but does nothing for IE or Safari. I'm wondering if it was an attempt to correct Mozilla but, in the process, messes up Safari. This is one reason why you should always correct IE, not modern browsers.

OT - I don't own a Mac. I should and want to but I do have Safari on Windows for testing. I really, really like Safari.
Mar 6 '08 #2
Stang02GT
1,208 Expert 1GB
you might, i know that i have run into a lot of problems when I view a page i created in IE vs FireFox. Each browser picks things up differently. So you might wan to check out how Safari handles things.

Unfortunately i don't know enough about Safari to help you but if i were you my 1st step would be to research safari and see if you have to handle certain things differently in it.
Mar 6 '08 #3
Yes, I was trying to correct for both IE and Moz. For some reason I wasn't able to get text-align center to work properly in Moz without that snippet of code. I suspect that you are correct in that this may be messing up the Safari layout.

One other question. Does height: 100% work in all browsers? I can't seem to get it to work. For some reason when I use this style attribute, the height for my text container never changes.

Thanks
Mike
Mar 6 '08 #4
drhowarddrfine
7,435 Expert 4TB
height does not work properly in IE. IE treats height as 'min-height' but min-height itself does not work at all in IE. Of course, height works correctly in all other browsers.

For height to work, you have to think "100% of what?". The parent/containing element must also has a height set.
Mar 6 '08 #5
Thanks, I seem to have the height working for me now, but have run into another issue. I want my rotating image in the header to align to the right side of my mainContent div. But I also want to make sure the entire container stays centered in the screen. Right now if you minimize your browser window that rotating image stays in a fixed place on the right.

Thanks
Mike
Mar 6 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: mr_burns | last post by:
Hi there, I am using the following function to import a xml file whether the users browser be IE or Mozilla: function importXML(file) { var xmlDoc; var moz = (typeof document.implementation...
5
by: lkrubner | last post by:
Go to this page: http://www.publicpen.com/designer/mcControlPanel.php?arrangement=createweblogsForm.php You'll need to login, use these: username: designer password: designer123 This is...
4
by: Paul W | last post by:
Hi - can someone point me to info on the issues/resolutions of supporting the safari browser? To help me understand, if I was developing pages in say FrontPage, what attributes would I set for...
5
by: Bill Cohagan | last post by:
I'm having some serious difficulties with my ASP.Net 2.0 app rendering in Safari 2.0.3. The most immediate problem is that the menu control doesn't seem to work at all, particularly the use of...
10
by: whmoseley | last post by:
I'm using the Prototype library for ajax calls. (Yes, I'm aware of the discussions about prototype lately). Perhpas it's the library that's causing problems, but I'm more suspct of my own code at...
1
by: jamierphelps | last post by:
I'm sure you guys are tired of seeing this kind of message, but this is hopefully something a little different. I searched first. I am using Drupal for a site and I also want to use Nifty Corners...
7
by: petermichaux | last post by:
Hi, I have tried the following based on suggestions of the best way to insert JavaScript into a page. This is instead of using eval(). Unfortunately IE says "unexpected call to property or...
18
by: fishwick | last post by:
I haven't really done any css in quite a while, and am banging my head against the wall trying get the rudimentary layout together of a church website home page to display correctly - I don't want...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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
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
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...

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.