ZooM Posted April 28, 2005 Report Share Posted April 28, 2005 Нужно сделать отступ текста с левого края страницы. Не могу разобраться как это делается. Пробовал на CSS но почему то ничего не получается. Link to comment Share on other sites More sharing options...
abram4 Posted April 28, 2005 Report Share Posted April 28, 2005 Попробуй поиграть с margin-left Link to comment Share on other sites More sharing options...
Darhazer Posted April 28, 2005 Report Share Posted April 28, 2005 Или если у тебе текст в <div> или в таблице: "padding: top right bottom left" Link to comment Share on other sites More sharing options...
Guro Posted June 17, 2005 Report Share Posted June 17, 2005 Надо сделать отступ первой строки или всего текста? В CSS отступ первой строки выглядит вот так <html><style type="text/css">P {text-indent: 20pt;} </style><body><p>Привет!<br>Привет!</p></body></html> А если надо весь текст сдвинуть, то лучше воспользоваться div-ом или просто таблицу нарисовать с пустой левой колонкой. Link to comment Share on other sites More sharing options...
Gray Angel Posted June 19, 2005 Report Share Posted June 19, 2005 Если надо отступ красной строки, то я обычно вставляю в html код, там где надо (символ пробела) раза три четыре Link to comment Share on other sites More sharing options...
altvim Posted June 19, 2005 Report Share Posted June 19, 2005 Gray Angel: Если надо отступ красной строки, то я обычно вставляю в html код, там где надо для этого есть тег <dd> а через CSS как сказал Guro Link to comment Share on other sites More sharing options...
eXploit Posted June 19, 2005 Report Share Posted June 19, 2005 А чем не подходит ? в качестве пробела .. Link to comment Share on other sites More sharing options...
Rulchik Posted June 20, 2005 Report Share Posted June 20, 2005 Gray Angel & eXploit: Пробелы подходят только в случае выравнивания текста по левому краю. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now