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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Need Help resolving IE/Mozilla text in layers issue
Old 10-17-2006, 09:05 PM Need Help resolving IE/Mozilla text in layers issue
Junior Talker

Posts: 3
Name: stephen v2
Trades: 0
I'm developing a site for a client that requires the use of text layers on top of Imageready Rollover so I have to figure out a way to make this work.

You can see the page-in-progress here. Password protection is just for search engine/casual searchers...

http://64.91.225.230/aboutbep.html

user brighteye
password brett4845

The text is an div layer with absolute position set. IE renders it in the "correct" position (i.e. same position as in Dreamweaver) and Firefox drops it down 5-10 pixels. Also hold true for IE 5 and Netscape 7, so it's a basic browser issue.

Text renders in the same position in IE & Mozilla if the <p> tags or similar is removed.

Hopefully a code fix will solve it as for other reasons, the design needs to hold as is. Any insight/help appreciated.
stephenv2 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-18-2006, 03:06 PM Re: Need Help resolving IE/Mozilla text in layers issue
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
1st clue, IE gets it WRONG ! Firefox, which is eons more standards compliant, is rendering it CORRECTLY.

Try adding this to your CSS:
#TextBox p{
padding: 0;
margin: 0;
}

Leave the <p>'s in. For heaven's sake ( and for search engines! ) use PROPER heading, ie. H1 tag and format your paragraphs properly, ie. do NOT use all those needless <br> tags. If you need to space paragraphs, use the CSS ,that's what it's there for !!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-18-2006, 03:31 PM Re: Need Help resolving IE/Mozilla text in layers issue
Junior Talker

Posts: 3
Name: stephen v2
Trades: 0
Quote:
Originally Posted by LadynRed View Post
1st clue, IE gets it WRONG ! Firefox, which is eons more standards compliant, is rendering it CORRECTLY.
I well aware of the standards issue but I use Dreamweaver for layout and Firefox does not render what Dreamweaver sees on any of my machines (for this issue), so that's what I'm referring to as "wrong".

Quote:
Try adding this to your CSS:
#TextBox p{
padding: 0;
margin: 0;
}
That worked! Thanks so much. I had tried padding without the "p{" without sucess. What function does that server?

Quote:
Leave the <p>'s in. For heaven's sake ( and for search engines! ) use PROPER heading, ie. H1 tag and format your paragraphs properly, ie. do NOT use all those needless <br> tags. If you need to space paragraphs, use the CSS ,that's what it's there for !!
This is just rough test with cut and paste text where I was trying to figure out which tags broke it. I did not submit it here for XHTML validation

The reason I'm going through this whole exercise (rather than using graphic text/flash etc.) is precisely for search engine text with H1 tags etc.

This is a very odd site because of how the client wants it to look and function, but thanks again for your help.
stephenv2 is offline
Reply With Quote
View Public Profile
 
Old 10-19-2006, 11:15 AM Re: Need Help resolving IE/Mozilla text in layers issue
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Dreamweaver's INTERNAL 'preview' is still stuck at IE 5.5 !!! You simply cannot expect what you see in DW's window to be exactly the same as what the ACTUAL browsers will show you, not even IE6, or now, IE 7.

Quote:
That worked! Thanks so much. I had tried padding without the "p{" without sucess. What function does that server?
It goes to specificity. What I did told it to change the padding on paragraphs for ONLY the paragraphs inside the div #TextBox.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 10-19-2006, 11:33 AM Re: Need Help resolving IE/Mozilla text in layers issue
Junior Talker

Posts: 3
Name: stephen v2
Trades: 0
Quote:
Originally Posted by LadynRed View Post
It goes to specificity. What I did told it to change the padding on paragraphs for ONLY the paragraphs inside the div #TextBox.
I see that now - I tried this this with other tags (H1 etc) and it works great. Thanks again for you help.
stephenv2 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need Help resolving IE/Mozilla text in layers issue
 

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