iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-04-2005, 09:14 AM
WebProWorld Member
 
Join Date: Dec 2004
Location: Calcutta
Posts: 71
souvik das RepRank 0
Default css text-align in IE

HI
I have made a simple page & used css in link. I have used text-align:left; to align link text. Its working perfect in mozilla but in IE the text-align property is not working. Why it is not working in IE ? Please give me some suggestion.

-----------------Souvik das---------------------
__________________
I want to know about how to design the search engine friendly websites with attractive graphics.
Reply With Quote
  #2 (permalink)  
Old 05-04-2005, 11:05 AM
Spectur's Avatar
WebProWorld Pro
 
Join Date: Mar 2005
Location: Tampa,Fl
Posts: 236
Spectur RepRank 0
Default

I've seen this before also. Chalck it up to IE not being standards compliant. Microsoft does not fully apply the css standard.

You could do a check on your page for the browser type and render code for IE or render code for others based on the browser returned.. Kinda of sucks to have to do it that way but as the saying goes

Code for Firefox ... fix for IE....



Just my 2 cents ....
Reply With Quote
  #3 (permalink)  
Old 05-04-2005, 01:40 PM
WebProWorld Pro
 
Join Date: Apr 2005
Posts: 259
johngroup RepRank 1
Default

Can we see the code or a link leading to the error?
Reply With Quote
  #4 (permalink)  
Old 05-05-2005, 04:28 AM
WebProWorld Member
 
Join Date: Dec 2004
Location: Calcutta
Posts: 71
souvik das RepRank 0
Default the code

hi johngroup

here is the css code:

.link{
font-size: x-small;
text-align:left;
color: #0000cc;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
__________________
I want to know about how to design the search engine friendly websites with attractive graphics.
Reply With Quote
  #5 (permalink)  
Old 05-05-2005, 07:43 AM
WebProWorld Member
 
Join Date: Jan 2005
Location: Sweden, France
Posts: 89
Gregse RepRank 0
Default

Hi there,
I had a touch of this problem as well till I solved it. Check out this link - it may help you.
http://www.blooberry.com/indexdot/cs.../textalign.htm

and this one:

http://dorward.me.uk/www/centre/#ie

I believe the problem is ie's interpretation of the text align at block level.
Keep well
Reply With Quote
  #6 (permalink)  
Old 05-05-2005, 02:58 PM
WebProWorld Pro
 
Join Date: Apr 2005
Posts: 259
johngroup RepRank 1
Default

Are you applying the style to a div containing the link or the link itself? Try both.
Reply With Quote
  #7 (permalink)  
Old 05-06-2005, 05:11 AM
WebProWorld Member
 
Join Date: Dec 2004
Location: Calcutta
Posts: 71
souvik das RepRank 0
Default thanks

Thanks guys I am trying---

----------------------Souvik das----------------------
__________________
I want to know about how to design the search engine friendly websites with attractive graphics.
Reply With Quote
  #8 (permalink)  
Old 05-06-2005, 06:47 AM
WebProWorld Member
 
Join Date: Jan 2005
Location: Sweden, France
Posts: 89
Gregse RepRank 0
Default

Hi Souvik,
I think John is on the right track, but a question - are you embedding in a table?
If you are` using a table and then placing the css ie in a div etc then you will have this problem of text align not working.

Without seeing your whole code section I cant comment- but this is the problem I had.
You have to fudge or dump either table or div:)
The link I gave earlier expl,ains it and here is another
http://www.nic.fi/~tapio1/Teaching/Taulukot0.php3
sorry about all the links - Im not lecturing - just we cant help a lot without seeing the relevent code - so I offer thm so you may see your problem.
You are up against a quirk of css, tables and div's
yummy :)
Keep well.
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:36 AM.



Search Engine Optimization by vBSEO 3.3.0