Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
04-25-2006, 10:55 PM #1
- Join Date
- Mar 2006
- Thanked 0 Times in 0 Posts
firefox and ie positioning differences...
If you view the following address in both Firefox and Internet Explorer, it comes across more than apparent that for some reason the two browsers have completely seperate understandings for pixels.
I needed to have this done by end of the month so absolute positioning was called in, and since more than 70% of the prospective clientel will be IE-inclined my project manager decided to send me down a path where my primary concern was IE.
This is fine temporarily, but the designer inside me isn't very happy. What is the best way for me to do this with a proper look in both IE and FF. If you look at the CSS and the HTML you will realize what I am attempting.
Also, I'd like to thank you all for putting up w/ my constant posts and bewildering newbie-ness. Your patience and help have been a great thing to me as this job is an internship and my performance has only been what it has thanks to all who have tried to help me.
ps: i'd greatly appreciate anyone that's willing to basically act as my "css" coach thru msn or googletalk. pm me if you think you'd like to be such a help.. heheheh...reza ryan naghibi
04-26-2006, 01:01 AM #2
- Join Date
- Jan 2006
- Halle (Saale), Germany
- Thanked 1,040 Times in 1,013 Posts
Ouh yeah, that's really much positioning... a nice design, though.
I think this is a pretty simple layout as there is only one column with a header and footer. So structure your content like that too: header, content, footer, and all wrapped by a container. Something like this:
I think the footer isn't even necessary as there are no links on your page right now. And this image that is there can easily be included into the content section.Code:<body> <div id="container> <div id="header"> <h1>Greg Harrison</h1> <h2>Elite Beat Enterprises<h2> <h3>We are the best EVER!</h3> <p>[address and stuff here]</p> <ul> <li><a href="#">link</a></li> <li><a href="#">link</a></li> <li><a href="#">link</a></li> <li><a href="#">link</a></li> </ul> </div> <div id="content"> <p>text here</p> <p>more text</p> </div> <div id="footer">[optional content here]</div> </div> </body>
You can use the headings to add background images (like the logo and the face for example) and you just indent text with text-indent: ??px; to make it move to the left (or right with negative value).
Note that there are default margins on <hn> elements which can be annoying and give you a hard time if you don't know that and wonder why it's different in IE and FF.