
- 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.
-
Originally 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:
Code:#foo { float: left; margin: 3px 6px; display: inline; }
Leave a comment:
-
Originally posted by d000hg View PostAnd they're paying you how many £100s a day as an experienced expert?.
Leave a comment:
-
Originally 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:
-
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:
-
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:
-
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
- Can a WhatsApp message really be a contract? Yesterday 20:17
- ‘Subdued’ IT contractor jobs market took third tumble in a row in August Yesterday 08:07
- Are CVs medieval or just being misused? Sep 24 05:05
- Are CVs medieval or just being misused? Sep 23 21:05
- IR35: Mutuality Of Obligations — updated for 2025/26 Sep 23 05:22
- Only proactive IT contractors can survive recruitment firm closures Sep 22 07:32
- How should a creditors’ meeting ideally pan out for unpaid suppliers? Sep 19 07:16
- How should a creditors’ meeting ideally pan out for unpaid suppliers? Sep 18 21:16
- IR35: Substitution — updated for 2025/26 Sep 18 05:45
- Payment request to bust recruitment agency — free template Sep 16 21:04
Leave a comment: