| | |
tableless css based page displays ok in IE7 not in IE6
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Mar 2009
Posts: 17
Reputation:
Solved Threads: 0
please see http://dreamtech.awardspace.co.uk/ in IE 7 or firefox 3.0.6 - it displays fine. but in IE6, the 2 columns on the page display one below the other. i assume its something to do with the css. can you help me?
the css files are http://dreamtech.awardspace.co.uk/style.css and http://dreamtech.awardspace.co.uk/layout.css
also the page had a line <?xml version="1.0" encoding="utf-8"?> right at the top which i had to remove because it showed the error "Parse error: syntax error, unexpected T_STRING in /home/www/dreamtech.awardspace.co.uk/index.html on line 1" when i hosted it on awardspace. does this have any impact on my problem. if i remove this line, do i have to add some other line to my code to make it proper.
thanks for your time and efforts.
the css files are http://dreamtech.awardspace.co.uk/style.css and http://dreamtech.awardspace.co.uk/layout.css
also the page had a line <?xml version="1.0" encoding="utf-8"?> right at the top which i had to remove because it showed the error "Parse error: syntax error, unexpected T_STRING in /home/www/dreamtech.awardspace.co.uk/index.html on line 1" when i hosted it on awardspace. does this have any impact on my problem. if i remove this line, do i have to add some other line to my code to make it proper.
thanks for your time and efforts.
The xml line is not necessary, and causes errors on some browsers.
Look for styles containing both a size style (width, height) and a nonzero surrounding style (margin,. border, padding). These can make things wider than 100 percent, causing the column to go down.
Look for anything wider than the page.
Check the page for W3C validation.
Look for styles containing both a size style (width, height) and a nonzero surrounding style (margin,. border, padding). These can make things wider than 100 percent, causing the column to go down.
Look for anything wider than the page.
Check the page for W3C validation.
Last edited by MidiMagic; Mar 24th, 2009 at 9:56 pm.
Daylight-saving time uses more gasoline
•
•
Join Date: Mar 2009
Posts: 17
Reputation:
Solved Threads: 0
thank you for your help. the problem was in style.css. i changed the line
#page3 #content .col_1 .indent { padding:0 60px 0 28px;} to #page3 #content .col_1 .indent { padding:0 25px 0 25px;} and it worked fine Last edited by peter_budo; Apr 8th, 2009 at 7:58 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Other Threads in the HTML and CSS Forum
- Previous Thread: keeping text line-height consistancy
- Next Thread: Configer Backup website
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7






