Help - Search - Members - Calendar
Full Version: CSS issue between firefox and IE
Pixel2Life Forum > Help Section > HTML, XHTML, CSS and General Web Design
Crazi
Ok my page is having problems having the text sit right on the page when it is siting correctly in IE 8 it does not sit the same on fire fox it sits a few pixels down for some reason

CSS

#content_container #titlecontain {

width:330px;
height:24px;
float:right;
clear:both;
margin-top:-300px;
margin-right:102px;

html

<div id="titlecontain">
<h1>See What We Can Do For You</h1>
</div>

another issue i am having is when you zoom into the page the text gets thrown all over the page does anyone know of a fix for this? if you feel like it please msg me on aim @ kl3pto would be greatly appreciated

Marc
Firefox likes to put a little extra padding/margins when dealing with text tags, like <h1> tags or <p> tags. Try adding this to your CSS:

CODE
#content_container #titlecontain h1 {
margin:0;
padding:0;
}


Hope that works for you!

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.