Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

[SOLVED] Alignment Issues

This is a discussion on "[SOLVED] Alignment Issues" within the Web Page Design section. This forum, and the thread "[SOLVED] Alignment Issues are both part of the Design Your Website category.


 Subscribe in a reader

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

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 1st, 2008, 13:53
Junior Member
Join Date: May 2008
Location: Ireland
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Alignment Issues

Hi,
I'm currently putting together a few frontpage examples and have run into a few alignment issues. If anyone has some input it would be great!

First: <hr /> won't align center in Firefox but will in IE. I have searched google and changed the css to several different hr styles without any luck. I have also played around with where I'm using clear: both;

Second: I'm starting to notice differences in the IE and FF alignment around the address and contact details as well as the jobs search area. I can't see why this is the case.

Thanks
Denis

Edit: Apologies meant to post the link: http://www.bjmarine.net/ambassador

Last edited by drhoctor; Jul 1st, 2008 at 14:10.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old Jul 1st, 2008, 14:18
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Alignment Issues

The HR tag is depreciated. Use css. Something like

Code: Select all
.hRule {height:1px background:#CCCCCC; overflow:hidden;}
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)

Last edited by moojoo; Jul 1st, 2008 at 14:19. Reason: Changed ID to Class.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 1st, 2008, 14:28
Junior Member
Join Date: May 2008
Location: Ireland
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Alignment Issues

Thanks for the input. I tried;

HTML: Select all
<div class="line"></div>
Code: Select all
.line {
    height:1px 
    background:#9E9E9E;
    overflow:hidden;
    color: #9E9E9E;
    background-color: #9E9E9E;
}
and got a fat line in IE but nothing in FF

Last edited by CloudedVision; Jul 1st, 2008 at 15:23. Reason: Code and HTML tags, please
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 1st, 2008, 14:33
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Alignment Issues

try .line {height:1px; border-bottom:1px solid #9E9E9E;}

<div class="line">&nbsp;</div>
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jul 1st, 2008, 14:39
Junior Member
Join Date: May 2008
Location: Ireland
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Alignment Issues

Thats back to what I had with the <hr> on the site I have live, where the line is not centering like it does in IE.
Edit: I have tried 'text-align: center;' without any luck
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jul 1st, 2008, 14:52
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Alignment Issues

It should fill the width of its parent, you can give it margins and/or a width and use margin:0 auto; etc etc.. if its not working then something else is causing the issue.

Basically if you toss that in a div and give it say margin:0 12px 0 12px; it should center by default.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jul 1st, 2008, 14:59
Junior Member
Join Date: May 2008
Location: Ireland
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Alignment Issues

Perfect, thanks for that
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jul 1st, 2008, 15:02
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Alignment Issues

hehe so that mean it works now?
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jul 1st, 2008, 15:05
Junior Member
Join Date: May 2008
Location: Ireland
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Alignment Issues

yep, thanks for your time!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Jul 1st, 2008, 15:09
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: Alignment Issues

Awesome. Glad its sorted.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
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
Vertical alignment issues in browser; Top margins off by 50 px prescription7 Web Page Design 3 Jul 1st, 2008 05:38
Alignment Issues in FF/IE drhoctor Web Page Design 4 Jun 20th, 2008 21:14
Vertical alignment issues in IE6. IE7 Won't center my page! Itsumishi Web Page Design 5 Mar 24th, 2008 22:28
<form> tag in <table> is causing alignment issues - HELP! Love2Java Web Page Design 5 Sep 4th, 2007 16:27
Alignment Issues everlonggg Web Page Design 10 Mar 9th, 2006 22:16


All times are GMT. The time now is 19:14.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8