Best way to center text block on Page?
ajava
Registered Users Posts: 124 Major grins
If you look at this page on my site: http://ajava.smugmug.com/Venues
...you'll see that the text block is not centered on the page. That bugs me.
I found out that the best solution would be to use an HTML block, instead of a Text block.
Does anybody know what that kind of list structure is called in HTML, so that I can look it up and code it to look that way? I tried using a table, but the results were not what I expected. And the coding was very tedious.
Is there a better way to accomplish this?
...you'll see that the text block is not centered on the page. That bugs me.
I found out that the best solution would be to use an HTML block, instead of a Text block.
Does anybody know what that kind of list structure is called in HTML, so that I can look it up and code it to look that way? I tried using a table, but the results were not what I expected. And the coding was very tedious.
Is there a better way to accomplish this?
0
Comments
recommend putting it in a page specific CSS block.
My Website index | My Blog
I just took a look at your site - your work (and your site) is beautiful.
Just a heads up... I noticed that you have Originals enabled on your galleries. That means that anyone who wants to can download your images for free. I don't know if that's what you intended - if it's not you should choose anything other than Original as the largest display image size. (The Originals will always be used for printing.)
You might be interested in the first post of the thread ORIGINALS = a gateway to free photos, & right click protection is NOT PROTECTION.
--- Denise
Musings & ramblings at https://denisegoldberg.blogspot.com
Andrea
www.winterwoodphotography.com
Where should I put that code, exactly? Do you mean I keep the text block as-is, and that code somehow centers things? Thanks!!
Andrea
www.winterwoodphotography.com
Or highlight "entire site" and add it to that CSS block.
Nothing changes in your text block.
Might want to add a comment to the CSS so you know where it's used.
/* Venues page */
My Website index | My Blog
I tried the code offered above and it centered all the lines of text. You would not need this code in the CSS if all you need to do is set the margins of the content block