Thread: Layout alignment problem
Results 1 to 15 of 17
Related
-
alignment problem Forum: HTML Forum
Replies: 10 -
Need help with Alignment problem for two column layout Forum: CSS Forum
Replies: 5 -
Strange Problem (layout) Forum: Myspace Forum
Replies: 2 -
CSS alignment problem Forum: CSS Forum
Replies: 5 -
Image alignment problem on flexi page Forum: HTML Forum
Replies: 1
-
02-26-2009, 10:34 AM #1
Layout alignment problem
Hi im new, and ive been working on this layout evannalynchfans.com/layouttest/, the problem I have (is probably a very basic one to you) is that the alignment is to the left, could you tell me what to do to get it to the center, I have a 1600 resolution screen so I have to keep on changing to see it in the 1024 standard, but it always appears to the left. Help please!
-
02-26-2009, 02:51 PM #2
Re: Layout alignment problem
<img src="main copy.jpg" usemap="#main" alt="" border="0" style="position:absolute; top:0px; left:0px;" />
This is overriding your div I believe.
Dave
-
02-26-2009, 02:52 PM #3
Re: Layout alignment problem
So what do I do? just delete that bit?
-
02-26-2009, 03:08 PM #4
Re: Layout alignment problem
Looks like a good place to start, though I do admit that positioning with CSS is not a strong point of mine.
-
02-26-2009, 03:16 PM #5
Re: Layout alignment problem
Im afraid all that does is move the banner image out of alignment.
-
02-26-2009, 03:27 PM #6
Re: Layout alignment problem
Try setting a wrapper div around everything in the page. (start immediately after <body> and end right before </body>). Then set its width, set position: relative, and margin: 0 auto; Let me know if that helps.
-
02-26-2009, 03:34 PM #7
Re: Layout alignment problem
Sorry, I dont mean to be a nuisance but could you tell me exactly the code to write.
-
02-26-2009, 03:39 PM #8
Re: Layout alignment problem
Code:<body> <div id="wrapper" style="width:1119px;position:relative;margin: 0 auto;"> ........ </div> </body>
-
02-26-2009, 03:44 PM #9
Re: Layout alignment problem
Thanks but it still didn't solve the problem.
-
02-26-2009, 03:57 PM #10
Re: Layout alignment problem
Change the line to <div id="wrapper" style="width:1119px;position:relative;margin: 0 auto;border:1px solid #000;"> to see if the div is actually centering and something else is messing it up, or if it is not centering at all.
-
02-26-2009, 04:04 PM #11
Re: Layout alignment problem
Nope everything just goes all over the place.
-
02-26-2009, 04:51 PM #12
Re: Layout alignment problem
I had a few minutes to look at it a bit more closely. I think you should be happy with it on the left. There are quite a few changes that will need to be made to the CSS in order to center it starting with the div I gave you. You will need to work from the outside in.
-
02-26-2009, 04:53 PM #13
Re: Layout alignment problem
Is there anyway you would be able to do it for me? pm me if so.
-
02-26-2009, 05:13 PM #14
Re: Layout alignment problem
pm sent
-
02-26-2009, 06:01 PM #15
Re: Layout alignment problem
Anyone else know of any solutions?
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum