This is a discussion on "[SOLVED] Annoying.. alignment." within the Web Page Design section. This forum, and the thread "[SOLVED] Annoying.. alignment. are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Annoying.. alignment.
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] Annoying.. alignment.
Once again, I got a small issue with aligning my navs.
I never really do sites this way(rows for content, if you get me). So, I'm unclear on how to fix it. http://www.360sigs.com/360sigslayoutnew/ http://www.360sigs.com/360sigslayoutnew/style.css How come the navigation on the right hand side starts when the main content ends? |
|
|
|
#2
|
||||
|
||||
|
Re: Annoying.. alignment.
Change the bold in the following from right to left. Should fix your problem.
#navigation{ width: 705px; height: 11px; padding: 8px; margin: auto; text-align: right; background-image: url(images/navigationbg.gif); background-repeat: no-repeat; }
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
|||
|
|||
|
Re: Annoying.. alignment.
Think you're looking at the wrong thing, just right of all the text there's a different coloured box, why is aligned with 'Wheres My Gamercard' I want it moved up.
|
|
#4
|
|||
|
|||
|
Re: Annoying.. alignment.
There isn't enough room for the div's to align side by side. Either reduce the right column div by a few pixels, or reduce the size of the subheading graphics "what now.gif" by a few pixels.
The easier solution is just to reduce the "rightside div" by a pixel or two or three until it rises up. |
|
#5
|
||||
|
||||
|
Re: Annoying.. alignment.
Yar, Lchad probably has it. I haven't counted up pixels, but suspect #1 is that you simply have too many of the little buggers in the #rightside div.
If you want to avoid this problem, try using percentage widths for all internal divs. Another possible problem (now or in the future) is the Google ad pushing the column width; these can cause multiple width instructions. I suggest you take out any horizontal margins/padding from div's holding exterior formatting (such as an ad) until the page works correctly. Also, if you mix float directions, you can run into unanticipated problems. If I can make a suggestion, float the columns in the same direction until the page renders correctly in all browsers. Then if you want to float the right column to the right for fine-tuning, you can do it from a position of full control. Last edited by masonbarge; Dec 9th, 2007 at 12:28. |
|
#6
|
|||
|
|||
|
Re: Annoying.. alignment.
if you remove float:right from #rightside that will allow it to ride to the top you could then add margin-top:2px; or whatever you want to position it.
|
|
#7
|
|||
|
|||
|
Re: Annoying.. alignment.
Are you sure? I've reduced it by around 10 pixels and it's still messing up.
|
|
#8
|
|||
|
|||
|
Re: Annoying.. alignment.
Hey Picodeath.. looks like the order of the html was giving you problems.
Instead of having the #rightside div after all the left column divs, I moved it up and now it seems to be working. See code in red below:
|
|
#9
|
|||
|
|||
|
Re: Annoying.. alignment.
Wow, I would've never guessed it was that.
Thanks. |
|
#10
|
|||
|
|||
|
Re: Annoying.. alignment.
No problem!
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] CSS Alignment Issue | AaronSmith | Web Page Design | 5 | Jan 23rd, 2008 14:21 |
| [SOLVED] a span alignment | pesho318i | Web Page Design | 7 | Dec 12th, 2007 08:36 |
| [SOLVED] Cross browser alignment | Mulith | Starting Out | 12 | Nov 14th, 2007 04:07 |
| This ImageMap is annoying me! | Dapandyman | JavaScript Forum | 2 | Nov 14th, 2006 20:02 |
| very annoying DATES | benbacardi | Classic ASP | 15 | May 26th, 2005 12:51 |