|
#1
|
|||
|
|||
|
Hi, i have created a site that can be viewed at http://www.members.westnet.com.au/grymrr/tickner.
The problem is that in Internet Explorer it displays fine, however in Firefox the tables are all stretched out etc. I am guessing that it has to do with my CSS scripting somewhere. Could someone please take a look at it and tell me what is wrong because i am new to XHTML and have no clue! CSS layout Coding: body, html { margin: 0px; width: 100%; height: 100%; background-image: url(../images/layout/background.gif); background-repeat: repeat; } #contentholder { width: 700px; height: 100%; padding: 0px; background-color: #FFFFFF; } #content { padding-left: 18px; padding-right: 18px; padding-bottom: 18px; padding-top: 5px; vertical-align: top; font-family: verdana; font-size: 11px; color: #89A0C3; background-image: url(../images/layout/content-background.jpg); background-position: right; background-repeat: repeat y; } #footer-left { padding-top: 5px; height: 39px; width: 429px; background-image: url(../images/layout/footer.jpg); background-repeat: no-repeat; background-position: bottom left; } #footer-right { padding-top: 5px; height: 39px; width: 271px; background-image: url(../images/layout/content-background.jpg); background-position: right; background-repeat: repeat y; } .footer-fmlogo { margin-left:10px; margin-right: 15px; margin-top: 7px; float:left; } .footer-cpalogo { margin-right:10px; float:right; } #header { padding: 0px; height: 119px; width: 700px; vertical-alin: top; } #navbar { padding-left: 15px; height: 32px; } If somebody could help me then this would be much appreciated. Thankyou! |
|
#2
|
||||
|
||||
|
Quote:
Paragraph (p) elements have margins in most browsers, but you haven't removed it.Quote:
Quote:
Quote:
One other problem with that page as it stands is that the signature text in the footer overflows when viewed at a reasonable font size, thus it sits in a low contrast region. Trying to fit text within a small, fixed-image bound region is usually a bad idea because it will fail to render properly when exposed to user settings. I've prepared an alternative version that uses mainly plain text, and achieves more-or-less the same layout. It also uses only CSS to produce that layout - not a single table. The images are rough PNG reproductions of the originals: I had to borrow the "Andew Tickner" text as I don't have that typeface. Finally, notice that the layout isn't fixed and can cope with a relatively small viewport size - only the header image imposes a constraint (514px width). Mike |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|