Reply
IE adds linebreak?
Old 06-09-2008, 05:54 PM IE adds linebreak?
Novice Talker

Posts: 9
my page is located at http://www.equusdev.com/
for some odd reason, IE has taken it upon itself to insert what appears to be a line break inbetween the top heading and the main body... any thoughts or tips?
thenajsays is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-09-2008, 06:36 PM Re: IE adds linebreak?
nyef's Avatar
Ultra Talker

Posts: 267
Name: Lucas
Well first of all your navbar is encased in a table that has 1 row and 1 cell. If you EVER have a table with 1 row and 1 cell in your code, immediately replace it with a div or something because why have a table when there's just one cell? No point, it clutters up your code, makes your page load slower, etc etc

Replace the <table cellpadding="0" cellspacing="0"><tr><td align="right"> with:
Code:
<div style="text-align:right;padding-right:30px;">
And replace the </td><td style="width:30px"></td></tr></table> with:
Code:
</div>
Even better would be to apply that formatting to the "homelinkbar" div id in your css file, and replace the table with nothing.

Do that and then see if IE and Firefox still display differently.
__________________
~nyef
Over 5000 free games!
nyef is online now
Reply With Quote
View Public Profile Visit nyef's homepage!
 
Old 06-10-2008, 11:26 AM Re: IE adds linebreak?
Novice Talker

Posts: 9
i actually had it as a div and i had the same problem in addition to a positioning problem. IE decide it would add space to the right margin
thenajsays is offline
Reply With Quote
View Public Profile
 
Old 06-10-2008, 02:27 PM Re: IE adds linebreak?
angele803's Avatar
Perfectly Imperfect

Posts: 1,588
Name: Stephanie
Location: Oklahoma
I don't have access to IE at the moment, but I was having a similar problem earlier with a page I was working on. Try adding dispaly:block to your header.
angele803 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to IE adds linebreak?
 

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12151 seconds with 12 queries