Discuss website design for ecommerce sites, useability, navigation and other development considerations. To get feedback on your t-shirt design(s) or website, please post a request in our Site Reviews and Design Reviews section here.
It looks centered when you open the page first, but I think what psonio wants is that if one was to grab the browser's edge and adjust the size, the site design would stay centered in the browser. This is not the case. I am not sure how to do this. I use Net Object Fusion for web design. Is there anyone with the talent with Dreamweaver out there that can help with this?
__________________ Dirty Jerseys "making US a little bit dirtier" www.DirtyJerseys.com
I wish i had come across these forums way before i started my site. I have a site going at psonio.gr with spreadshirt.
I am using Dreamweaver 8 and i am trying to figure out how to make the whole site center, no matter the user's resolution. Can someone help?
Thanks in advance.
Yes, it appears centered, because I have used a table cell object on the left. But if you resize or use a different resolution, it will not be centered. I need something that will center relative to the browser window. I am assuming it might have to do with the page properties.
As for the skills needed to do this in Dreamweaver, it's not that hard, but it takes some getting used to the software. I tried to use GoLive as well, and found it much more difficult. Frontpage just sucks.
another option to try. Look at a site that successfully has the thing centered, then copy the source code, paste it into the dreamweaver document, then delete what you don't want.
Maybe my webdesign skills are rather dreadful, so i didn't get it to work. I looked into the source code of some web2.0 sites to try to see how they are centered, but no dice.
Maybe my webdesign skills are rather dreadful, so i didn't get it to work. I looked into the source code of some web2.0 sites to try to see how they are centered, but no dice.
I wish i had come across these forums way before i started my site. I have a site going at psonio.gr with spreadshirt.
I am using Dreamweaver 8 and i am trying to figure out how to make the whole site center, no matter the user's resolution. Can someone help?
Thanks in advance.
In most browsers, the site is probably already centered and working just fine. I haven't studied previous suggestions in detail, but from the ones I have looked at, they seem to suggest general ways of centering content, but unfortunatelly not considering the particulars in your explicit code. (if I missed someone who actually did that, I'm sorry).
The site was not made in Dreamweaver from the start, but in Microsoft Frontpage or some other MS application. This program has created some oddities that some browsers might react on.
The first thing is that you should have a correct Doctype definition. At the very top of the documents, delete this:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0024)http://www.fushirts.net/ -->
and replace with this:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Next is to move the width attribute to a place where it can make things happen. Right now, it's in the nested table's cell, which might make some browsers render the centering wrong. Delete the first 4-5 lines after the opening body tag:
(you had a width of 800 pixels before, but I think you ought to have less to allow space for scroll bars, etc. I put 770, but you might change to 760 ot even 750 if you like).
Lastly, the program didn't put parenthesis around the attributes (padding, width, cellspacing, etc). Most browsers accept them anyway, but it's a good thing to always do that. So, the above should be:
I'm not sure if this applies to any of your questions, but when I export a website with cells via Photoshop, all I do to center the images within the cells on the page is:
1. Press (Control + A) - Windows / (Apple + A) - Mac in Dreamweaver
2. Go into the Properties menu and hit the 'Center Align' button.
That works for me whenever I need objects within cells centered. If that doesn't work, try selecting individual cells and repeating step two. Hope this helps/pertains to anyone
... considering the particulars in your explicit code...
Thank you Dan!
I actually tried to reply earlier, thanking you, but I think I screwed up and it wasn't posted. I looked at your site as well, and noticed that you offer web design. I might have some work for you when i decide to make my sites more complex.
Last edited by Rodney; October 23rd, 2006 at 05:24 PM.
Reason: removed service request info - please ask quote type questions "off board" via Private Message (PM) or email :)
I actually tried to reply earlier, thanking you, but I think I screwed up and it wasn't posted. I looked at your site as well, and noticed that you offer web design. I might have some work for you when i decide to make my sites more complex.
No probs.
If you eventually need help, please do as Rod suggests; send me a PM and we'll take it from there.