Templating Issue IE7 - CellSpacing
Posted: Mon, 2008-06-30 05:16
The issue I am having is with CellSpacing in both IE7 and FF. The problem is that IE7 has about 2pixels greater CellSpacing than does FireFox. This wouldn't be much of an issue if I only had 1 or 2 input fields but with 50+ 2pixels begins to add up very quickly.
If anyone has an idea of how to make IE and FF have the same CellSpacing it would be a great help.
Problem URL - http://industrialjobs.org/index.php?option=com_mtree2&task=addlisting&cat_id=42&Itemid=32
Thanks,
James


Moderator
Posts: 12310
Joined: 2004-06-06
Location: London
Hi James, before this post
Posted: Mon, 2008-06-30 05:33
Hi James,
before this post can be taken any further you will have to fix up that very badly broken page; you can not have multiple head elements.
It is advisable and requested that people validate their markup before posting and sensible that this becomes standard working practise for themselves as it will catch this sort of problem, although ones eyeballs should really have picked this one up
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me
Regular
Posts: 42
Joined: 2007-09-12
Location: kathmandu
Valid your html page and css page
Posted: Mon, 2008-06-30 06:11
Please you are requested to valid your html page in w3.org . you can valid your html page in http://validator.w3.org/ and valid your css code in http://jigsaw.w3.org/css-validator/#validate_by_uri
CSS 2.0 Creator
newbie
Posts: 5
Joined: 2008-06-30
Location: Houston, Texas
I apologize for the
Posted: Mon, 2008-06-30 12:17
I apologize for the non-validation.
I did fix the duplicate head tag. I had remembered that you could call out specific CSS files based on the users browser so I was going to try and fix the problem that way. That is the purpose for the two head tags. I had simply forgot to remove it when it didn't work out for me.
I don't understand validation completely but am going to look at it now. Maybe one of you can provide me with some more detail. This would be greatly appreciated.
Thanks,
James
newbie
Posts: 5
Joined: 2008-06-30
Location: Houston, Texas
I guess my other
Posted: Mon, 2008-06-30 12:36
I guess my other issue/problem is that the website I am working on is built using the Joomla CMS, I am sure you know that already after looking at the code. The problem is that 99% of the items used have been made by someone else.
I did however pull up the Validation and show 27 Errors, just not sure how to fix them.
For example:
How do I find that within my thousands of files of code and what would be the correct fix for the problem?
The same for this?
Thanks in advance,
James
Moderator
Posts: 12310
Joined: 2004-06-06
Location: London
Hmm yes Joomla is a problem,
Posted: Tue, 2008-07-01 06:01
Hmm yes Joomla is a problem, lots of third party work by people who don't give a hang about Standards.
Can't tell you where those errors are generated from you will just have to logically work through the includes, there must be an index start point that probably calls a head include then other various bits.
The error in question is telling you that the 'br' tag has not been closed it needs to be <br />
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me
newbie
Posts: 5
Joined: 2008-06-30
Location: Houston, Texas
Hey, atleast you feel my
Posted: Tue, 2008-07-01 12:32
Hey, atleast you feel my pain about Joomla.
Don't get me wrong I love it because its there, prebuilt and for the most part its easy to find decent components to build a successful website. The down fall as you said is people building these "Extensions" with lack of knowledge and leaving vulnerabilities.
I only wish I had more time to learn php, js, css, html.
I did some research also and I found that you can convert a Table into Divs and CSS. I pretty well assumed this prior to posting but I understand it take a lot of Divs and a lot of cutting of my existing images. I suppose I could do this but I am not sure it would work the way everyone who has suggest this thinks.
I will work on the Validation tonight and thanks for the tips on the </br>
Leader
Posts: 568
Joined: 2007-05-09
Location: Pune, Maharashtra, India
Hi, I am an Joomla
Posted: Tue, 2008-07-01 13:43
Hi,
I am an Joomla freelancer and believe me its a pain to get Joomla validated. In truth the newly release Joomla1.5 validates fine, but 3rd party components, are so badly coded that you cant help but ignore the validation. I was even planning to working on getting the basic components validated, but sadly with the licensing issue, you cant work on them.
Also its very difficult to get joomla into a neat shape, inline css, incomplete tags, bad coding are some of the issues that cause me to make my own site html though i mostly work on Joomla.
Mihir.
newbie
Posts: 5
Joined: 2008-06-30
Location: Houston, Texas
Is it possible to Hi-Jack my
Posted: Tue, 2008-07-01 13:53
Is it possible to Hi-Jack my own thread? lol
Anyways, you are exactly right! What you see a lot of times with Joomla is Coder A might code using HTML primary and PHP secondary. But Coder B does the complete opposite. Then you have the problem with those who preffer JQuery over Mootools. I feel its going to be a never ending battle with the developers and which method is the standard.
Here is the thing I rather enjoy about Joomla. The community! The majority of the people still believe in Open Source so you get good, kind people willing to help you out and make your site better and often times for free.
You are absolutely right about the validation... I literally have maybe 5000+ Files associated with my Joomla site so to validate 100% of it would be a nightmare. I do see the purpose of it because of the web standards but it would be near impossible.
Since you are a Joomla Freelancer maybe you have an idea why it is the CellSpacing differs between IE7 and FF? Also, is it in my best interest to convert the Table to CSS and Divs?
Leader
Posts: 568
Joined: 2007-05-09
Location: Pune, Maharashtra, India
Hi, It is absolutely
Posted: Tue, 2008-07-01 16:48
Hi,
It is absolutely essential (especially when you use Joomla) to convert to div based layout. when we do a normal HTML page, even if you do use table it will be just
But when you think of Joomla, you have to go down atleast 20 levels to reach to the content. SO the only thing we can do is remove the first 3 levels that come in the template. Then let joomla do as it wishes.
Contact me (via PM) if u need help.
Mihir.