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
IE and FF Heading lining up problem
Old 05-22-2009, 11:36 AM IE and FF Heading lining up problem
fog
fog's Avatar
Experienced Talker

Posts: 47
Location: Florida
Trades: 0
I am re-doing a site in CSS instead of tables (I have posted this site before). So far, so good except...The first headline on the page is not in the same position in IE as in FF. The text in question is "Welcome to real change"

Does anyone have any suggestions on how to make the line appear the same in both browsers.

The page is: http://www.ontraxweb.com/test/index.php

Note that I do not have the links or the form active on this page.

Thanks.
fog is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-22-2009, 11:40 AM Re: IE and FF Heading lining up problem
angele803's Avatar
Perfectly Imperfect

Posts: 1,774
Name: Stephanie
Location: Oklahoma
Trades: 2
Firefox is adding on a default margin amount to the top and bottom of the H1. Add a margin value to the H1 in your css and it should line up the same in both browsers.
__________________

Please login or register to view this content. Registration is FREE
angele803 is offline
Reply With Quote
View Public Profile
 
Old 05-22-2009, 11:45 AM Re: IE and FF Heading lining up problem
fog
fog's Avatar
Experienced Talker

Posts: 47
Location: Florida
Trades: 0
Thank you, what a quick easy fix. Much appreciated.
fog is offline
Reply With Quote
View Public Profile
 
Old 05-22-2009, 04:50 PM Re: IE and FF Heading lining up problem
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Get in the habit of zeroing out margins and padding on all your main elements at the very top of your CSS file and you won't have to deal with this again.
__________________
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 05-27-2009, 04:11 PM Re: IE and FF Heading lining up problem
Junior Talker

Posts: 2
Name: Justin
Trades: 0
I am having an issue with the css for my clients site in IE it lines up smooth but in Firefox it has this annoying 1 px alignment off and it's only on this one section, now i have zeroed out the padding and etc, but still it persists. any chance one of you could help this young aspiring web designer.

here's the css

.header
{
width:762px;
height:95px;
background-image: url(images/header.gif);
background-repeat: no-repeat;
color: black;
text-align: center;
padding:0px;
border-spacing:0px;
margin:0px;
}

.logo
{
width:258px;
height:600px;
background-image: url(images/stripes.gif);
padding:0px;
border-spacing:0px;
vertical-align:top;
text-align:left;
}

.buttons
{
padding:0px;
width: 762px;
height: 19px;
background-color: #46166b;
border-spacing:0px;
border:none;
vertical-align: top;




}

.content
{
padding:0px;
width: 762px;
height: 486px;
background-image: url(images/content.gif);
text-align:center;
color: black;
padding:0px;
border-spacing:0px;
vertical-align: top;
}

.footer
{
width: 1020px;
height: 137px;
margin-left: auto;
margin-right: auto;
background-image: url(images/footer.gif);
background-repeat: repeat;
text-align: left;
padding:0px;
border-spacing:0px;
color: black;
}

thank you
Irish024 is offline
Reply With Quote
View Public Profile
 
Old 05-27-2009, 04:13 PM Re: IE and FF Heading lining up problem
Junior Talker

Posts: 2
Name: Justin
Trades: 0
almost forgot here is my drop button div's

.main0outerTABLE
{
border-spacing:0px;
border-style: none;
border-collapse: collapse;
}
.main0outerTD
{
padding:0px;
border-style: none;
border-collapse: collapse;
}
.main0innerDIV0
{
text-align:center;
vertical-align:middle;
background-color:#46166b;
border-collapse: collapse
}
.main0innerDIV0:hover
{
text-align:center;
vertical-align: middle;
background-color:#46166b;
border-collapse: collapse
}
.main0innerDIV_current0
{
text-align:center;
vertical-align: middle;
background-color:#46166b;
border-collapse: collapse

}
.main0A0
{
font-family:arial;
font-size:12px;
font-weight:bold;
color: white;
text-decoration:none;
text-align:right;
vertical-align:middle;
margin-left:4px;
margin-right:4px;
}
.main0A0:hover
{
font-family:arial;
font-size:12px;
font-weight:bold;
color: #a7c178;
text-decoration:none;
text-align:right;
vertical-align:middle;
margin-left:4px;
margin-right:4px;
}
.main0A_current0
{
font-family:arial;
font-size:12px;
font-weight:bold;
color: white;
text-decoration:none;
text-align:right;
vertical-align:middle;
margin-left:4px;
margin-right:4px;
}


.main0innerDIV1
{
text-align:center;
vertical-align:middle;
background-color:#df7a1c;
}
.main0innerDIV1:hover
{
text-align:center;
vertical-align: middle;
background-color:#df7a1c;
}
.main0innerDIV_current1
{
text-align:center;
vertical-align: middle;
background-color:#df7a1c;

}
.main0A1
{
font-family:arial;
font-size:12px;
font-weight:bold;
color: white;
text-decoration:none;
text-align:center;
vertical-align:middle;
margin-left:4px;
margin-right:4px;
}
.main0A1:hover
{
font-family:arial;
font-size:12px;
font-weight:bold;
color: #a7c178;
text-decoration:none;
text-align:center;
vertical-align:middle;
margin-left:4px;
margin-right:4px;
}
.main0A_current1
{
font-family:arial;
font-size:12px;
font-weight:bold;
color: white;
text-decoration:none;
text-align:center;
vertical-align:middle;
margin-left:4px;
margin-right:4px;
}
Irish024 is offline
Reply With Quote
View Public Profile
 
Old 05-27-2009, 09:54 PM Re: IE and FF Heading lining up problem
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Have you got a URL where we can actually see it ?
__________________
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
 
Reply     « Reply to IE and FF Heading lining up problem
 

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