I so want to adjust so indicates css with browser IE6+diese valu: text-align: justify; Code (markup): But with FF1+ this valu: text-align: right; Code (markup): so indicates. into these codes for example #page-content { float: left; color: #F7F7F7; width: 652px; text-align: right; /**** in IE6+ text-align: justify;***/ margin-left: 15pt; } Code (markup): thanx
I don't understand the question. "Justify" means the t e x t . s p r e a d s . o u t, to fill a column. Not all browsers support "justify" and when they don't, they use "text-align: left" as default. Justify might look like "text-align: right" but it's not. : ) Internet Explorer and FF both understand text-align: left and right. I'm not sure if either of them supports justify.
They support it, but the implementation is far from practical, and can cause severe accessibility and usaibility issues depending on the width of the container, the font size of the text, the font used in that block of text, and even the leading (line-height).
2 Css have I for this DIV <div class="content">blalalalalala</div> HTML: visitors with IE this CSS see . content {text-align = justify;} HTML: however visitor with FF this CSS . content {text-align = right;} HTML:
Again, is that a question or a statement?!? In either case, why in blazes are you wanting to feed two different browsers two different values when both versions should work in either? Oh, and you might actually want to try using valid syntax in your CSS examples - which seem to be much akin to your posts.
ok my friend seems so out that you do not want to understand I want to visitor my Website with IE this CSS to see: <link rel="stylesheet" type="text/css" href="http://www.mysite.com/style/style_ie.css" /> HTML: and with FF these see: <link rel="stylesheet" type="text/css" href="http://www.mysite.com/style/style_ff.css" /> HTML: did you understand,, finite?
can I make that for certain DIV? indicate in such a way for example of these DIV(class="content") of my visitors: .content { float: left; color: #F7F7F7; width: 652px; text-align: right; margin-left: 15pt; Code (markup): indicate in such a way for my visitors with FF: .content { float: left; color: #F7F7F7; width: 652px; text-align: justify; margin-left: 15pt; Code (markup): Thanx
The question is WHY do you want Internet Explorer to see different code than Firefox? Why do you want to serve two different stylesheets to two different browsers? If you're trying to overcome a browser bug or quirk, feel free to post your code (and I do mean everything from the DOCTYPE to the closing HTML tag) and we'll be more than happy to help you. If not, then learn how to use conditional comments.
sometimes so the fact that one talks about a thing and does not understand at all, for which was asked. Mr. Dan Schulz, with all Webbrowser does not have utf-8 and Persian language under letter code a problem, and with FF also, except you does not have text-align: justify; HTML: so to write otherwise runs everything best thus I have a Website some visitors to have to IE and some FF I wants with visitor with IE text-align: justify; HTML: indicates and with visitor with FF text-align: right; HTML: indicates you understood?
Conditional comments: IE <!--[if IE]> <link rel="stylesheet" type="text/css" href="http://www.mysite.com/style/style_ie.css" /> <![endif]--> Code (markup): non-IE <!--[if !IE]><!--> <link rel="stylesheet" type="text/css" href="http://www.mysite.com/style/style_ff.css" /> <!--<![endif]--> Code (markup):
So the Persian text looks good with text-align: justify but only with IE? What does the text looki like when FF has text-align: justify? I thought all (newer) browsers supported utf-8.
Makes me wonder if the file encoding the file is being saved as is matching the HTTP headers sent by the server. If there's a conflict there (say the file is being saved as UTF-8 yet the server is sending it as ISO-8859-1 for example) I'd either write a PHP script that modifies the header string or change the setting on the server itself.