Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 02-22-2007, 08:14 AM Dreamweaver Help!
Junior Talker

Posts: 15
Trades: 0
Ok so essentially I want a site that is centered (ex: see my forum post4cash.net/forums)

Problem is, Dreamweaver seems to want nothing more than to keep me from achieving this goal :censored: :censored: :blink: :censored: :censored:

I am using the layer system, because I have multiple levels of images that need to overlap, however I can't make all of them auto-center to the browser relative to eachother and still overlap correctly.

Also, I have tried changing the position from absolute to relative in the CSS but that doesn't help...it just removes the possibility to overlap. On top of that, I tried using one layer as a "parent" layer and centering all of the content inside (so that it would stay relative) but that didn't work either....

There has to be SOME EASY WAY that I can just make it so my website is centered...ALL aspects of it but as of right now it's just killing me cause nothing is working!!!
evilknny9 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-22-2007, 10:56 PM
$100 - $999 Monthly

Posts: 29
Trades: 0
Do you have an example? It's to difficult to understand what you are trying to do with the overlapping.
cayetano25 is offline
Reply With Quote
View Public Profile
 
Old 02-23-2007, 12:44 AM
Junior Talker

Posts: 15
Trades: 0
Best example I can give you is that I have a background pattern, an image that all the content rests on, and then a flash navigation bar. I need all to sit on top of eachother in their respective positions but automatically center to the browser window.
evilknny9 is offline
Reply With Quote
View Public Profile
 
Old 02-24-2007, 10:18 AM
Junior Talker

Posts: 1
Trades: 0
Create a Layout table. Set its align attribute to center.

Then set its background to the image that you want for the background.

Insert your flash.

Should work
paladine is offline
Reply With Quote
View Public Profile
 
Old 02-24-2007, 12:00 PM
Super Talker

Posts: 117
Trades: 0
I don't know how you could do it with absolutely positioned elements. I'm pretty sure that if you use css's z-index with relatively positioned elements then they will be able to overlap.

You need to find some experts on a Dreamweaver forum to help you, or learn html and css.

<opinion>If you use a "WYSIWYG" editor (which is often not wysiwyg), you'll eventually run into something that it can't do. Besides that they generate bloated code, that, a lot of the time, isn't standards-compliant. People play around with them and claim that they're a "web designer" and make stuff that looks hideous. (Of course, they also usually know nothing about seo or marketing, so nobody visits their sites anyway... ) So if you're serious, you need to learn html, css, and maybe some php too.</opinion>
__________________
Make flash movies and games with free, open-source software:
Please login or register to view this content. Registration is FREE
.
gopher292 is offline
Reply With Quote
View Public Profile
 
Old 02-25-2007, 10:22 AM
Junior Talker

Posts: 15
Trades: 0
lol I think you have the wrong impression of me here... I know html, css, php, perl, javascript, so i'm hardly a "noob" here, I was just having a problem with Dreamweaver as an application. Ultimately though, I got down to the css and wrote my own little piece of code, with which I managed to successfully solve my problem
evilknny9 is offline
Reply With Quote
View Public Profile
 
Old 02-25-2007, 02:47 PM
imported_junjun's Avatar
$100 - $999 Monthly

Posts: 44
Trades: 0
Do what pala says. Make a control/layout table (or div), that is centered, and place all your stuff inside it. Make sure the layout table has position relative, then all your absolutely positioned elements inside it will work just fine.
__________________
Dreamweaver User?

Please login or register to view this content. Registration is FREE
imported_junjun is offline
Reply With Quote
View Public Profile
 
Old 02-25-2007, 07:40 PM
Junior Talker

Posts: 15
Trades: 0
yeah I managed to get it to work, I just made 1 big ABSOLUTE layer (before I was trying relative) and did a little CSS work, and now it works perfectly
evilknny9 is offline
Reply With Quote
View Public Profile
 
Old 04-02-2007, 09:42 AM
imported_junjun's Avatar
$100 - $999 Monthly

Posts: 44
Trades: 0
The one large absolutely positioned layer is most likely redundant. If you post your code we can optimize it.
__________________
Dreamweaver User?

Please login or register to view this content. Registration is FREE
imported_junjun is offline
Reply With Quote
View Public Profile
 
Old 04-04-2007, 01:39 PM
Ultra Talker

Posts: 406
Trades: 4
there's 0 need for abs positioning here.

<div id="container">
<div id="menu">
<div id="flash"><object ///// flash here ></div>
</div>
</div>


#container { margin: 0 auto 0 auto; }
#menu { background: url(/images/bg.gif) repeat-x; }
#flash { background: trasnparent; }
briansol is offline
Reply With Quote
View Public Profile Visit briansol's homepage!
 
Old 05-08-2007, 03:17 PM
Junior Talker

Posts: 19
Trades: 0
simplebits.com/notebook/2004/09/08/centering.html

There's a good tutorial for CSS centering.

also, briansol, there's a typo in your code.. :0
Tetsuo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Dreamweaver Help!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.82581 seconds with 12 queries