Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Special Interests > Web Design and Development
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread Display Modes
Old Aug 5, 2009, 09:26 AM   #1
kitenski
macrumors member
 
Join Date: Jan 2008
Location: Leeds, UK
Link problem with one area in Safari, fine in IE

Hi there,

I've been editing some CSS to effect some links on my website. I now have the look and feel I was after, but the links have stopped working under Safari on my Mac.

They work fine on my Windows PC using Internet Explorer.

I have no idea why, the code looks fine to me, does anyone have any suggestions?

It's these links

Latest Software | Reviews | Forum | About | Contact | Follow on Twitter

on this page

http://www.pocketpcsoft.net/

Thanks in advance,

Greg
kitenski is offline   Reply With Quote
Old Aug 5, 2009, 09:27 AM   #2
SilentPanda
Demi-God (Moderator)
 
SilentPanda's Avatar
 
Join Date: Oct 2002
Location: The Bamboo Forest
They don't seem to work on Firefox 3.5.2 either in Windows (although I have a few mods installed). You might have some luck debugging from there.
__________________
Ban violins in video games now!
SilentPanda is offline   Reply With Quote
Old Aug 5, 2009, 09:48 AM   #3
angelwatt
macrumors 601
 
Join Date: Aug 2005
Location: Ohio
The #content part is sitting on top of your floating #nav. If you add clear:both to #content you'll see it fixes the problem. Though, it will also move the content down farther. There's various ways to go about remedying, but hopefully knowing the cause will help you move forward.
__________________
MRoogle can find your answers!
Words on the Wall
angelwatt is offline   Reply With Quote
Old Aug 5, 2009, 10:01 AM   #4
kitenski
Thread Starter
macrumors member
 
Join Date: Jan 2008
Location: Leeds, UK
Quote:
Originally Posted by angelwatt View Post
The #content part is sitting on top of your floating #nav. If you add clear:both to #content you'll see it fixes the problem. Though, it will also move the content down farther. There's various ways to go about remedying, but hopefully knowing the cause will help you move forward.
Thanks alot, that clear has fixed the issue, but are you saying that isn't a good permanent fix?

The actual block of CSS looks as follows, could the postion:relative be the underlying issue?

As you can tell I am new to CSS

Code:
#content {
clear:both;
position:relative;
width:985px;
margin:0 auto;
padding:0 24px
}
kitenski is offline   Reply With Quote
Old Aug 5, 2009, 10:17 AM   #5
angelwatt
macrumors 601
 
Join Date: Aug 2005
Location: Ohio
Quote:
Originally Posted by kitenski View Post
Thanks alot, that clear has fixed the issue, but are you saying that isn't a good permanent fix?

The actual block of CSS looks as follows, could the postion:relative be the underlying issue?
If you're happy with the result of using clear then it's fine as a fix. I just thought you may not like that it moved the content area down and created more of a gap between it and the header.

The relative positioning isn't causing the problem, it's that the nav is being floated, and when that's done the rest of the layout changes its behavior. You should read through a couple CSS float tutorials to get a better understanding of how they are used.
__________________
MRoogle can find your answers!
Words on the Wall
angelwatt is offline   Reply With Quote

Reply

Mac Forums > Special Interests > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:25 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2002-2010, MacRumors.com, LLC