This is a discussion on "Layout not aligning properly" within the Web Page Design section. This forum, and the thread "Layout not aligning properly are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Layout not aligning properly
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Layout not aligning properly
Hi, I'm trying to get some of my parts of my site to align properly and its just not happening. Link to website
It should look like this: Link to image HTML
Last edited by casho; Feb 11th, 2008 at 09:03. |
|
|
|
|||
|
Re: Layout not aligning properly
Had a quick look and to be honest its a bit of a mess. Start by checking all your divs are closed and perhaps remove your google adds until you get your layout correct.
hope this helps. Pat |
|
||||
|
Re: Layout not aligning properly
you have 15 errors in your html that you need to sort out.
the two most obvious ones are : Line 4, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml. <html> Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> Line 41, Column 7: end tag for element "scrip" which is not open. </scrip> The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: Layout not aligning properly
I've sorted some stuff out but it still don't know what to do.
|
|
||||
|
Re: Layout not aligning properly
although my magic 8 ball is pretty good when it comes to most questions, asking it to produce amended code gets it a bit confused.
can you either repost the amended code, or a link please. thanks
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: Layout not aligning properly
Some of the errors in the Validation don't make sense to me.
|
|
|||
|
Re: Layout not aligning properly
Link to site
Html
|
|
||||
|
Re: Layout not aligning properly
I don't ususally do this, but try the following:
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: Layout not aligning properly
Thanks but I still don't know how to fix my layout. Oh and there always going to be a least 4 errors sine I don't add the code at the end.
Last edited by casho; Feb 11th, 2008 at 09:49. |
|
|||
|
Re: Layout not aligning properly
I would restart this project. At this time all your div's are basically all aligned along the left margin.
This is just a simple 2 column design. The logo and navigation in one column and the content in the second column. I honestly can't redo this the way it is now because it's too confusing. Check this out as a starting point. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Aligning box to right | fr33sty13 | Web Page Design | 8 | Jun 6th, 2008 03:49 |
| CSS Aligning | Wesley | Web Page Design | 15 | Jan 20th, 2008 19:49 |
| GD Aligning? | PicoDeath | PHP Forum | 3 | Aug 2nd, 2007 16:14 |
| Can't add a div box properly to my page. | Moonlilly | Starting Out | 1 | Feb 26th, 2007 20:38 |
| Netscape won't display properly | Moonlilly | Starting Out | 9 | Feb 7th, 2007 00:43 |