Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



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

Posts: 9
Trades: 0
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
 
 
Register now for full access!
Old 06-09-2008, 07:36 PM Re: IE adds linebreak?
nyef's Avatar
Ultra Talker

Posts: 265
Name: Lucas
Trades: 0
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

Please login or register to view this content. Registration is FREE
nyef is offline
Reply With Quote
View Public Profile Visit nyef's homepage!
 
Old 06-10-2008, 12:26 PM Re: IE adds linebreak?
Novice Talker

Posts: 9
Trades: 0
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, 03:27 PM Re: IE adds linebreak?
angele803's Avatar
Perfectly Imperfect

Posts: 1,774
Name: Stephanie
Location: Oklahoma
Trades: 2
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.
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to IE adds linebreak?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 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.13994 seconds with 12 queries