got safari/know css?
- Started
- Last post
- 15 Responses
- versa
i took some real care *you're laughing at me already aren't you* in building a css/js based port site that i thought was close to getting live here....kept in mind most of the newer standarts compliant browsers, with a redirect for older browsers ( my audience is mostly gonna be IE5+ users )
but, sho' nough, when i looked at it in Safari, it looks like 52 card pick up - shit flying everywhere -
can someone with Safari and a css knowledge base help me with some screen shots and maybe advice?
thanks!
- SF0
Hey, d'you have a link?
- sparker0
to begin with, as far as current web standards go, js redirects are not needed. if you write valid, clean xhtml/css then it works in current browsers and alternate devices the same.
but, that is neither here nor there.
a link will help.
- versa0
ok thanks sparker
- sparker0
firstly, you may want to read through this:
http://validator.w3.org/check?ve…
the site doesn't validate. some of the errors in that may help you get the site to display correctly.
- versa0
this i know, but i'll keep referencing it for now...
- sparker0
in your css, you are applying two different rules to the "body" element.
http://jigsaw.w3.org/css-validat…
the css contains many errors as well.
some of the simple clean ups you can do is remembering that "id" is for unique rules and "class" is for redundant rules.
you generally don't apply both to a given element.
i'll keep looking over it.
- SF0
Check this - http://www.mezzoblue.com/css/cri…
Also noticed repeated usage of the same id tag. only use ID if it appears on the page once, otherwise just use classes
- versa0
awesome thanks guys...
sparker, can you explain what i am doing wrong to my body tag?thought i would need to declare attributes for html, body for browsers like Moz and NS
- SF0
yeah, and dont stop till it validates! at least then you'll know if you're dealing with browser bugs/quirks or bad coding.
- versa0
am i losing it? i don't see the id redundancy? school me!
- sparker0
the xhtml is a bit messy. you may want to look at cleaning up the xhtml a bit.
one of the advantages of web standards is writing your code according to a strict, document like, logical order.
your site is very vertical and linear...meaning you should be able to build your site like an "outline" using h1, h2, etc and laying out the site like a document.
this might help the layout a bit as well.
i am looking at it through firebird, so what i see actually works.
by the way...i like the design and concept.
:) very nice.
- sparker0
i'm off to get pissed. i'll back at a terminal in a little while, i look through it more thoroughly then.
:)
- versa0
oh man this is great! you mean in the areas already mentioned through w3c, or something more specific that you are seeing....and what is up ampersands/special characters in xhtml...i want to use special characters and here and there for design and placement...
i actually tried my best to create a vertically arranged style that was based on the "liquid" nature of teh H1... elements...only used H6, H5, H4 though...
- versa0
ok thanks for the time...