Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   How to fix ths (http://www.greenguysboard.com/board/showthread.php?t=45417)

LD 2008-02-09 04:14 PM

How to fix ths
 
I have a banner which is actually a bunch of smaller images arrahed in a table to produce a big header style banner. Looks good in IE7, but Firefox puts spaces between the images making it all fucked up. Is there an easy fix for this.

Here it is if you want to take a peek:

http://www.lusciousdelights.com/fsfe.../gallery1.html

ladydesigner 2008-02-09 04:58 PM

I took a quick look at your html but didn't see anything right away that needed to be fixed. My suggestion would be since it looks good in IE, why not take a screen shot, cut out the header and use it as a banner and not a table full of images. If you use it as a large banner or header, Firefox will display it as such. Firefox is very sensitive/picky about tables and html errors. Hope that helps.

ladydesigner 2008-02-09 05:04 PM

1 Attachment(s)
Here's an example of what I was talking about.

japamor 2008-02-09 05:09 PM

Very neat!

Toby 2008-02-09 05:10 PM

Change your DOCTYPE definition to this:
Code:



LD 2008-02-09 05:55 PM

Toby and Ladydesigner, both these worked perfectly! You guys are awesome. Toby, should I use that doctype in all my sites?

ladydesigner 2008-02-09 06:07 PM

Quote:

Originally Posted by Toby (Post 388339)
Change your DOCTYPE definition to this:
Code:



I've been using a doctype that looks like this:

Code:


Is my code outdated and not up to standard? Wouldn't surprise me if it was. I'm not too knowledgeable with the doctype statement. I know it has something to do with why type of HTML your site is written in, right? |huh

Toby 2008-02-09 06:28 PM

Quote:

Originally Posted by LusciousDelight (Post 388344)
Toby and Ladydesigner, both these worked perfectly! You guys are awesome. Toby, should I use that doctype in all my sites?

yw :) That is the DOCTYPE I use on all my sites.

Toby 2008-02-09 06:32 PM

Quote:

Originally Posted by ladydesigner (Post 388346)
I've been using a doctype that looks like this:

Code:


Is my code outdated and not up to standard?

Your DOCTYPE is fine, it's just the longer version of the one I use.

DOCTYPE tells the browser which set of rules to follow when rendering the page.


All times are GMT -4. The time now is 10:00 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc