New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Problem with IE positioning, help please


Post Reply New Thread Subscribe

 
Thread Tools
mtnman2888

 
Member Since: Jun 17, 2007
Posts: 37
mtnman2888 is on a distinguished road

mtnman2888 is offline
I'm having problems with the positioning of my site in Internet Explorer and was wondering if anyone here knew of a solution? It works fine in all other browsers (Safari, Opera, Firefox), but in IE the picture is shoved up above my title banner, covering it up. I don't really know what to do as i can't add any margins or padding to make it work in IE since it will mess it up in other browsers. I would really appreciate your help, thanks.

By the way, here are a couple links so you know what i'm talking about.

http://www.backpackingangler.com/FOTM-main.html

http://www.backpackingangler.com/Home.html
QUOTE Thanks
Thyamine

 
Thyamine's Avatar
 
Member Since: Apr 23, 2007
Location: Coatesville, PA
Posts: 377
Thyamine will become famous soon enough
Mac Specs: MBP 15", 2.33 GHz, 2Gb

Thyamine is offline
It looks like your top section (in one of the DIV) is not growing with your image. I can see the beveled edges are only maybe 25px tall, and didn't grow to match the image size which is sliding into the main area. Set the height attribute of the banner/logo at the top of the page to match whatever the image needs.
QUOTE Thanks
mtnman2888

 
Member Since: Jun 17, 2007
Posts: 37
mtnman2888 is on a distinguished road

mtnman2888 is offline
Ok i will try that when i get home and let you know. Thanks very much for the advice.
QUOTE Thanks
mtnman2888

 
Member Since: Jun 17, 2007
Posts: 37
mtnman2888 is on a distinguished road

mtnman2888 is offline
Ok i set the height for both of the divs that come above that picture and it's still messed up in IE. Don't know why it's working fine on all other browsers........

I really have no clue what to do.
QUOTE Thanks
imnothardcore

 
Member Since: Apr 08, 2008
Posts: 420
imnothardcore is an unknown at this point
Mac Specs: macbook core 2 duo 2.1ghz 4gb memory and 8GB iPhone 3G

imnothardcore is offline
try adding

auto 0;

with your other margins in wrapper. and maybe position: relative;

ie seems to not follow what everyone else does.

im working on a website for a friend, i know it opens fine in css. if you want to check it out its at geocities.com/jrutis for now.

i just learned css and im still working through it, but i hope that can help you a little bit.
QUOTE Thanks
mtnman2888

 
Member Since: Jun 17, 2007
Posts: 37
mtnman2888 is on a distinguished road

mtnman2888 is offline
Ok i got it thanks for all the help, IE is a pain in the butt.
QUOTE Thanks
tadej

 
Member Since: Sep 08, 2008
Posts: 3
tadej is on a distinguished road

tadej is offline
There is a trick for example in php:
<link href="something.css" type="text/css" rel="stylesheet" />
<!--[if lte IE]<link href="something_ie.css" type="text/css" rel="stylesheet" />[endif]-->

It means you can prepare 2 css files: one for IE and the other for others.
But be careful if you'll put the IE css before others then there will be no diff. it has to be written on the second place.
QUOTE Thanks
imnothardcore

 
Member Since: Apr 08, 2008
Posts: 420
imnothardcore is an unknown at this point
Mac Specs: macbook core 2 duo 2.1ghz 4gb memory and 8GB iPhone 3G

imnothardcore is offline
not a bad idea but i do not think this is necessary. I think firefox and others ignore the special ie commands cause they dont know what to do with it

and ie ignores the firefox and others since it does not know what to do with that code.

correct me if im wrong, this is just the general jist ive learned from the bit of css i have been doing lately.
QUOTE Thanks
tadej

 
Member Since: Sep 08, 2008
Posts: 3
tadej is on a distinguished road

tadej is offline
If you write like this
<!--[if lte IE]<link href="something_ie.css" type="text/css" rel="stylesheet" />[endif]-->
<link href="something.css" type="text/css" rel="stylesheet" />

The IE will work wrong
For IE is the same as you type just
<link href="something.css" type="text/css" rel="stylesheet" />

That's why the order is important.

You can also use this in some parts of html code that IE is having problems, for example usually the problem is DIV or TABLE
QUOTE Thanks
tadej

 
Member Since: Sep 08, 2008
Posts: 3
tadej is on a distinguished road

tadej is offline
I'm also not keen on IE, but in my country is most common browser
QUOTE Thanks

Post Reply New Thread Subscribe


« Need Help Text on my site keeps "Jumping" | What program for my store's website? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problem With Keyboard...... mmcltd OS X - Operating System 4 02-02-2010 06:47 PM
Microsoft Messenger Problem millenium_spike OS X - Apps and Games 4 09-16-2008 01:11 AM
Problem Darwin Server + VLC nanaki Web Design and Hosting 0 03-13-2008 07:27 AM
closed captioning problem on eyetv pumpkinwhite OS X - Apps and Games 1 09-06-2006 08:38 PM
G3 Hard Drive problem joe mama Apple Desktops 1 02-18-2004 01:22 PM

All times are GMT -4. The time now is 03:50 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?