13 replies [Last post]
vikki
Offline
newbie
Last seen: 16 years 9 weeks ago
Joined: 2004-11-25
Posts: 7
Points: 0

Please help me.
Look at my website in IE.
Now look at it in Safari.
Why? and can i fix it?
wait i have to give you my website hahaha

www.covergent.co.uk

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 7 years 26 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

Safari and CSS

Okay; I'm going to be brief as this has all been said a thousand times before:

Don't code for IE as it has more bugs than a great big buggy thing! Code for a standards compliant browser like FireFox (which shows your site exactly the same as Safari by the way) and then hack it about to make it work on IE. This is particularly important for a site aimed at Mac users.

Don't use frames.

Think about using CSS for the page structure so that the page degrades into semantically correct text (to ensure maximum accessability and leanness of code).

Think about using XHTML in order to code for the future.

Validate your HTML and CSS to be shown the obvious errors.

Read a good CSS tutorial in order to be able to understand the issues behind everything I've just written.

When posting on this forum, please be more specific about your problems and show what you have done to help yourself before you ask others to help you.

Oh, and don't repeat a post, just edit the first one.

This may all sound a bit brutal, but it is good advice nonetheless Smile

Life's a b*tch and then you die!

vikki
Offline
newbie
Last seen: 16 years 9 weeks ago
Joined: 2004-11-25
Posts: 7
Points: 0

Safari and CSS

no you dont sound brutal. this is my first website so clearly i have a lot to learn. thanks for the advice.

roytheboy
roytheboy's picture
Offline
Guru
North Wales, UK
Last seen: 7 years 26 weeks ago
North Wales, UK
Timezone: GMT+1
Joined: 2004-09-18
Posts: 2233
Points: 41

Safari and CSS

This is a good place for instruction > http://academ.hvcc.edu/~kantopet/site_design/index.php

Good luck Smile

Life's a b*tch and then you die!

vikki
Offline
newbie
Last seen: 16 years 9 weeks ago
Joined: 2004-11-25
Posts: 7
Points: 0

Safari and CSS

thank you that site is perfect for me.

I did validate the html and css, i've tried a bunch of things. I would ask you to suggest something but you shouted at me last time Wink

clay
Offline
Regular
Sydney.
Last seen: 16 years 11 weeks ago
Sydney.
Timezone: GMT+10
Joined: 2004-11-09
Posts: 15
Points: 0

Safari and CSS

Not bad at all for a first site there! I can remember a few of my early attempts and whoa!

In all honesty, ditch the frames and code using the Fox. If you're using a Mac, IE5 will give you all sorts of headaches, but you'll get there! Wink

vikki
Offline
newbie
Last seen: 16 years 9 weeks ago
Joined: 2004-11-25
Posts: 7
Points: 0

Safari and CSS

this is how you can tell its my first site..... i didnt realise i was using frames!! i drew layout cells and used css to make them pretty. im more of a designer than a technical person. i dont know anything about code.

clay
Offline
Regular
Sydney.
Last seen: 16 years 11 weeks ago
Sydney.
Timezone: GMT+10
Joined: 2004-11-09
Posts: 15
Points: 0

Safari and CSS

Did you code it yourself or use an editor like Frontpage / Dreamweaver?

Ahhh, my first site, I remember wondering why everything had to be in it's own directory... Had things on the net that were referring back to my hard-drive! Laughing out loud

vikki
Offline
newbie
Last seen: 16 years 9 weeks ago
Joined: 2004-11-25
Posts: 7
Points: 0

Safari and CSS

tell me about it, ive read like 5 manuals - and it still doesnt work

i used dreamweaver, is that wrong?

clay
Offline
Regular
Sydney.
Last seen: 16 years 11 weeks ago
Sydney.
Timezone: GMT+10
Joined: 2004-11-09
Posts: 15
Points: 0

Safari and CSS

There's no right and wrong. But standards compliancy is well on the move into web-fashion, and Dreamweaver isn't the best for that.
Get into the habit of CSS early, or at the very least, a tabled layout.

CSS is daunting at first, but persist with it, and when it "clicks" it's very rewarding.

I also highly recommend Mozilla Firefox as a browser, and I'm sure most on this board would agree! Wink

Count Rugen
Offline
newbie
Last seen: 16 years 9 weeks ago
Joined: 2004-11-22
Posts: 2
Points: 0

Safari and CSS

I think you will be able to take care if those background colour problems in the menu by setting the width of the links in your css sheet put padding around the like.
Otherwise, you can create a horizontal list and just set the width of 'li' with the background colour you want.
Hope this helps

vikki
Offline
newbie
Last seen: 16 years 9 weeks ago
Joined: 2004-11-25
Posts: 7
Points: 0

Safari and CSS

i have done. it doesnt make a difference. im stuck. thanks for the suggestion anyway.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 3 weeks 2 days ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9774
Points: 3856

Safari and CSS

Anchors are natural born inline elements. Inline elements do not have a width property. If you declare a {display: block;}, the links will become as wide as their containers (the tds). You may declare a width for a block element.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

vikki
Offline
newbie
Last seen: 16 years 9 weeks ago
Joined: 2004-11-25
Posts: 7
Points: 0

Safari and CSS

i send you a massive kiss because that has fixed it. xxx