![]() |
[SOLVED] jpg background image for nav menu not showing up in IE7
Hello,
I have a red box which i used as a background image for my nav menu area. When i view the page with IE7 though, the red box isnt displayed. ive changed it to a .jpg, it was a gif before. Does IE7 not read gifs? It is a jpeg now but still isnt there. Any help would be greatly appreciated! www.bigmamas.com.au |
Why use a jpg when you can set the background with CSS?
HTML Code:
div#pages-2 {background: red; } |
thanks juggledad!
ive got it to mostly work, but is there a way to create the white space between the black border and the red box? Ive been looking around css pages online but havent found the code for it. Many thanks in advance. :) |
the best way to do this is to code your own menu and add an extra <div>. If the site will be static and there won't be many new pages, this will work.
Instead of adding the pages widget, add a text widget with the following HTML Code:
<div id="pages-2" class="widget widget_pages"> HTML Code:
div#pages-2 { |
thanks so much! it worked. will have a look and learn more about css. :)
|
All times are GMT -6. The time now is 12:57 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.