Author |
Message |
Kdawg
Senior WebHelper
Joined: 21 Apr 2003
Posts: 153
|
Posted:
Tue Apr 20, 2004 10:47 pm (20 years ago) |
|
Im working on a website and im using css to postion things on the page. The problem im having is when I change the resolution they move and they need to stay aligned to an image in the background. If someone wants to see the layout and what I mean pm me. I dont want to show too many people the layout since the site hasnt launched yet. |
|
|
|
|
Robert Wellock
WebHelper
Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK
|
Posted:
Wed Apr 21, 2004 10:12 am (20 years ago) |
|
Better still, I am too lazy to PM you... So if you PM me I might have a look if you have not solved the issue. |
________________________________ };-) http://www.xhtmlcoder.com/ |
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Wed Apr 21, 2004 3:33 pm (20 years ago) |
|
are you using absolute or relative positioning? If you're using relative (the default), try changing to absolute and position everything according to the left and top of the screen. |
________________________________ It's turtles all the way down... |
|
|
|
Kdawg
Senior WebHelper
Joined: 21 Apr 2003
Posts: 153
|
Posted:
Thu Apr 22, 2004 1:11 am (20 years ago) |
|
adam wrote: | are you using absolute or relative positioning? If you're using relative (the default), try changing to absolute and position everything according to the left and top of the screen. |
Thats what I did, but when you change the resolution the pixels from the sides change and the background image doesnt. |
|
|
|
|
adam
Forum Moderator & Developer
Joined: 26 Jul 2002
Posts: 704
Location: UK
|
Posted:
Thu Apr 22, 2004 7:33 am (20 years ago) |
|
Can you PM me the link to the page? I'll take a look |
________________________________ It's turtles all the way down... |
|
|
|
Kdawg
Senior WebHelper
Joined: 21 Apr 2003
Posts: 153
|
Posted:
Mon Apr 26, 2004 7:28 pm (19 years, 12 months ago) |
|
Everything is good now thanks to adam exept one thing. I can get my main table to center in IE. I set the margins to auto and they dont work. Any ideas? |
|
|
|
|
GXEman
Junior WebHelper
Joined: 07 May 2003
Posts: 27
Location: Athens, GA
|
Posted:
Wed Apr 28, 2004 3:01 am (19 years, 12 months ago) |
|
Out of curiosity what did you do to fix it? |
________________________________ Freshfemi.net
Too Cool For a Dot Com |
|
|
|
Robert Wellock
WebHelper
Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK
|
Posted:
Wed Apr 28, 2004 10:03 am (19 years, 12 months ago) |
|
Well, obviously it won't centre in M$ Explorer if you set the margins to auto since it is a recognized bug in that browser. I haven't seen the code so I am working blindfold. |
________________________________ };-) http://www.xhtmlcoder.com/ |
|
|
|
Kdawg
Senior WebHelper
Joined: 21 Apr 2003
Posts: 153
|
Posted:
Wed Apr 28, 2004 11:59 am (19 years, 12 months ago) |
|
So how do you center in IE? |
|
|
|
|
Robert Wellock
WebHelper
Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK
|
Posted:
Wed Apr 28, 2004 3:08 pm (19 years, 12 months ago) |
|
CSS hacks normally if you aren't using something like <center> or negative margins or converting block to inline. |
________________________________ };-) http://www.xhtmlcoder.com/ |
|
|
|
ScottB
Junior WebHelper
Joined: 04 Jul 2005
Posts: 4
Location: Britain
|
Posted:
Mon Jul 04, 2005 1:46 pm (18 years, 9 months ago) |
|
If you use both margin:auto and text-align:center on an table, margin:auto will center the standard-compliant and text-align will center M$IE, but I guess if you say they conflict, i'm not sure what to suggest. |
|
|
|
|
|
Page generation time: 0.136456 seconds :: 18 queries executed :: All Times are GMT
Powered by
phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme