Welcome to WebmasterWorld Guest from 54.226.32.234

Forum Moderators: not2easy

Message Too Old, No Replies

TEXT-INDENT in IE, NS, OPERA

     

organic21

3:09 pm on Apr 25, 2003 (gmt 0)

10+ Year Member



TD.INDENT
{
text-align: left;
text-indent: 2px; }

Hi everyone, thats my css code above

Was wondering why 2px indented looks different in IE when compared to NS and Opera.

Anyone knows what could be going on with that!?
Thanks for help

organic21

3:21 pm on Apr 25, 2003 (gmt 0)

10+ Year Member



TABLE.LINKS
{ padding-left: 10pt; }

---------------------------------------------
Ok figured it out, i had a padding left on the table where the TD was sitting in

-----------

That means that the padding left doesnt work with NS and Opera?!?

Very confusing..
Does anyone know about Padding left not workin in NS, Opera!?!

Thanks

BlobFisk

3:26 pm on Apr 25, 2003 (gmt 0)

WebmasterWorld Senior Member blobfisk is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Hi organic21,

I've never had any problems with padding-left. Have you tried also specifying padding-right, padding-top and padding-bottom to see if this fixes the problem?

Alternatively, you could try the shorthand notation of padding: 0px 0px 0px 10px. The ordering is Top, Right, Bottom, Left.

HTH

organic21

3:35 pm on Apr 25, 2003 (gmt 0)

10+ Year Member



its ok now, what IE did was adding the left padding to the ident thats why the text seemed to be 10pixels more indented than in NS and Opera

Opera and NS totally ignored the left padding (table attributes) and just indented it by 2px...

very confusing
found my way around it tho
Thanks!

 

Featured Threads

Hot Threads This Week

Hot Threads This Month