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.
|
|
|
|
|
![]() |
||
[SOLVED] Alignment Issues
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[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. |
|
#2
|
|||
|
|||
|
Re: Alignment Issues
The HR tag is depreciated. Use css. Something like
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. |
|
#3
|
|||
|
|||
|
Re: Alignment Issues
Thanks for the input. I tried;
Last edited by CloudedVision; Jul 1st, 2008 at 15:23. Reason: Code and HTML tags, please |
|
#4
|
|||
|
|||
|
Re: Alignment Issues
try .line {height:1px; border-bottom:1px solid #9E9E9E;}
<div class="line"> </div>
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#5
|
|||
|
|||
|
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 |
|
#6
|
|||
|
|||
|
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)
|
|
#7
|
|||
|
|||
|
Re: Alignment Issues
Perfect, thanks for that
|
|
#8
|
|||
|
|||
|
Re: Alignment Issues
hehe so that mean it works now?
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#9
|
|||
|
|||
|
Re: Alignment Issues
yep, thanks for your time!
|
|
#10
|
|||
|
|||
|
Re: Alignment Issues
Awesome. Glad its sorted.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Thread Tools | |
|
|
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 |