- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: My day...
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "My day..."
Collapse
-
Thanks Nick - that looks really useful. I love the ff developer toolbar - didn't know IE had such a thing! Help much appreciated.
-
zoom: 1; is your friendOriginally posted by k2p2 View PostIndeed. I did tell 'em up front I don't do design stuff. No worries, they said, they'll supply the designs. I was confidently expecting HTML but got a PDF. Ah well, they seem happy enough with my botch job. Mind you, they haven't looked at it in IE6 yet...!
Install the IE Developer Toolbar. Using its DOM/CSS views, identify containing elements that are leaking their contents (or possibly throwing them to the four corners of the screen) and see if, in the CSS column, they show a property called hasLayout with the value -1. If they don't then, using the attributes inspector, set zoom to 1 and they'll almost certainly start behaving again.
Once you've identified all the elements that need it, just add that zoom into the appropriate CSS declarations: it won't affect anything else, although if you want you can go to town and put it in an IE-only stylesheet included via conditional comments.
Oh, if you have anything floated that has left or right margins, also set display to inline:
as that fixes the doubled-margins bug.Code:#foo { float: left; margin: 3px 6px; display: inline; }
Leave a comment:
-
Indeed. I did tell 'em up front I don't do design stuff. No worries, they said, they'll supply the designs. I was confidently expecting HTML but got a PDF. Ah well, they seem happy enough with my botch job. Mind you, they haven't looked at it in IE6 yet...!Originally posted by d000hg View PostAnd they're paying you how many £100s a day as an experienced expert?
.
Leave a comment:
-
top manOriginally posted by wingnut View Postcould be worse. Imagine trying to repair a server that was allegedly backed up and has multiple disk failures, for a friends company, in the full knowledge that if you fail they are stuffed.
With them politely loitering, trying to refrain from only ask questions every five minutes to every 10.

Got it sorted though
Leave a comment:
-
could be worse. Imagine trying to repair a server that was allegedly backed up and has multiple disk failures, for a friends company, in the full knowledge that if you fail they are stuffed.Originally posted by norrahe View PostGo and have a beer. Relax and don't think about it till tomorrow.
With them politely loitering, trying to refrain from only ask questions every five minutes to every 10.

Got it sorted though
Leave a comment:
-
Thanks. I feel so much better for knowing that!Originally posted by NickFitz View PostYou need to remember that the XML empty element shorthand syntax <foo /> can only be used in XHTML (served as text/html) for elements that are defined by the (X)HTML DTD as having an empty content model.
As IE's parser doesn't know anything about XHTML (it's HTML-only) it sees the trailing slash within the start tag as the declaration of an attribute; as "/" isn't a valid name for an attribute, it then discards it as an ignorable syntax error, sees the ">" as the end of the start tag, and treats subsequent content as the contents of the <script> tag.
The only reason it doesn't similarly fail for constructs like <br /> and <img /> is that they are defined in the DTD as having an empty content model, and therefore it doesn't expect to find an end tag for them.
In fact, the <script /> construct should also fail on other browsers when the same content is served to them with Content-Type "text/html" instead of "application/xhtml+xml", for the same reasons.
Leave a comment:
-
You need to remember that the XML empty element shorthand syntax <foo /> can only be used in XHTML (served as text/html) for elements that are defined by the (X)HTML DTD as having an empty content model.Originally posted by k2p2 View PostHow many hours did I waste because I forgot IE doesn't like a self closing <script/> tag?
As IE's parser doesn't know anything about XHTML (it's HTML-only) it sees the trailing slash within the start tag as the declaration of an attribute; as "/" isn't a valid name for an attribute, it then discards it as an ignorable syntax error, sees the ">" as the end of the start tag, and treats subsequent content as the contents of the <script> tag.
The only reason it doesn't similarly fail for constructs like <br /> and <img /> is that they are defined in the DTD as having an empty content model, and therefore it doesn't expect to find an end tag for them.
In fact, the <script /> construct should also fail on other browsers when the same content is served to them with Content-Type "text/html" instead of "application/xhtml+xml", for the same reasons.
Leave a comment:
-
My day...
Linky
This about sums it up.
I can't do this css layout bollx. Give me a <table> any day. How many hours did I waste because I forgot IE doesn't like a self closing <script/> tag? Add onto that the hours spent finding the hardcoded positioning in a bit of javascript...
Thankfully I have a fridge full of beer.Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Why PAYE overcharging by HMRC is every contractor’s problem Today 06:26
- Government unveils ‘Umbrella Company Regulations consultation’ Yesterday 05:55
- JSL rules ‘are HMRC’s way to make contractor umbrella company clients give a sh*t where their money goes’ Feb 8 07:42
- Contractors warned over HMRC charging £3.5 billion too much Feb 6 03:18
- Statutory Sick Pay (SSP) for umbrella company contractors: an April 2026 explainer Feb 5 07:19
- IR35: IT contractors ‘most concerned about off-payroll working rules’ Feb 4 07:11
- Labour’s near-silence on its employment status shakeup is telling, and disappointing Feb 3 07:47
- Business expenses: What IT contractors can and cannot claim from HMRC Jan 30 08:44
- April’s umbrella PAYE risk: how contractors’ end-clients are prepping Jan 29 05:45
- How EV tax changes of 2025-2028 add up for contractor limited company directors Jan 28 08:11

Leave a comment: