|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
0-for-9, journal help
I have a page forced to "journal", that is 100% text (klarphotography.com).
I want to have the "album description box" (where the text is located) wider and centered. I've found several flavors of code to do so, but none are working - all make it wider, but by forcing the "box" to increase in size to the right. how do you center the box? get the left margin to budge? (I'm using Allen's "journal" code to create the page.) thanks, matt |
|
|
|
|
#2
|
|
|
Scripting dude-volunteer
|
You are much more likely to get help if you post a complete link to the page you are asking for help with.
__________________
--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
|
||
|
Big grins
|
Quote:
http://www.klarphotography.com/gallery/7487142_gNedY how do you get it to center? |
|
|
|
||
|
#4
|
||
|
Scripting dude-volunteer
|
Quote:
__________________
--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 |
|
|
|
||
|
#5
|
|
|
Big grins
|
waving you off now - I got a reply from "help"
it seems the Journal style is width-limited. to increase the width, float, and center you have to force the style to something other than "journal". "smugmug" works fine. matt |
|
|
|
|
#6
|
|
|
"tweak 'til it squeaks"
|
Like John said, which one of your galleries? Framing gallery is the only one
that looks wider.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
|
#7
|
||
|
Scripting dude-volunteer
|
Quote:
__________________
--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 |
|
|
|
||
|
#8
|
||
|
"tweak 'til it squeaks"
|
Quote:
.gallery_7487142 #journal, .gallery_7487142 #albumDescription { margin: 0 auto; width: 950px; } But do you realize how hard it is to read very longs lines of text.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#9
|
||
|
Big grins
|
Quote:
how do you hide the photo in smugmug ? (your journal-hide-photo code doesn't do it on smugmug style) thanks matt |
|
|
|
||
|
#10
|
||
|
Big grins
|
Quote:
the code above is exactly what is currently in my CSS - it appears not to center in journal. it will center in smugmug sytle, but the pics can't be hidden. seems I need to choose one or the other ;) |
|
|
|
||
|
#11
|
||
|
"tweak 'til it squeaks"
|
Quote:
.notLoggedIn .gallery_xxxxxxxx #photos {display:none;} Hiding others things is probably different also.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#12
|
||
|
"tweak 'til it squeaks"
|
Quote:
Code:
.gallery_7487142 #albumDescription {
width: 900px;
margin: 0 auto;
/* gap from navbar at top */
border: 1px solid #FFAA00;
background: #242424; /* background of description box */
padding: 20px 20px 20px 20px; /* top right bottom left */
} /* spacing inside box from edges */
.gallery_7487142 #journal {
width: 900px;
margin: 0 auto;
}
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#13
|
||
|
Big grins
|
Quote:
thanks for your help! matt |
|
|
|
||
| Tell The World! | |
| Thread Tools | |
| Display Modes | |
|
|