| Web Design and Hosting Creating sites, scripting, and hosting discussions. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Dec 14, 2009
Posts: 3
![]() |
Hi,
I have built a website and tested it on all browsers and different versions and al works fine. However when i showed the client there is a display issue as they are using a mac. However as i don't have a mac i can't fix it. Here is the link: The Love of It The top nav should be on one line with a equal distance between them (about 5 pixels). It could be my CSS that is wrong as i have used exact spacing, but on a mac the top nav seems to spread over two lines as in the attached image. On safari on the pc it is fine. Any help greatly appreciated. |
| QUOTE Thanks | |
![]() Member Since: Dec 10, 2009
Location: Canton, Ohio
Posts: 17
![]() Mac Specs: Various Mac Minis, Mac Mini Servers
|
|
| QUOTE Thanks | |
|
Inactive Staff
Member Since: Jul 24, 2008
Posts: 6,006
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MBP 2.3 Ghz 4GB RAM 860 GB SSD, iMac 3.4 GHz Intel Core i7 32GB RAM, Fusion Drive 1TB
|
It looks just fine on Safari. It's all on one line. However on Firefox, and Chrome it's on two lines like the picture you attached. >_<" 死神はリンゴしか食べない。 |
||||
| QUOTE Thanks | |||||
![]() Member Since: Dec 14, 2009
Posts: 1
![]() |
Did you plan on having spaces between the nav? if not you can remove the
<code>#nav li { float:left; margin-right: 5px;} </code> And that fixes your problem. If not you have to change the left-right padding on your a element a little bit. #nav li a { background-image:url(../images/header/nav-off.gif); background-repeat:no-repeat; color:#FFFFFF; font-weight:bold; line-height:39px; padding:11px 8px; text-decoration:none; } Either of those will fix your problem and shouldn't affect it too much in any of the browsers. All that is happening is you are breaking that nav element because the elements within are too wide for the space. I know its weird that its different between browsers. I find little changes in my designs because of margin differences as well. You might want to look at the content throughout your pages a bit too. Some of the content isn't aligning how you want it to be in firefox on the mac. Last edited by DrewOlsen; 12-14-2009 at 11:51 AM. Reason: More info |
| QUOTE Thanks | |
![]() Member Since: Dec 14, 2009
Posts: 3
![]() |
Just to clarify a few things this happens on the following apparently, but again only on a mac. Safari 4.0.2 Firefox 2.0.0.14 Resolution: 1680 x 1050 What i want is the top nav to be the complete width of the content-area (854px), with an equal distance between each li element. This looks fine on a pc but wraps onto 2 lines on a mac. Is there a better way to do the css to overcome this or should i find an OS detect script and right a separate stylesheet for macs? thanks. |
| QUOTE Thanks | |
![]() Member Since: Dec 14, 2009
Posts: 3
![]() |
Hi again. Ok i have managed to find a script that detects if you are using a mac and if so calls the mac.css file. (i hope)
Would one of you mind telling me what i need to change the padding on #nav li a to make it fit on one line on macs. Sorry i have since changed the font & size since DrewOlsen told me. thanks |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Problem With Keyboard...... | mmcltd | OS X - Operating System | 4 | 02-02-2010 06:47 PM |
| Possible faulty CPU thermometer, common problem? | dyaballikl | Apple Notebooks | 6 | 11-16-2008 12:21 AM |
| Microsoft Messenger Problem | millenium_spike | OS X - Apps and Games | 4 | 09-16-2008 01:11 AM |
| Problem Darwin Server + VLC | nanaki | Web Design and Hosting | 0 | 03-13-2008 07:27 AM |
| Problem with ethernet board after installing RAM and upgrading from 10.2.8 to 10.3.5 | ydonofrio | Apple Desktops | 4 | 02-11-2008 07:16 PM |
All times are GMT -4. The time now is 10:51 AM.
Powered by vBulletin