This is a discussion on "Cross-Browser difficulties..." within the Web Page Design section. This forum, and the thread "Cross-Browser difficulties... are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Cross-Browser difficulties...
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
I cant seem to get my coding right for the header section - although I have goggled my problem.
in Firefox it stays left and in IE it reads margins differently. it's most likely to be my dumb coding but help would be appreciated. Here is the page i am having difficulty with: click here and the css for paragraphs and headings......
Dapandyman. (Note: the paragraphs are fine.) |
|
|
|
#2
|
|||
|
|||
|
Re: Cross-Browser difficulties...
Alright i've been looking at your code and i've some suggestions. Firstly, you've made an id (which is unique and can only be used once per page) for paragraphs. You'll probably have more than one paragraph on your page so you should either do one of the following:
1) Make the default paragraph have all your css settings so that you dont have to keep specifying;
|
|
#3
|
|||
|
|||
|
Re: Cross-Browser difficulties...
Alright, in your html, you've specifed that the unordered list has an id of 'navlist' but you have no css for it. You've applied your list settings to the overall container, and in that case, giving your unordered list it's own id is irrelevant.
Actually, now that I look at this, your problem is that your not using divs correctly, and your using em to align everything where you want it on the page, like you've got a paragraph that is 17em from the top of the page, em is relevant to the persons text size, so if they have it set really large, your page will look so messed up. Stop using em to align things, use divs to structure it all the then set things like margins of paragraphs inside a div, to align things properly. Does that help at all ? |
|
#4
|
|||
|
|||
|
Re: Cross-Browser difficulties...
Yeah - thanks a lot, excellent advice
I'm gonna fix everything now Thanks, Dapandyman. |
|
#5
|
|||
|
|||
|
Re: Cross-Browser difficulties...
Your very welcome ! If you still have trouble after fixing it all up, post up again with your new code and i'll have another look !
|
|
#6
|
||||
|
||||
|
Re: Cross-Browser difficulties...
You might find my article about CSS shorthand useful. It's a link at the bottom of the sticky in this forum.
|
|
#7
|
|||
|
|||
|
Re: Cross-Browser difficulties...
i give it a look now
cheers |
![]() |
| Tags |
| browser, cross, css |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cross Browser Problems - Need Help | dramaticr21 | Starting Out | 3 | May 4th, 2008 09:59 |
| cross browser issues | planescape | Web Page Design | 4 | Aug 29th, 2007 21:16 |
| HELP!!! Cross browser issue... | hak | Web Page Design | 7 | Dec 4th, 2006 12:40 |
| New Cross-Browser Low | masonbarge | JavaScript Forum | 2 | May 11th, 2006 17:18 |
| Cross Browser | jwalker80 | Web Page Design | 10 | Dec 22nd, 2005 15:38 |