Rules      FAQ       Register        Login
It is currently March 29th, 2024, 7:57 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: IE and Firefox Spacing Differences
PostPosted: September 17th, 2006, 7:06 pm 
Istari
Istari
User avatar

Joined: 28 June 2005
Posts: 2310
Location: USA

Offline
Gahh, this is so frustrating. :( Anyway, here's my problem...

This is the code I used:
Code:
<h1>Navigation</h1><br><h2>General</h2><br>-<a>Home


Internet Explorer:
Image

Mozilla Firefox: (Annoying big space...)
Image

And when I use this...
Code:
<h1>Navigation</h1></td></tr><tr><td><h2>General</h2></td></tr><tr><td>-<a>Home


Internet Explorer:
Image

Mozilla Firefox:
Image

I was wondering if there was anything I could do. :/ Thanks in advance!

_________________
<center>
<a href="http://raindrops.lemon-drop.net/">Between the Rain Drops</a>
[ + @ # ? : ]


Top
 Profile       WWW            
 
 Post subject:
PostPosted: September 18th, 2006, 1:36 am 
Custom Rank
Custom Rank
User avatar

Joined: 09 July 2005
Posts: 9460
Location: in the temple of love

Offline
I usually rename h1 and h2 code into s1 and s2. Random, but it does help.

_________________
<center>[font=Times New Roman]<img src="http://tinyurl.com/63ongu"><br><br>From sorrow & pain I find my strength ... the more pain I feel, the more I see /// July the 4th 2008, first day of my life...<br><br>I met Eru on September 5th 2006 ♥ (and April 15th 2008!)<br><br>Censorship Causes Blindness</center>[/font]


Top
 Profile       WWW            
 
 Post subject:
PostPosted: September 18th, 2006, 5:21 pm 
Rider of Rohan
Rider of Rohan
User avatar

Joined: 10 December 2005
Posts: 134

Offline
Does it work if you just take the break out?
Code:
<h1>Navigation</h1><br><h2>General</h2><br>-<a>Home



s1 and s2 aren't valid HTML, as far as I can tell.

_________________
<img src="http://thulcandra.com/randombanner/banner.php" title="Banner by Arwen">
I can help with HTML/CSS/JavaScript/PHP/ASP. I can't do graphics or layouts.
Post in Site Help, I'll see it. Or PM me.


Top
 Profile                  
 
 Post subject:
PostPosted: September 19th, 2006, 8:54 am 
Custom Rank
Custom Rank
User avatar

Joined: 09 July 2005
Posts: 9460
Location: in the temple of love

Offline
They arent, but they work for me... o.0

_________________
<center>[font=Times New Roman]<img src="http://tinyurl.com/63ongu"><br><br>From sorrow & pain I find my strength ... the more pain I feel, the more I see /// July the 4th 2008, first day of my life...<br><br>I met Eru on September 5th 2006 ♥ (and April 15th 2008!)<br><br>Censorship Causes Blindness</center>[/font]


Top
 Profile       WWW            
 
 Post subject:
PostPosted: September 22nd, 2006, 4:55 pm 
Istari
Istari
User avatar

Joined: 28 June 2005
Posts: 2310
Location: USA

Offline
The Grey Pilgrim wrote:
Does it work if you just take the break out?
Code:
<h1>Navigation</h1><br><h2>General</h2><br>-<a>Home



s1 and s2 aren't valid HTML, as far as I can tell.


Hmm, I tried that, but it ends up having the big space on both browsers. :/

_________________
<center>
<a href="http://raindrops.lemon-drop.net/">Between the Rain Drops</a>
[ + @ # ? : ]


Top
 Profile       WWW            
 
 Post subject:
PostPosted: September 23rd, 2006, 12:43 am 
Rider of Rohan
Rider of Rohan
User avatar

Joined: 10 December 2005
Posts: 134

Offline
oops, I didn't actually take the break out... :blush:

what if you use font tags instead of h1 and h2 ?

_________________
<img src="http://thulcandra.com/randombanner/banner.php" title="Banner by Arwen">
I can help with HTML/CSS/JavaScript/PHP/ASP. I can't do graphics or layouts.
Post in Site Help, I'll see it. Or PM me.


Top
 Profile                  
 
 Post subject:
PostPosted: September 24th, 2006, 9:24 am 
Istari
Istari
User avatar

Joined: 28 June 2005
Posts: 2310
Location: USA

Offline
Well, if I do that, will I still be able to have the image as a background? Like, instead of just plain text, I have a background as well. :/

Thanks for helping, btw! :D

_________________
<center>
<a href="http://raindrops.lemon-drop.net/">Between the Rain Drops</a>
[ + @ # ? : ]


Top
 Profile       WWW            
 
 Post subject:
PostPosted: September 24th, 2006, 11:18 pm 
Rider of Rohan
Rider of Rohan
User avatar

Joined: 10 December 2005
Posts: 134

Offline
I'm not sure.

The table method might work better if you use "cellspacing=0" in the table tag.

_________________
<img src="http://thulcandra.com/randombanner/banner.php" title="Banner by Arwen">
I can help with HTML/CSS/JavaScript/PHP/ASP. I can't do graphics or layouts.
Post in Site Help, I'll see it. Or PM me.


Top
 Profile                  
 
 Post subject:
PostPosted: January 7th, 2007, 11:54 pm 
Movie Extra
Movie Extra
User avatar

Joined: 09 August 2006
Posts: 18
Location: Mirkwood

Offline
The Grey Pilgrim wrote:
Does it work if you just take the break out?
Code:
<h1>Navigation</h1><br><h2>General</h2><br>-<a>Home



s1 and s2 aren't valid HTML, as far as I can tell.


I think I know what your problem is. First
Code:
<br>
should have a slash. This stupid code displayer isn't allowing me to show you, but it's basically like this-
Code:
&gt;br /&lt;
Make sure there is space between the br and the slash. Secondly, whenever you have
Code:
<h1>whatever</h1>
An invisible line break is understood whenever you use the
Code:
<h1>, <h2>, <h3> tags


So first try taking out the breaks and see what happens. If you want that extra space, try using the correct line break code as displayed.

_________________
A Wedding? I love Weddings! Drinks all around!


Top
 Profile       WWW     YIM        
 
 Post subject:
PostPosted: January 8th, 2007, 4:29 pm 
Rider of Rohan
Rider of Rohan
User avatar

Joined: 10 December 2005
Posts: 134

Offline
It depends on which spec she's following.
If she's using XHTML, then you're right, unclosed tags (like BR) need an ending slash. The compatibility guidelines recommend a space before the slash, btw.

But the site linked in her sig looks like it's written as HTML 4.1, which doesn't require the slash (in fact you might have problems with it if you don't put a space in front of it).

_________________
<img src="http://thulcandra.com/randombanner/banner.php" title="Banner by Arwen">
I can help with HTML/CSS/JavaScript/PHP/ASP. I can't do graphics or layouts.
Post in Site Help, I'll see it. Or PM me.


Top
 Profile                  
 
 Post subject:
PostPosted: January 8th, 2007, 7:02 pm 
Movie Extra
Movie Extra
User avatar

Joined: 09 August 2006
Posts: 18
Location: Mirkwood

Offline
The Grey Pilgrim wrote:
The compatibility guidelines recommend a space before the slash, btw.


Aleera Vladimir wrote:
Make sure there is space between the br and the slash.


I did say it needed a space before the slash BTW.

If she is using HTML, she might as well use XHTML, I can almost guarantee it'll solve her problem. Plus the deprecates for XHTML are very little and easy to convert (or remove for that matter).

I just offered that she try it, worth a shot. If it works I recommend she use XHTML.

_________________
A Wedding? I love Weddings! Drinks all around!


Top
 Profile       WWW     YIM        
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  




Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Boyz theme by Zarron Media 2003