View Full Version : CSS rendering issue
monica368838
11-30-2009, 07:50 PM
Hi, I created a DW template using CSS Sculptor but I'm having a CSS rendering problem... something is making the #header be pushed down (about 15 pixels) down the page making the logo not be aligned with the background. You can see the page here (no links are active yet): http://www.apokrisis.com/client-projects/cmp/index.html
This seems to happen on every browser/system.
Thanks for your help!
Monica
Jason Byrnes
12-01-2009, 09:30 AM
hmmm, perhaps you have found the cause of the issue?
When I visit you page at the link above, it appears to show the logo in the correct place.
monica368838
12-01-2009, 09:59 AM
Hi,
Thanks for your reply. Can I ask what browsers you checked? On the Mac seems like Firefox and Safari are Ok. Opera still gives me the problem. Chrome and Safari on Windows has the problem too.
neilo
12-01-2009, 12:06 PM
It happens slightly in Safari on Windows (OK if you refresh the page), but OK in IE8 and Firefox.
To get rid of the problem altogether, (and to make it also display correctly in Dreamweaver's 'design view') you need to remove the line:
<!-- InstanceBegin template="/Templates/main-template.dwt" codeOutsideHTMLIsLocked="false" -->
From between the HEAD and BODY tags, and put it (where it should have been placed when you created the page from template) inside the HEAD tags - right after the <html> opening tag - i.e.:
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/gallery.dwt.php" codeOutsideHTMLIsLocked="false" -->
If it's just this one page, open it in NotePad (or other plain-text editor) and cut and paste the line to the right place.
monica368838
12-01-2009, 08:24 PM
Thanks for your help. I tried what you suggested but didn't seem to work. I even re-built the page without making it a template and the error is still there.. ?
See: http://www.apokrisis.com/client-projects/cmp2/index.html
The other question is, why does it work when you reload the page?
Again... I really appreciate your support!!
monica368838
12-01-2009, 10:42 PM
I finally figured it out! The "AddThis" button is what was causing the problem... I wonder why?
Anyway...
Thanks again for your help.
neilo
12-01-2009, 10:53 PM
Hiya Monica,
Testing the redone page from here on Safari, IE8 and Firefox (all on windows vista), - all are displaying as they should (without need for refresh).
Checking your site through Adobe's Browser Lab, all browser/platform combinations show the page displaying correctly except for IE6 (no big surprise) which shows the main content area dropped below the level of the left-hand column.
The IE6 glitch should have been addressed by the menu_ie.css linked to from the page, but IE6 remains a mystery to me.
Are you seeing a problem anywhere now?
neilo
12-01-2009, 10:53 PM
Sorry - missed the last post!
Glad you got it sorted.
monica368838
12-02-2009, 09:52 AM
Yes, for some reason the "AddThis" script was causing the issue. Thanks for the tip on Adobe Browser Lab!!
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.