WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox 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.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-04-2005, 08:14 AM
WebProWorld Member
 

Join Date: Dec 2004
Location: Calcutta
Posts: 70
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, 10:05 AM
Spectur's Avatar
WebProWorld Pro
 

Join Date: Mar 2005
Location: Tampa,Fl
Posts: 239
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, 12:40 PM
WebProWorld Pro
 

Join Date: Apr 2005
Posts: 225
johngroup RepRank 0
Default

Can we see the code or a link leading to the error?
Reply With Quote
  #4 (permalink)  
Old 05-05-2005, 03:28 AM
WebProWorld Member
 

Join Date: Dec 2004
Location: Calcutta
Posts: 70
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, 06: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
__________________
IMSpecialresor Business Travel & Incentive Solutions.
IM-Travel, IM-MeetingsSpecial Travel & Business Meetings
Reply With Quote
  #6 (permalink)  
Old 05-05-2005, 01:58 PM
WebProWorld Pro
 

Join Date: Apr 2005
Posts: 225
johngroup RepRank 0
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, 04:11 AM
WebProWorld Member
 

Join Date: Dec 2004
Location: Calcutta
Posts: 70
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, 05: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.
__________________
IMSpecialresor Business Travel & Incentive Solutions.
IM-Travel, IM-MeetingsSpecial Travel & Business Meetings
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: ,



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

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


Search Engine Optimization by vBSEO 3.2.0