Mar
4
2010
Since the radio button and the text are inline, so the text will align itself to the bottom of the radio button, The the text will appear to be slightly under the radio button.
If you want these to align to the top, you’ll have to place the radio and the text into separate containers like divs or spans ( as appropriate) and they will take care of the alignment. It would be easier to use table cells too, of your design brief permits it.
This won’t look the same in every browser, as every browser displays radios slightly differently, so there’s always going to be size issues no matter what you do.
no comments | posted in Browser Quirks, HTML
Mar
22
2009
Google starts a movement prompt people to dump IE6 … By bugging IE6 users with a POPUP on page load… may be not a very good idea … but being a UI developer , I have to join this band wagon … one less browser for me worry about … Sorry selfish it is! but I have include this javascript … ( TRY THIS PAGE IN IE6) …
Hey ! and on the brighter note … See it is a display of the POWER of JAVASCRIPT …. it can even bring down a giant (or once it was )
SO … Help rid the world of IE6 with one line of javascript!
http://code.google.com/p/sevenup/
no comments | tags: IE Issues, IE6 | posted in Browser Quirks, Web Developer
Mar
19
2009
With another browser to take care from tomorrow! (IE8 comes out of its Beta State tomorrow) … Its really high time IE6 is given its Long Due Mercy Death … United we stand for the fall of IE6
“IE6 is the new Netscape 4. The hacks needed to support IE6 are increasingly viewed as excess freight. Like Netscape 4 in 2000, IE6 is perceived to be holding back the web.”
Jeff Zeldman, standards guru
And meanwhile for those like me who will be flooded with calls of breaking CSS layouts in IE8, here is the old work around/fix using Meta Tags (meta http-equiv=”X-UA-Compatible”) you could try…
Mis-behaving IE8 : CSS Layout breakages (Targeting a browser version using Meta Tags in IE8)
no comments | tags: Annoucements, IE6, IE8 | posted in Browser Quirks
Dec
17
2008
If you are css person, you would know the pain in getting your layouts working cross-browser. IE8 is yet another spanner in the works for us developers. Anywaz! if you hit upon this issue, Like I did yesterday, where your perfectly working CSS in IE7 (and earlier) and Firefox has suddenly started throwing tantrums in IE8 , TRY This … It nicely seemed to fix my problems for the moment ….
Using Meta declaration, we can specify the rendering engine we would like IE8 to use. So to force IE8 to render as IE7 … Insert the following Meta Tag into the head of your document:-
<meta http-equiv=”X-UA-Compatible” content=”IE=7″ />
By default IE Meta would be:-
<meta http-equiv=”X-UA-Compatible” content=”IE=8″ />
which would make IE8 render the page using the new standards mode.
If required, this syntax could be used to accomodate for other browsers as below:
<meta http-equiv=”X-UA-Compatible” content=”IE=8;FF=3;OtherUA=4″ />
MORE About DOCTYPES :
IF you are yet unfamiliar with the sort of animal called “Doctype” … here is some quick read
What are DOCTYPES? What are BROWSER QUIRKS & STRICT Mode?
Setting the DOCTYPE in XSL
For a more in depth understanding about DOCTYPES , try visiting these links…
A List Apart : Fix Your Site With the Right DOCTYPE!
A List Apart : Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8
Note: Though many of us HTML/CSS people have been neglecting the importance of DOCTYPE decleration in our documents , Setting the right DOCTYPE , is usually the answer to most cross browser issues.
1 comment | tags: Doctype, IE Issues, IE8, Meta Tags, Tips & Tricks | posted in Browser Quirks, HTML
Nov
20
2008
In Firefox… sometimes you might have noticed that the cursor starts blinking on the screen. It might happen when you click on any element on the page , a division or an image etc. This Blinking Cursor in the browser window is actually an ACCESSIBILITY Feature of FireFox called ‘caret browsing’. This features allows/enables users to select text on the page with the keyboard ( Which we normally tend to do with the use of our mouse).
Well! if you donot want this feature … simple press “F7” to toggle it to false and vice-versa ( if you want it ON). You could also type “about:config” in the address bar (type in “caret” in the filter box) and simply double click to change the option “accessibility.browsewithcaret” from “true” (turn caret browsing ON) to “false” ( turn caret browsing OFF)
no comments | tags: FF Bugs, FF Fixes, FF Hacks, FF Issues, Firefox | posted in Browser Quirks, Downloads
Oct
10
2008
CSS for Non-IE Browsers : Its no news to CSS developers that , CSS Child Selectors like the example below, doesnt seem to work in IE.
e.g. div > span { some css } , that means “when a span element is a child ( and NOT a grandchild or great grand child etc.) of a division element” .
But we used this CON to our advantage. Historically, the child selector has been used to hide CSS commands from IE. Simply by placing html>body in front of any CSS command IE will ignore it:
html>body .foo {CSS commands go here;}
This works because <body> is always a child of <html> – it can of course never be a grandchild or great-grandchild of <html>.
Now that IE7 understands the child selector, you have to insert an empty comment tag in directly after the greater than sign. IE7 will then not understand this selector (who knows why!?) and will therefore totally ignore this CSS command:
html>/**/body .foo {CSS commands go here;}
If haven’t already seen these before, have a read through the following as well
no comments | tags: IE Bugs, IE Fixes, IE Hacks, IE Issues | posted in Browser Quirks, CSS
Oct
4
2008
As usual, one of the many some strange problems with IE and this one must ranks in TOP 10 of IE Quirks.
PROBLEM STATEMENT (This was my problem, maybe you have similar misbehaviors):
I have many DIV’s in the page with class “sectionhead” , which is nothing but title of a section on the page. So I have some style looking like this
.sectionhead{font-size:18px; background:#cfcfcf; padding:5px;}
The div is a light grey bar with some black text. What happens in IE is some of these section headers are displayed ok, but some are invisible, UNTIL, you scroll the page or click something on the page etc. Sometime they tend to disappear when you click the ‘alt’ key when you page down or scroll with the scroll bar. They sometimes seem to reappear when you reload (f5) the page. I short a perfectly simple DIV with some simple style behaves BAD.
What could cause such an erratic behavior? Well! Frankly, NO IDEA!!!
POSSIBLE SOLUTION:
Again don’t ask me why, but in many instances this problem tends to vanish when you add position:relative to the mis behaving elements style, like this
.sectionhead{font-size:18px; background:#cfcfcf; padding:5px; position:relative }
Weird but what to say? God Bless me from IE!
AND DO SHARE WITH US, IF YOU HAD SIMILAR PROBLEMS.
no comments | tags: IE Bugs, IE Fixes, IE Hacks, IE Issues | posted in Browser Quirks, CSS, HTML
Sep
2
2008
Many a times we feel the need to write browser specfic hacks (though it is not a good practice, we UI developers have to resort to such evils until the great Browsers Wars comes to a truce). Earlier , I had mentioned in this article For your IEs Only, how to write a CSS snippet that would be visible to IE browsers < IE7 only.
Yesterday, I had a case, where I wanted to write some FireFox specific CSS snippets. Well! I am not sure if there is a CSS code for this but there is a HTML. THERE IS A CATCH THOUGH, this piece of HTML doesnot pass HTML validation. But , anywaz! If you are stuck badly or as such, have no-regards for validation (sometime we have to be cruel), you could use the following to declare a link to a FF only stylesheet or even just code the CSS within this block. The code is
<comment> Put your FireFox only HTML/CSS/Scripts here </comment>
e.g.
<comment>
<style>
/* Styles for FF only */
fieldset{border:1px solid #dddddd;}
</style>
</comment>
I”m happy for the moment …
no comments | tags: FF Bugs, FF Hacks, FF Issues | posted in Browser Quirks, CSS, HTML, JavasScript
Jul
15
2008
Oh Well! In the earlier post a few days back regarding Opacity in IE8 ,I forgot to mention an important point that “IE 8 strict mode doesn’t allow for CSS opacity“.
For those who donot understand what I mean by strict mode , here is quick tutorial.
A work around to this (Before IE dev team realise that they have paved way for re-work routines all over the world, for web-sites using Pop-up lightboxes with some opacity, and put back support for OPACITY) is to use a semi transparent image …preferably in PNG format (I have had bad experience getting transparent GIF images to work as they were supposed to). Create a PNG image of the color and percentage of transparency you like , in you favourite image editor and use it as a background image for your lightbox overlay.
i.e.
Instead of something like this
.lighbox_overlay{
background-color: #ffffff;
z-index:1001;
-moz-opacity: 0.6;
opacity:.60;
filter: alpha(opacity=60);
}
Do this….
.lighbox_overlay{
background:url(bkg.png) repeat;
}
TO TRY IT, CLICK HERE! | TO DOWNLOAD, CLICK HERE!
no comments | tags: IE Bugs, IE Fixes, IE Issues, IE8 | posted in Browser Quirks, CSS
Jul
6
2008
If you are viewing this page in IE8 , then you must be seeing a full opaque white background behind this post. Yesterday , my collegue pointed this out to me (As I am one of those people who adapt to changes slowly and steadily… especially browsers. Might say, Im a coward, but so be it …. Being a UI developer, I’m always shit scared of new browser versions … you know what Im tlaking about, right?)
Digged around for while, trying to find a solution to fix it and then what …
This time our ALL TIME FAVOURITE browser has done it all over again by dropping all support for CSS opacity. The non-standard `filter: alpha(opacity=##)` CSS attribute has been removed , Nice , but they also totally forgot to add CSS3 opacity support (like how all the other browser’s nicely have kept it in). So, for the first time since GOD told us about CSS opacity ( since IE 5.0 , I guess) , a web browser won’t support CSS opacity.
And now for the cream on top: Official word from IE 8 team? It’s “by design” and “we will consider this in a future version of IE”.
PS: Try this page in FF, swear it looks neat!
no comments | tags: IE Bugs, IE Issues, IE8 | posted in Browser Quirks, CSS