HTML for gallery description
Epiklesis
Registered Users Posts: 10 Big grins
Hi ---
I'm trying to paste a Word document into a gallery description. The problem is that all my tabs and indents do not appear when I try to save the text in the description-edit box in my gallery. I assume this is because I need the html code for tab or indent.
I know the html for a carriage return is <br />, and that works with the gallery description. So, I'm assuming there is a brief tab or indent code that I could paste into the text at every line I need to do that with.
Anyone got some advice???
Thanks.
R. Meadows-Rogers
rm-r.smugmug.com
I'm trying to paste a Word document into a gallery description. The problem is that all my tabs and indents do not appear when I try to save the text in the description-edit box in my gallery. I assume this is because I need the html code for tab or indent.
I know the html for a carriage return is <br />, and that works with the gallery description. So, I'm assuming there is a brief tab or indent code that I could paste into the text at every line I need to do that with.
Anyone got some advice???
Thanks.
R. Meadows-Rogers
rm-r.smugmug.com
0
Comments
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Hello, friend ---
You can see the text I'm trying to work with by clicking on "Curriculum Vitae" in the featured galleries on my smugmug home page.
Thanks for the suggestion. However, I saved the Word document as an HTML webpage. Then I opened that up on Word and copied it to the gallery description box, bracketed by <html></html>. However, that resulted in a collapsing of the entire text into one undifferentiated paragraph.
Perhaps I didn't understand about "opening the HTML file in a text editor." I just opened it back up in Word. Also, I'm such an HTML neophyte that I don't know what you mean by "get out just the part inside the <body> tag."
If you have the patience to deal with my beginner's issues, I'd love to hear whatever further advice you have!
Thanks so much.
Rob Meadows-Rogers
When I say open it in a text editor, I mean something like Notepad. You can't open it in Word to do what we need. We need something that will just show you the RAW HTML that you saved it to. You will know when you have it open in a text editor because you should see all sorts of HTML tags. You can then search for the <body> tag and copy everything between the <body> tag and the </body> tag to the clipboard and then paste that into your page. Remember, if you want Smugmug to treat it is real HTML, you need to preceed it with <html> and end it with </html>.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
Hi, John ---
Thanks so much for your suggestions. The text in the description box of the "Curriculum Vitae" Featured Gallery on my smugmug homepage is so much better now! There are just a couple of glitches I still need to work out in terms of appearance.
Could I write you back later and ask some more questions? (I tinkered around with the HTML commands in the edit box for the gallery description, and I was actually able to fix some of the problems myself! I couldn't quite believe it.)
Again, my smugmug home page is rm-r.smugmug.com.
All the best,
Rob M-R
I'm glad it's working better now. If you have more questions, just post them to this thread.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question