|
|
Thread Tools | Display Modes |
|
#1
|
|
|
1st time businessman
|
Text page centered
I am working on a text page that I want to center the text but everything is left justified for some reason. What am I doing incorrectly? Here is a link to the test page...
http://www.pullumphotography.com/Oth...15606050_PZw7r I eventually want to use it to replace the image on this following page... http://www.pullumphotography.com/gal...70432696_mgxuo |
|
|
|
|
#2
|
|
|
Scripting dude-volunteer
|
I don't see any commands to center anything in that gallery. You can center all the text in that gallery description with this CSS:
.gallery_15606050 #albumDescription {text-align: center;}
__________________
--John Homepage Popular JFriend's javascript customizations Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
|
#3
|
|
|
1st time businessman
|
Thanks jfriend, that worked. I thought the text could be controlled within the <p> tags since it is straight HTML that is entered into the page (copied and paste from a HTML online creater with some modification).
I want to modify the unordered list being centered but left justified. And at the bottom with the photobooks, canvas, etc...I want to single space those. |
|
|
|
|
#4
|
|
|
1st time businessman
|
I fixed the unorderl list, now working on the bottom elements that I'm using the br tags with.
|
|
|
|
|
#5
|
|
|
1st time businessman
|
I'm trying to define the line-height in the css to control the space between paragraphs...any ideas?
|
|
|
|
|
#6
|
|
|
Scripting dude-volunteer
|
All I see now is an image in the above referenced gallery so I can't really advise you on the line spacing. That's easy to change, but you'd have to put the text back.
__________________
--John Homepage Popular JFriend's javascript customizations Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
|
#7
|
|
|
1st time businessman
|
|
|
|
|
|
#8
|
|
|
1st time businessman
|
I got the text back. Now how do I get rid of the pic (its a virtual copy from another gallery)?
|
|
|
|
|
#9
|
||
|
Scripting dude-volunteer
|
Quote:
.gallery_15606050 #photos, .gallery_15606050 .albumNav {display: none;} I don't understand what you want to do with linespacing. What I see is that you have a lot of <br> tags that are making multiple line spacing. You can add or remove those to get more or less spacing.
__________________
--John Homepage Popular JFriend's javascript customizations Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#10
|
||
|
1st time businessman
|
Quote:
.gallery_15606050 li { line-height: 5px; } I was wondering if it was the same type of styling property for <br> and <p> Also I was trying make the last 3 lines appear single space (where the <br> tags are located) |
|
|
|
||
|
#11
|
||
|
Scripting dude-volunteer
|
Quote:
You can use HTML like <p style="line-height: 120%;"> to insert a line break and add a little extra space between lines. Using percent is useful because it's relative to the font height so it adjusts automatically if you change font size.
__________________
--John Homepage Popular JFriend's javascript customizations Secrets for getting fast answers on Dgrin Always include a link to your site when posting a question |
|
|
|
||
|
#12
|
|
|
Big grins
|
place your text left text-align: left !important; thats looks better
.gallery_15606050 #my_header-wrapper { margin: 0 auto; } .gallery_15606050 #albumDescription { font-family: arial,helvetica,sans-serif; font-size: 20px; text-align: center; text-align: left; } peter |
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| Navbar that shows which link is the current page | jfriend | SmugMug Customization | 485 | May-02-2013 09:19 PM | |
| Customizing for Dummies - Chapter 4!!! | Mike Lane | SmugMug Customization | 36 | Aug-18-2009 12:51 AM | |
| Create links to text on a page? | Markjay | SmugMug Customization | 2 | Apr-11-2008 07:17 AM | |
| Allen's tutorial.... | Mississippi Gator | SmugMug Customization | 5 | Mar-26-2008 04:09 PM | |
| Photo quality and text not centered on comments only page | solarx | SmugMug Customization | 0 | Mar-11-2008 04:14 PM | |
| Thread Tools | |
| Display Modes | |
|
|