[SOLVED] Annoying.. alignment.

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Dec 9th, 2007, 00:28
Reputable Member
Join Date: Sep 2006
Location: England
Age: 20
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
[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?
Reply With Quote

  #2 (permalink)  
Old Dec 9th, 2007, 00:47
alexgeek's Avatar
Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,769
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
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)
Reply With Quote
  #3 (permalink)  
Old Dec 9th, 2007, 10:19
Reputable Member
Join Date: Sep 2006
Location: England
Age: 20
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #4 (permalink)  
Old Dec 9th, 2007, 11:40
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #5 (permalink)  
Old Dec 9th, 2007, 12:26
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #6 (permalink)  
Old Dec 9th, 2007, 21:44
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #7 (permalink)  
Old Dec 11th, 2007, 11:26
Reputable Member
Join Date: Sep 2006
Location: England
Age: 20
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Annoying.. alignment.

Are you sure? I've reduced it by around 10 pixels and it's still messing up.
Reply With Quote
  #8 (permalink)  
Old Dec 11th, 2007, 21:39
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
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:
Code: Select all
<body>
<div id="bannercontainer">
    <div id="banner"></div>
    <div id="navigation">Homepage - Categories - Submit - About - Contact Us</div>

</div>



<div id="greybar">
    <div id="blackbar"></div>
</div>
<div id="contentcontainer">
<div id="rightside">535</div>
    <div id="welcomeheader"></div>
    <div class="headercontent">
        Welcome to 360sigs, We’re a recentlly launched Xbox360 Gamercard website 
        supplying high quality Xbox360 Gamercards. A Gamercard is a graphic image 
        which will extract information from your Xbox Live account and then display 
        it onto the image. The information it will display will relate to your account, 
        such as your Gamertag, Gamerscore and some of the last games you played! 
        This resource is completely free however you can donate to help keep the site running.
    </div>

    <div id="headerad">
        <script type="text/javascript"><!--
        google_ad_client = "pub-3964916248109659";
        //468x60
        google_ad_slot = "8858277586";
        google_ad_width = 468;
        google_ad_height = 60;
        //--></script>
        <script type="text/javascript"
        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
        </script>
    </div>
    
    <div id="random"></div>
    <div class="headercontent">
        Random Random Random Random Random Random Random Random Random Random
        Random Random Random Random Random Random Random Random Random Random
        Random Random Random Random Random Random Random Random Random Random
        Random Random Random Random Random Random Random Random Random Random
        Random Random Random Random Random Random Random Random Random Random
        Random Random Random Random Random Random Random Random Random Random
        </br></br>

    </div>
    
    <div id="wheresthecard"></div>
    <div class="headercontent">
        So you’re wondering about where the Gamercards are? Well, you can 
        either click one of the Random Categories above or click the ‘Categories’ 
        tab located in the top right. Here you will find an Alphabet browser which 
        you can browse the Gamercards very easyily. Simply click the letter and find 
        a Game which you are interested in, enter your Xbox Live Gamertag and click 
        Generate! You’ll find some easy links below it, simply find the one which 
        suits your need and copy and then paste it where you want it
        (Blog, forum signature or your website).
    </div>
    
</div>
<div id="footer"></div>
</body>
Reply With Quote
  #9 (permalink)  
Old Dec 11th, 2007, 23:07
Reputable Member
Join Date: Sep 2006
Location: England
Age: 20
Posts: 144
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Annoying.. alignment.

Wow, I would've never guessed it was that.

Thanks.
Reply With Quote
  #10 (permalink)  
Old Dec 12th, 2007, 11:15
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Annoying.. alignment.

No problem!
Reply With Quote
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 01:20.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43