Guest fubar::chi Posted September 19, 2003 Report Share Posted September 19, 2003 me and some other peopel ( i forget who) were talking on mub the other day and someone asked (prolly scoopy) how to put paragraph indents into an html file. Someone else (maybe LiquidZoo) and me said it couldn't be done with spaces. We were right, but we were wrong. CSS! That beautiful, magical wonderful thing brought to us by thw W3C can do it too! I was checking http://www.w3schools.com/ after wurfing around the Master's trinity and came upon the link. here's how it's done p { text-indent: 1cm; } you can do it in px, em, in and whatever else you want but there you have it. An indented paragraph by css Quote Link to comment Share on other sites More sharing options...
anomaly Posted September 21, 2003 Report Share Posted September 21, 2003 Why not just use 's Quote Link to comment Share on other sites More sharing options...
illogic-al Posted September 21, 2003 Report Share Posted September 21, 2003 because css is the way man. far ouuuuuuuuuut. and because css makes it easier. Quote Link to comment Share on other sites More sharing options...
mystified Posted September 21, 2003 Report Share Posted September 21, 2003 I just read about that myself last night! But for some reason css doesn't like me. I insert the code exactly the way I'm supposed to and it still won't work half the time. Quote Link to comment Share on other sites More sharing options...
illogic-al Posted September 21, 2003 Report Share Posted September 21, 2003 just checked and realized it doesn't work for me either. it only works when placed between the head tags <head> p { text-indent: 1cm; } </head> Quote Link to comment Share on other sites More sharing options...
illogic-al Posted September 21, 2003 Report Share Posted September 21, 2003 actually it does work. I was linked to the wrong style sheet which is why it wouldn't show up unless i did an inline style. I can't however seem to get this to work background-image: url() could anyone try this and see if its supported. Quote Link to comment Share on other sites More sharing options...
scoopy Posted September 21, 2003 Report Share Posted September 21, 2003 check this page out: http://www.w3schools.com/css/css_background.asp It gives all the specifics and examples on how it works. Try using konq, I have been having problems with mozilla... It is not supported in netscape 4, but I think should work with a newer mozilla... haven't quite figured out my problem yet. Quote Link to comment Share on other sites More sharing options...
illogic-al Posted September 21, 2003 Report Share Posted September 21, 2003 that's what i was looking at. i can't get it to display in konqueror or mozilla though. What I'm trying to do is set the background of a <th> header but it won't work wherever i put it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.