View Full Version : align: left
winnjewett
Apr-29-2005, 09:09 AM
I have aligned my smugmug page left. I prefer this to centered, but the text at the very bottom that says "portions copyright smugmug, etc..." remains aligned centered. Can any of you think of a way around this?
Sample Page (http://photography.brilliantphoton.com/gallery/487243/1/19871017/Large)
Thanks,
Winn
Mike Lane
Apr-30-2005, 03:37 PM
I have aligned my smugmug page left. I prefer this to centered, but the text at the very bottom that says "portions copyright smugmug, etc..." remains aligned centered. Can any of you think of a way around this?
Sample Page (http://photography.brilliantphoton.com/gallery/487243/1/19871017/Large)
Thanks,
Winn
How about copying the source and reinserting it as your footer except change the table declaration from align="center" to align="left"?
Mike
Andy
Apr-30-2005, 03:50 PM
winn, it looks fine to me?
http://williams.smugmug.com/photos/20908170-L.jpg
winnjewett
Apr-30-2005, 05:12 PM
winn, it looks fine to me? Aah, You bring up a good point, Andy. When the browser window is small, smugmug's text looks as it should. But when it is large, it centers to the browser window, and not the content.
-winn
http://brilliantphoton.com/forums/smugmug_powered.jpg
Andy
Apr-30-2005, 05:15 PM
Aah, You bring up a good point, Andy. When the browser window is small, smugmug's text looks as it should. But when it is large, it centers to the browser window, and not the content.
-winn
yup. and i rather like websites where everything moves in a centered fashion, as i size my windows wider or narrower.
i'd leave things centered.
cheers
Mike Lane
Jun-07-2005, 09:25 PM
Okay, winn, can you please explain how you aligned your site to the left? I was looking all around everywhere and I can't for the life of me find out how you did it. Further, I can't figure out how to do it period since we can't manipulate the table tag.
Your site looks great by the way.
Edit: Wait, are you using asp and the SM APIs to make your page?
winnjewett
Jun-07-2005, 10:03 PM
Okay, winn, can you please explain how you aligned your site to the left? I was looking all around everywhere and I can't for the life of me find out how you did it. Further, I can't figure out how to do it period since we can't manipulate the table tag.
Your site looks great by the way.
Edit: Wait, are you using asp and the SM APIs to make your page?
Mike, thanks for the compliment. It is actually quite simple to align your entire sm site to the left. If you simply start a table in the header, and end the table in the footer, it will default to align left (this is probably why you couldn't find where I specified the left align). Be sure to include the other tags as well. Example:
header: <table><tr><td>
footer: </td></tr></table>
I'm sure there are other ways as well, but this should work. Best of luck.
-winn
TraceyH
Jul-07-2005, 09:34 PM
Hi,
I am trying to center the entire template also for http://jenniferhammond.smugmug.com
Has anyone got any tips on how to do this? I have already tried using the <div align="center"></div> tags but it doesn't work... Basically there should be an equal amount of blue space on either side of the content on all pages.
Any tips would be appreciated!
eta: I already did do some searching on the topic, so I apologise if it's already been explained!
Rohirrim
Jul-07-2005, 10:20 PM
To center everything on your site you can use the {text-align: center;} CSS tag in your cobrand settings. The CSS Should look something like this:
body {text-align: center;}
IMHO it is better to stick with W3C (http://www.w3.org/) guidelines and don't use tables for formatting webpages. Style sheets are the way to go!
TraceyH
Jul-07-2005, 10:47 PM
thanks, i'm actually referring to the tables, moreso than the actual text. text is fine to be left aligned :)
i will look into using stylesheets for the account though, it might be easier in the long run
onethumb
Jul-07-2005, 11:05 PM
thanks, i'm actually referring to the tables, moreso than the actual text. text is fine to be left aligned :)
i will look into using stylesheets for the account though, it might be easier in the long run
FYI, smugmug is moving towards 100% CSS-driven layouts. No more tables.
More info on Phase 1 here: http://www.dgrin.com/showthread.php?t=14509
Don
TraceyH
Jul-07-2005, 11:08 PM
thanks for that :) i'll keep an eye on it
Rohirrim
Jul-08-2005, 05:54 AM
Someone more knowledgable may need to help you, but it appears that you have some of your <div's> positioned absolutely. If those are the ones you want centered, you may not be able to get that done, unless you make them relatively positioned.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.