This is a discussion on "layout problem" within the Web Page Design section. This forum, and the thread "layout problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
layout problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
layout problem
Can anyone see why the layout is not working properly please.
This site is hand coded and I have messed up the divs (I think) somewhere. http://www.theglenkens.info/ Mike |
|
|
|
#2
|
|||
|
|||
|
Re: layout problem
It's a width problem somewhere, try setting the width of that middle div to a smaller size, or try floating them all to the left so they'll stack up. I'll have a proper look later I really only skimmed through!
|
|
#3
|
|||
|
|||
|
Re: layout problem
Quote:
I have tried all that you suggest to no avail. I have added dotted lines to the css round all the elements to make it easier to see. Mike Admin: maybe this should be moved the css forum? |
|
#4
|
||||
|
||||
|
Re: layout problem
Yikes. Why in god's name are there conditional tables there? While you're in this stage, I recommend you get rid of those tables and shift your content around to this order:
|
|
#5
|
|||
|
|||
|
Re: layout problem
Quote:
What tables?, this is all pure css - no? or am I missing something? This site is just an experiment only I changed too many things and got lost, it did work properly to start with. Now the middle and right columns are ok but the left column and menu are out. http://www.theglenkens.info/ Mike |
|
#6
|
||||
|
||||
|
Re: layout problem
You're using tables for the dropdown menu.
And in Safari, the left and right side appear to be in place, but the top of the main content is even with the bottom of the side bars. |
|
#7
|
|||
|
|||
|
Re: layout problem
Quote:
I thought safari worked the same as ff, not as ie. should I remove this code? Quote:
|
|
#8
|
|||
|
|||
|
Re: layout problem
Hi all again
OK, I have removed all reference to tables and ie. I have also removed the middle column and both left and right columns are now in the correct positions. Could you please check the code for me in case I have missed something. Mike |
|
#9
|
||||
|
||||
|
Re: layout problem
Remove the conditional comments and the tables. There are plenty of other drop down menu codes out there that don't use tables. There is an example in the CSS forum stick, and you'll find more using Google.
Site looks fine now, but there's no content... Safari and Firefox are very similar, although there are a few minor differences. I personally believe Safari is way better than Firefox for several reasons. Accordingly, it's absolutely nothing like IE |
|
#10
|
|||
|
|||
|
Re: layout problem
Ok, assume I am thick, please explain to me which are the tables. here is the code. (I am not trying to be rude, just to understand)
Quote:
|
|
#11
|
|||
|
|||
|
Re: layout problem
me confuzzled as well...
|
|
#12
|
||||
|
||||
|
Re: layout problem
I was just reiterating my previous post. You had already removed them, sorry for the confusion
|
|
#13
|
|||
|
|||
|
Re: layout problem
My problem is that as soon as I put any content in, column 1 with the menu goes bonkers.
http://www.theglenkens.info/ What have I done wrong? BTW. both the layout and the menu where found using links on webforumz. Mike |
|
#14
|
|||
|
|||
|
Re: layout problem
Mike, I was looking at your code. Is your menu in a separate <div>?
I was trying to figure it out but was struggling. I have been using a <div id="side"> and then putting the <div class="menu"> inside of that. Then you can control where it aligns. Such as top. |
|
#15
|
|||
|
|||
|
Re: layout problem
Hi Linda, I have been struggling with this since last Thursday.
here is the css for the menu (part of the css file) Quote:
Quote:
Mike Last edited by moshe; Feb 12th, 2007 at 11:42. |
|
#16
|
|||
|
|||
|
Re: layout problem
Hi Mike,
I think you need a third column. Insert it after the center column in the html <div id="side"> insert menu here</div> Then your css can be something like this #side { width: 140px; float:left; background-color: #fffffff; margin-left: 10px; } Obviously change the dimensions to what you need. Give that a try and if you continue to struggle, let me know... Last edited by Lchad; Feb 12th, 2007 at 12:21. Reason: color code inserted |
|
#17
|
|||
|
|||
|
Re: layout problem
Hi agin
There are 3 columns http://www.theglenkens.info/ The order so far is: Middle column =Main body content Right column = extras Left column = menu + announce It doesn't really matter, this was just an experiment that went wrong, I can start over it again. Although I would like to understand what went wrong so as tp be able to correct it if it happens on any of my other sites. Mike |
![]() |
| Tags |
| layout |
| Thread Tools | |
|
|