- 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
- IT contractor demand defied seasonal slump in December 2025 Today 07:10
- Five tax return hacks for contractors as Jan 31st looms Yesterday 07:45
- How to land a temporary technology job in 2026 Jan 9 07:01
- Spring Forecast 2026 ‘won’t put up taxes on contractors’ Jan 8 07:26
- Six things coming to contractors in 2026: a year of change, caution and (maybe) opportunity Jan 7 06:24
- Umbrella companies, beware JSL tunnel vision now that the Employment Rights Act is law Jan 6 06:11
- 26 predictions for UK IT contracting in 2026 Jan 5 07:17
- How salary sacrifice pension changes will hit contractors Dec 24 07:48
- All the big IR35/employment status cases of 2025: ranked Dec 23 08:55
- Why IT contractors are (understandably) fed up with recruitment agencies Dec 22 13:57

Leave a comment: