9 replies [Last post]
hjames
Offline
newbie
Houston, Texas
Last seen: 12 years 16 weeks ago
Houston, Texas
Joined: 2008-06-30
Posts: 5
Points: 0

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

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 41 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Hi James, before this post

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 Smile

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

hira kumar
hira kumar's picture
Offline
Enthusiast
kathmandu
Last seen: 10 years 48 weeks ago
kathmandu
Timezone: GMT+5.75
Joined: 2007-09-12
Posts: 55
Points: 3

Valid your html page and css page

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

hjames
Offline
newbie
Houston, Texas
Last seen: 12 years 16 weeks ago
Houston, Texas
Joined: 2008-06-30
Posts: 5
Points: 0

I apologize for the

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

hjames
Offline
newbie
Houston, Texas
Last seen: 12 years 16 weeks ago
Houston, Texas
Joined: 2008-06-30
Posts: 5
Points: 0

I guess my other

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:

#  Error  Line 225, Column 22637: end tag for "br" omitted, but OMITTAG NO was specified.
 
…or="cf56_1">Contract</label><br></div><div style="width:14%;float:left;"><inp
 
✉
 
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

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?

#  Info  Line 225, Column 23451: start tag was here.
 
…<label for="cf57_0">Full-Time</label><br></div><div style="width:14%;float:le

Thanks in advance,
James

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 41 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Hmm yes Joomla is a problem,

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

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

hjames
Offline
newbie
Houston, Texas
Last seen: 12 years 16 weeks ago
Houston, Texas
Joined: 2008-06-30
Posts: 5
Points: 0

Hey, atleast you feel my

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

mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 6 years 11 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

Hi, I am an Joomla

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.

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com

hjames
Offline
newbie
Houston, Texas
Last seen: 12 years 16 weeks ago
Houston, Texas
Joined: 2008-06-30
Posts: 5
Points: 0

Is it possible to Hi-Jack my

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?

mihirc
mihirc's picture
Offline
Leader
Pune, Maharashtra, India
Last seen: 6 years 11 weeks ago
Pune, Maharashtra, India
Timezone: GMT+5.5
Joined: 2007-05-09
Posts: 728
Points: 204

Hi, It is absolutely

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

<table>
 <tr>
<td> blah blah </td>
</tr>
</table>

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.

Proprietor - Thoughtfulviewfinder Services
Web Development | Design | Merchandise | Photography
My personal blog: MihirChhatre.com