PDA

View Full Version : css and ie major problems


theman68
04-12-2011, 10:24 AM
hi everyone
i have been on here before and now i have come across one more huge problem with my website
in opera firefox and chrome my website works fantastic but in ie its a disaster so i would just like to ask is there anyone who could help me with this?
site is www.lirikwear.com
pass and user is : guest
and please check out the products page .
can i please just get some advice on how i should deal with this as this is a really huge problem.
thank you

johnMoss
04-12-2011, 08:09 PM
Things are not as dire as they appear, you have some very simple but very influential errors in your code. You have used XHTML Strict, thus IE is going to be almost entirely unforgiving of mistakes. I found a lot of little and somewhat non-influential errors as well, all easily fixable, and the best approach I think is for you to get a a grip on the use of the W3 validator. What it does is tell you where you've messed up, and from there you can learn quickly how to fix it. And you can come back here to get into more details as you may need them, but again the validator will explain a lot for you. Do as follows (since you have your site protected)

1) Go to http://validator.w3.org/

2) Choose the direct input option.

3) Copy and paste your html into the field and then click check.

4) you'll get at least 20 notifications; read what they have to say. (unclosed div especially, and nesting errors)

Check that out and come on back, but try and fix a few of your problems on your own, you'll see it's not so formidable after all...

theman68
04-19-2011, 03:21 AM
thank you for your help
can i just ask one thing though if for instance the errors that come up, if i dont fix them will this stop google indexing my site as there will be an error or what?

edbr
04-19-2011, 03:40 AM
google doesn't validate

theman68
04-19-2011, 03:51 AM
hi one other qu i have gone throught the error messages and most of them are just php errors which i didnt even write so i am cluless as how to fix them lol if they are even problems as my site seems to be working fine as far as all the functionality of the php side of things so im just a little confused.
and why there are evven errors in the first place as dw cs5 wrote it all for me

johnMoss
04-19-2011, 03:52 AM
can i just ask one thing though if for instance the errors that come up, if i dont fix them will this stop google indexing my site as there will be an error or what?
Google is more about content than anything else. Relevancy to the user's search query is their primary goal. That said, and all things being equal between your content and someone else's of very similar purpose, the site with better code would achieve a better score, and the definition of that would be how easy it is to interpret the site's structure... Reading up on the basics of SEO would be your next move...

johnMoss
04-19-2011, 03:55 AM
hi one other qu i have gone throught the error messages and most of them are just php errors which i didnt even write so i am cluless as how to fix them lol if they are even problems as my site seems to be working fine as far as all the functionality of the php side of things so im just a little confused.
and why there are evven errors in the first place as dw cs5 wrote it all for me

Ed, your thoughts?

edbr
04-19-2011, 03:57 AM
this is the lise including line numbers the explanations are fairly explicit
Result: 0 errors / 11 warnings

line 121 column 1 - Warning: missing </div> before <li>
line 121 column 35 - Warning: inserting implicit <ul>
line 121 column 35 - Warning: missing </ul> before </div>
line 81 column 1 - Warning: missing </div>
line 100 column 144 - Warning: <img> escaping malformed URI reference
line 100 column 144 - Warning: <img> proprietary attribute value "absmiddle"
line 130 column 6 - Warning: <div> proprietary attribute "tabindex"
line 133 column 10 - Warning: <form> attribute value "POST" must be lower case for XHTML
line 122 column 2 - Warning: trimming empty <p>
line 138 column 18 - Warning: trimming empty <label>
line 145 column 18 - Warning: trimming empty <label>
Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN"
Info: Document content looks like HTML Proprietary

edbr
04-19-2011, 04:15 AM
im sure some are not generated by php ore the empty labels and <p>, fix what you can i am certain this will not be penalised by google

theman68
04-19-2011, 04:44 AM
this is just a little off point but just want to ask.
i am making a new user sighn up and everything and i have it all functional exect when it checks the new user and it says which url to take them to i have set up the url page which then says user name is taken but all the other information that has been typed into the other boxes ie address and things like that it doesnt store that information and then bring it to that page so how would i do it?

edbr
04-19-2011, 05:10 AM
is it syored in a database though?

domedia
04-19-2011, 12:54 PM
That said, and all things being equal between your content and someone else's of very similar purpose, the site with better code would achieve a better score, and the definition of that would be how easy it is to interpret the site's structure... .
You have to back that with a link or something I think John. Like Ed said, Google does not validate your pages. You'd have argue how it makes the page more relevant for a search too.

http://sites.google.com/site/webmasterhelpforum/en/faq--crawling--indexing---ranking#valid-code

edbr
04-20-2011, 01:48 AM
ive seen the argument as im sure you have dom, matt 'deepthroat" Cutts is very outspoken that google doesnt and mostly the arguments ive seen that counter this is often by seo consultants who are touting for business.
i've also seen many top ranking sites that do just about everything wrong and still get the top position so personally i go with the doesnt mattr group

johnMoss
04-20-2011, 02:09 AM
Q: Does validating my site's code (with a tool such as the W3C validator) help my site's ranking in Google?
A: No, at least not directly. However, to the extent that cleaning up your HTML makes your site render better in a variety of browsers (http://www.google.com/support/webmasters/bin/answer.py?answer=100782), more accessible to people with disabilities or folks accessing your pages on portable or other devices, and so on, it can improve the popularity of your site... increasing traffic, natural links to your site (which can help with your Google ranking), and so on.


I pulled that from your link, so I certainly stand corrected, BUT, I think where I went askew is in talking to the adwords people when a client got kicked out. Amongst other topics, we discussed this very thing; clearly I misinterpreted him as he relayed the above in such a fashion as that for adwords customers, a cleaner site leads to higher quality score, which I assumed was a half manual, half bot process...

domedia
04-20-2011, 01:09 PM
There's no doubt that valid, working code is better. So it might be that the adwords people were trying to give some ideas, but it is also possible that they just tried to help without full understanding. I've met some of them in Ann Arbor, Michigan, where the adwords/adsense operation is, and it's not like they're engineers/phd's like the ones working in the googleplex.

theman68
04-20-2011, 02:44 PM
hi guys i love the conversation but there is just one thing i want to know
the problems that i saw on edbs's post there i wish i knew how he got them cos i didnt just get that i got loads of errors but it was mostly with the php i will paste the code another day for everyone to see but like the domedia said working code is better and i totally agree, but why is all of my website like i want it and everything functioning 100% fine to how i have programed it if its got all these errors?
thank for all the help guys

johnMoss
04-20-2011, 02:51 PM
When browsers encounter code errors they make assumptions on what the intent of the code is and respond accordingly, and all of them pretty much follow their own rules... You can get away here & there with discrepancies but it is also common that what works fine in one will thus display differently in others, especially in older versions of any given browser...

edbr
04-21-2011, 12:48 AM
hi guys i love the conversation but there is just one thing i want to know
the problems that i saw on edbs's post there i wish i knew how he got them cos i didnt just get that i got loads of errors but it was mostly with the php i will paste the code another day for everyone to see but like the domedia said working code is better and i totally agree, but why is all of my website like i want it and everything functioning 100% fine to how i have programed it if its got all these errors?
thank for all the help guys

hard to say but the errors i got when i looked at your page were some tags not closed and some empty tags

theman68
04-22-2011, 10:45 AM
ok guys you have all been really good help to me so far and i thank you all loads.
so here's for another on of my big problems
i have my user database set up and i have on every page set up to where it says ' you are signed in as : (user name)' but i tired and tired untill i just set it to how it is now ( which is it just shows the top listing in all areas or where it eho's the information with php) but i cant for the love of life figure out how to filter in the record set just the current user that is signed in. can you please help me with this.
this is number 2 of my list of big brainers for me as i am very new to adobe dw.
ok thanks and i look forward to your reply