PDA

View Full Version : SlideShow Aligning right in Firefox, no-one on any other forum can fix please help



nauticalsland
02-02-2006, 02:04 AM
my top banner is aligning right only in firefox

http://www.studio7designs.com/


I used this java code http://www.dynamicdrive.com/dynamic...inslideshow.htm

can someone help me out? It works in Opera and IE perfectly


thanks SO much !

ddadmin
02-02-2006, 03:50 AM
Hi:
The problem is due to some invalid/messy HTML inside <div id="header">:


<DIV id=header>
<H1 class=style3><SPAN class=style9><A
href="http://www.studio7designs.com/index.html">STUDIO</A></SPAN><A
href="http://www.studio7designs.com/index.html"><SPAN class=style5>7</SPAN><SPAN
class=style9>DESIGNS</SPAN></A></H1>
<P><STRONG>"I can see you fly. You are an angel with wings, high above the
ground!"</STRONG><BR>(traditional haiku poem)</P>

</DIV>

Some of the tags above are nested improperly, causing Firefox to freak out and mess up anything below this DIV, including the alignment of the image slideshow. In fact, you can enter any random text in place of the slideshow, and it will be aligned incorrectly in Firefox due to the problem above.

To fix the problem, first, remove all the code inside the div, so it looks like:


<DIV id=header>
</DIV>

Then confirm that that fixes the alignment issue. Then slowly add back the desired code for the header div, making sure the HTML is clean and valid.

nauticalsland
02-02-2006, 04:13 AM
Thank you sooo much for your email, and for your help..

I just started to learn proper html and CSS so this is helping me a ton


thanks again

Aran