This is a discussion on "positioning problem PLEASE help" within the Web Page Design section. This forum, and the thread "positioning problem PLEASE help are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
positioning problem PLEASE help
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
positioning problem PLEASE help
Hi all,
really need help. have left my brain somewhere and cant get a position of a menu right. Im using external CSS to achieve my goals, no tables. I have a main div box that all content is going in. In the top right hand side of this a want my basic menu. I want the menu right over to the right, and about 10px down from the top. the problem is, mozilla is positioning fine, but IE (my version 6) is sticking it to the very top. here is CSS: #navigation { float:right; width:100%; height:20px; border-top:10px; } any ideas whats wrong. i was thinking of creating a seperate style sheet fro IE browsers ie: <!--[ifIE]><link rel="blar blar blar"/><![endif]--> then in my ie.css style sheet having this: #navigation { border-top; 15px; } this does drop it down to the same in each, but im sure i shouldnt have to do this. Ive done it another way but cant remember. any help Geoffb |
|
|
|
||||
|
Re: positioning problem PLEASE help
it's a lot easier if you give us an url to look at but anyway...
if you haven't defined a top margin for your div, DO. try: margin:10px 0px 0px 0px; also, remember that in IE, border/padding are not part of the box whilst it firefox they are
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: positioning problem PLEASE help
thanks, cant give URL as not web bound yet, only viewing on computer.
have tried to set border: 0px; and padding:0px; but in firefox it still drops it down more than IE, should i stick to what i have now which is a seperate positioning css style for IE browsers. this way i can leave firefox where it is and drop IE down to match it, it looks fine like that. geoffb |
|
|||
|
Re: positioning problem PLEASE help
Really need to see the rest of the css and your html so we can make a judgement as to what might be influencing what. As a standard opening bit of css, always start with;
|
|
||||
|
Re: positioning problem PLEASE help
While this will solve the problem, it may have adverse effects on the rest of the page:
I do agree that we need to see the page in action though. |
![]() |
| Tags |
| positioning, problem, help |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] DIV Positioning Problem | winnard2007 | Web Page Design | 6 | Jan 23rd, 2008 09:22 |
| relative Positioning Problem | Dunce | Web Page Design | 6 | Jun 8th, 2007 10:54 |
| Problem with image positioning | Marc | Web Page Design | 1 | May 31st, 2007 18:17 |
| Positioning problem - help please | Rod_G | Web Page Design | 8 | Apr 24th, 2006 12:03 |
| CSS Positioning Problem - Mac IE 5.2 | clearchannel | Web Page Design | 0 | Mar 31st, 2006 10:03 |