Still As Life
Quicker than you can say cheese!
Wednesday, 5 December 2007
Template Is Alive
I think I've got the template issues sorted out now. As far as I can see, it works fine in Firefox, Safari, Opera, Internet Explorer 7 and Internet Explorer 6.
I was able to get the majority of it to work fine between the browsers without needing any separate code for Internet Explorer, but in the end there was a width that both versions of IE were reading differently to everything else and I couldn't see any way around it but to use an IF statement. For anyone else that might come across something similar, I used the following:
There are a couple of slight bugs in Internet Explorer still, but nothing major.
The border between the menu and main content is half see through, so you can see the background between the dashes, but this isn't a big thing really.
The other problem is the top part of the menu is displayed vertically when it should be horizontal, but again, this isn't a major problem.
Hopefully I'll sort these out soon, but there are some other things to be done elsewhere first and the layout is completely usable now afterall.
I was able to get the majority of it to work fine between the browsers without needing any separate code for Internet Explorer, but in the end there was a width that both versions of IE were reading differently to everything else and I couldn't see any way around it but to use an IF statement. For anyone else that might come across something similar, I used the following:
<!--[if IE 7]>This effectively checks whether the browser is IE 6 or 7 and then executes the code within the statement if it is one of those two browsers. The code for any other browser is held within the rest of the style sheet where the width is 230px.
<style type="text/css">
div#sideBar{width:250px;}
</style>
<![endif]-->
<!--[if lte IE 6]>
<style type="text/css">
div#sideBar{width:250px;}
</style>
<![endif]-->
There are a couple of slight bugs in Internet Explorer still, but nothing major.
The border between the menu and main content is half see through, so you can see the background between the dashes, but this isn't a big thing really.
The other problem is the top part of the menu is displayed vertically when it should be horizontal, but again, this isn't a major problem.
Hopefully I'll sort these out soon, but there are some other things to be done elsewhere first and the layout is completely usable now afterall.
Labels: code
My Other Sites
Links
Awesome Comics
Cool Tools
Browse By Label
- art
- books
- code
- design
- games
- hardware
- internet
- movies
- music
- other
- politics
- rants
- software
- special interest
- technology
- university
- video clips
- work
Archives

Subscribe to Posts [Atom]